How to work with mixed databases?

You had the following situation: you need to store information, but part of this information is well modeled using one type of database (in a very loose sense), and the other part is well modeled with another type. Examples:

  • a set of files and additional information about each of them stored in a relational SQL database.
  • OODB with a triplester.
  • two previously completely unrelated key / value data stores that should be integrated but separated.

What do you think is the best way to deal with this situation? keep separation of the two data types and write a software layer that synchronizes them? use only one type of database, adapting one type of data to another (for example, saving a file in relational db as blob or saving the relational part in a hacked file database on disk)?

+3
source share
3 answers

This issue is known as federated database systems. I would recommend reading an article on federated databases on wikipedia .

, , " ", , " ".

+1

, "" (, ..). , - . . / .

+1

, Virtual Database Engines ( Federated DBMS Engines).

, - , , : dbms- ( ERP, CRM, HR, ), -, XML ..

Virtuoso ( ) , / , ( ). EAV/CR (, RDF Graph Model) , , . HTTP; , , HTTP, , .

, , : HTTP.

:

Kingsley

+1
source

Source: https://habr.com/ru/post/1716221/


All Articles