Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Synch two SQL databases Expand / Collapse
Author
Message
Posted Monday, January 21, 2013 9:59 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, September 09, 2013 1:27 AM
Points: 1, Visits: 9
Env: SQL Server 2008 R2

We have two SQL Databases used by two different applications. We need to synchronize some of data between these databases. Both the databases are in Read/Write mode and database structure may be different at source and destination. Records should be synchronized as soon as any DML statement is fired on any of the database. What are the tools/techniques available to achieve this.

Thank
Post #1409777
Posted Monday, January 21, 2013 10:50 PM


SSC-Insane

SSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-InsaneSSC-Insane

Group: General Forum Members
Last Login: Today @ 8:49 PM
Points: 20,462, Visits: 14,092
Here are a couple options:
Change Data Capture
Service Broker

You can also use replication if you configure it very carefully.




Jason AKA CirqueDeSQLeil
I have given a name to my pain...
MCM SQL Server


SQL RNNR

Posting Performance Based Questions - Gail Shaw
Posting Data Etiquette - Jeff Moden
Hidden RBAR - Jeff Moden
VLFs and the Tran Log - Kimberly Tripp
Post #1409785
Posted Tuesday, January 22, 2013 3:24 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Thursday, October 31, 2013 5:45 PM
Points: 127, Visits: 306
Merge replication can be one of the option . But you have to manage conflict if any occur proactively.
You can Read details about Merge replication online http://msdn.microsoft.com/en-us/library/ms151329(v=sql.105).aspx

Regards
Dhananjay
Post #1409891
Posted Tuesday, January 22, 2013 3:31 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Friday, March 14, 2014 2:19 AM
Points: 2,820, Visits: 3,916
vijay.garg 37998 (1/21/2013)
Both the databases are in Read/Write mode and database structure may be different at source and destination. Records should be synchronized as soon as any DML statement is fired on any of the database.
first and MUST thing is your database schema should be same on both sides. additonally IO contention will be high when you sync the data to and fro.


-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done
Post #1409895
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse