Peer to Peer Transactional Replication

  • I need some adivce on replication. I have 4 servers that have the same database on them. I would like to replicate a few tables on each of the server whenever either one of them encounters a change. What would be the best method to solve this problem. Thanks in advance....

  • updatable subscriber transactional replication

    i think it adds a guid column to your table so test in QA. an ex-dba did it here and it crashed the main app because it does a select * in that table and the extra column the code couldn't handle it

  • Although peer-to-peer can potentially work you should avoid multiple writers because conflict resolution can become a problem.

    Merge was designed for that but it is very intrusive with the schema. If you must be able to change every where and you can handle the administrative load, Merge is probably the way to go!


    * Noel

  • I am using SQL 2005 so i have the option of Database mirroring. Do you think that is a valid option in my scenario. Thanks in advance

  • It is my understanding that the mirrored database is for failover only and is not viewable in anyway. Is this what you need from your replicated databases?

  • I need realtime syncronization. All database will be functional at all times. So im guess transactional replication is the more appropriate solution.

  • Vijay,

    Is this an online store scenario, where you have a product catalog and need to keep track of orders or something of that nature?

  • Sort of. We have to syncronize Inventory data on 4 seperate servers (located at 4 seperate site but within the same domain) which have the same database.

  • If you have the option to do some redesign of the application you might want to try something like:

    Reading from your Inventory table, but updating your InventoryUpdate View that uses 4 part naming to update a master inventory table on another server. Then that table replicates back forward to your inventory tables on all 4 servers.

    Just an idea, and it would minumize your replcation headaches.

  • Michael Wood (3/26/2009)


    If you have the option to do some redesign of the application you might want to try something like:

    Reading from your Inventory table, but updating your InventoryUpdate View that uses 4 part naming to update a master inventory table on another server. Then that table replicates back forward to your inventory tables on all 4 servers.

    Just an idea, and it would minumize your replcation headaches.

    Excellent suggestion!


    * Noel

Viewing 10 posts - 1 through 9 (of 9 total)

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