Synch two SQL databases

  • 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

  • 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, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • 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

  • 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;-)

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply