I am using SQL Server 2008 R2. I want to synchronize data between two databases. The primary database is where all insert, update and delete operations take place & it is kept on a different server on the network. The other database is that reflects the state of primary database at the time of synchronization.
I want this activity to be done automatically. When any record inserted, deleted or updated in the primary database, then it should reflect in the other database at the same time.
Should I use custom scripting or is there a tool that can take care of the process ?
Your best bet is to use Transactional Replication.
As best practice, the performance will depend on
If the database is too big, then you can initialize it from backup.
Also, refer to Transactional Replication Concerns.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With