Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

Avoiding Conflicts with P2P: Explain why each replica should have its own identity range.

$
0
0

Please explain the below quote from the following video. What's the intuition behind this. What's this all about. What are identities. Why do replicas have identity ranges. What's this reseeding all about.Can you give me a simple example of this in action and show me how it prevents conflicts.

http://www.youtube.com/watch?v=yqZykrp-j3s

At 57 minutes into this video:

Quote:  The major issues that cause conflicts are identities. Make sure each one of the replicas has its own identity range. The first replica 0 to a million. The second replica one million to two million, etc.

You can prepare a generic script that would automatically reseed all the tables in the new database that has an identity property with the new range. Don't worry about maximizing the range because if you work with integer you have big enough ranges.

Thanks,



Viewing all articles
Browse latest Browse all 4054

Trending Articles



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