Microsoft® SQL Server 2012 Unleashed
by Ray Rankins, Paul T. Bertucci, Chris Gallelli, Alex T. Silverstein
The Merge Agent
When you are dealing with merge publications, the Merge Agent moves and reconciles incremental data changes that occur after the initial snapshot was created. Each merge publication has a Merge Agent that connects to the publishing server and the subscribing server and updates both as changes are made. In a full merge scenario, the agent first uploads all changes from the subscriber where the generation is 0 or greater than the last generation sent to the publisher. The agent gathers the rows in which changes were made, and the rows without conflicts are applied to the publishing database.
A conflict can arise when changes are made at both the publishing server and subscription server to a particular row(s) of data. A conflict ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access