Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Certain rows not replicated, yet replication was not broken Expand / Collapse
Author
Message
Posted Thursday, October 24, 2013 2:19 AM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Friday, September 19, 2014 4:10 AM
Points: 903, Visits: 1,869
We had an issue recently where a (transactional) replicated table was replicating data as expected.
Then about 30 or so rows in the source table were not in the destination table, but other rows created after those 30 rows were replicated.

We have pretty much confirmed that users did not delete those rows.

Unfortunately we had to resolve the issue quickly and so blew away & recreated the subscription so a lot of evidence is probably gone from the crime scene.

We cant figure out what could cause 30 rows not to be replicated, yet leave replication operational.

Anyone got any ideas?
Post #1507915
Posted Friday, October 25, 2013 4:46 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Sunday, June 8, 2014 11:23 PM
Points: 129, Visits: 216
One option you could consider if you have the transaction logs from the subscriber is a detailed analysis of these using a third party log reader or the undocumented function fn_dump_dblog. Check Paul Randals blog for details on this function and the warning on its usage. What you describe just should not happen but the transactions logs should give you the options for a forensic investigation and you should be able to show what happened all the way from the publisher through to the subscriber.

While the table size may have precluded this but did you consider tablediff which could have generated the tsql to sync the table at the subscriber which may have been quicker than re-initialising
Post #1508625
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse