Many database libraries are installed for multiple database connections, but I never knew about a scripting application that needed to connect to two databases at the time of its launch. (compiled, working with a daemon languages is another matter).
I understand that you have subordinate databases, so you can distribute the load, but usually only one of them is selected at startup to deal with these scenarios.
So why should a PHP or Ruby application connect to multiple databases? Or rather, why did you split the data among several databases?
The only thing I can think of is a poor design from a slowly developing system that started in several separate parts.
Are you talking about different physical database servers or different databases in the sense of "schema"?
As for physical servers, if you use MySQL replication, you can write to the master and always read from the slave. This helps to share the load between each database.
The simple answer is scalability.
" ". ORM , .
, . , ad-hoc, , . , ( ) , .
- . , . Whislt, , , .
, - . - , MySQL 32- 3Gb 8- 64- 8 . , , . 50 , .
, , , The Wrong Database. PeopleSoft (Oracle). , Enterprise CRM Informix. - , MS SQL Server. , , (, ).
, . ( , : MySQL- > MySQL.) , , , , Framework .
, . - (CMS DB) -, ( , CMS). .
. , . .
Ruby, . ( ). , ( ). , ( ). , , .
, - . , ( ) (). script - , , .
. , , . , , .
, , .
: ( SELECT) ( SELECT, UPDATE, INSERT, DELETE , ). , .
. , . , . , ( ), , , . , , , , .
, , , . , , , 10 000 000 . , , , , , .
, , . ( ).
COTS ( , , HR, ). - . , , .
differnt.
Source: https://habr.com/ru/post/1752171/More articles:Получить выделенный тег HTML Tag в JavaScript - javascriptUsing Microsoft Dynamics CRM as an error tracking software? - testingThe default syntax error for sql server is sql-server-2005Is it possible to execute this Flash tool using JavaScript (jQuery) / HTML5 / CSS3? - javascriptUsing a session with php and Java - javaDoes Rails Routes redirect controller action to root? - ruby | fooobar.comAndroid: Отдельные намерения для электронной почты и SMS - androidСезам SeRQL не предоставляет вариант обновления/вставки? - ontologyhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1752175/how-to-check-whether-a-repository-exist-or-not&usg=ALkJrhiw7r-YQmmrRVLs-QnprUC3LSh-Twmvn install ignores hibernate mapping files - javaAll Articles