sql server replication algorithm.

Posted by reggie on Stack Overflow See other posts from Stack Overflow or by reggie
Published on 2011-01-02T20:39:29Z Indexed on 2011/01/02 20:53 UTC
Read the original article Hit count: 210

Anyone know how the underlying replication model in sql server works? Do they essentially depend on UTC datetime values to determine if something is new or do they keep a table of all the changes (like a table of tableID+rowid that have changed).

I am building my own "replication" system and was planning on using the dates to know what to replicate. Then I started wondering what would happen if the date got off in the computer for some reason. The obvious choice is to keep a log of the changes as you go and once you replicate those changes, you remove from the log of changes. But thats a lot of extra work, instead of just checking dates.

I figure if sql server replication works by just checking the dates, then that should be good enough for me.

Any wisdom here?

thanks

© Stack Overflow or respective owner

Related posts about sql-server

Related posts about algorithm