Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Synchronize data between two database with the same structure

$
0
0

I need to move data from one database to another with the same structure, the problem is that both database are in use, both databases are in different places and both can insert different registers simultaneously.

Eg .: in DB1 register a bill from client1 and DB2 register a bill of client2 and in DB2 we need the bill of client1 and client2.

The problem we have is given by the ID, because inserting without the ID in table facturas_venta to avoid ID error later can not insert the detail in table facturas_venta_detalle because we don't have the ID of facturas_venta.

Is there any easy way to pass data from DB1 to DB2 without having to create an ETL for each tables?

I'm looking for a more practical way to pass data that have to put together an ETL for each table to insert without the ID and then in each related table resolve the new ID to insert the data


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>