Replication: Change Integers Keys to GUID Keys Options
clevster
Posted: Friday, April 25, 2008 4:19:32 PM
Rank: Newbie

Joined: 4/21/2008
Posts: 10
I'd recommend changing all of the primary / foreign keys from integers to GUIDs in order to eliminate any type of conflict during replication.

It is a well-known problem that identity fields can cause serious issues during replication especially two-way replication. If they were all changed to GUIDs the chance of a conflict would likely never occur. Identity fields can be replicated, however, special precautions must be taken or the identity seeds must set such that there will never be a conflict between any two or more servers.

Is this something that we may see in a Umbraco release in the near future?
Ig_p118
Posted: Sunday, April 27, 2008 10:26:36 AM
Rank: Fanatic

Joined: 7/21/2006
Posts: 256
Location: Salerno - Italy
In the SQL replication you can setup to replicate or no identities. I suggest you to use merge replication if you want align 2 db.
What type of replica do you use?

Red Consulting s.a.s - Umbraco from v1.0
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.