Monday, March 19, 2012
Compare Tools and Replication
Replication when doing database compares?
I have a large number of identical merge replicated databases and am using
the Redgate SQL Compare tool. It is a great tool but always identifies every
table as a diff because of the different Replication trigger names. This
kinda defeats the point of using the tool because I still need to examine
every table to ensure consistency. I am looking for a compare tool that will
allow me to disable the comparing of all replication related db objects.
Anything out there?
I have the same issue running merge replication where there are
replication specific objects & a rowguid column in my article tables. I
use DB Ghost from Innovartis to manage my database changes & it ignores
the replication objects during a comparison. To avoid the rowguid
columns coming up as differences, I basically drop replication, drop the
rowguid columns & re-create replication. To do this, I create a file
containing the commands to drop the columns (DB Ghost can generate this
file) & use Enterprise Manager to generate scripts to drop & create my
publications, articles etc. These files are then passed as input to DB
Ghost & executed automatically either before or after the database
comparison.
John McGrath
SQL Server DBA MCSE
*** Sent via Developersdex http://www.codecomments.com ***
Don't just participate in USENET...get rewarded for it!
Friday, February 24, 2012
Communication error with transactional replication
time during my nightly processing. At this time we
replicate a large amount of commands. The funny thing is
after these errors occur once, the next run is successful.
General network error. Check your network documentation.
The error code is 11.
immediately followed by:
Communication link failure with an error code 08S01.
I have increased my querytimeout to 900 from 300 in my
distribution agent profile, based on a post I read, and no
luck.
We run the same process in our another environment without
any issues. The only difference in this environment is
that it is on clustered hardware.
Any advice where to look? How to troubleshoot?
This means your network has hicupped. QueryTimeout set the timeout for
internal queries it has no effect on your network and won't help to reduce
this error. You have to contact your network admin to help resolve this
error.
"Kartik" <anonymous@.discussions.microsoft.com> wrote in message
news:1625201c41bec$c2624b30$a601280a@.phx.gbl...
> I have been receiving the following errors from time to
> time during my nightly processing. At this time we
> replicate a large amount of commands. The funny thing is
> after these errors occur once, the next run is successful.
> General network error. Check your network documentation.
> The error code is 11.
> immediately followed by:
> Communication link failure with an error code 08S01.
> I have increased my querytimeout to 900 from 300 in my
> distribution agent profile, based on a post I read, and no
> luck.
> We run the same process in our another environment without
> any issues. The only difference in this environment is
> that it is on clustered hardware.
> Any advice where to look? How to troubleshoot?
>
Common Generation Watermark error for Merge Replication
Hello,
We have a sqlexpress subscriber that is receiving the error below. SQL Server 2005
We have tried:
Generate new snapshot.
Reinitialize the subscription.
Dropped the subscription.
Reboot the web server box.
Reboot the sql server box.
Yet we still get the errors for these specific subscribers. Any ideas?
Error in replication monitor....
Error messages:
The merge process failed because it detected a mismatch between the replication metadata of the two replicas, such that some changes could be lost leading to non-convergence. This could be due to the subscriber not having synchronized within the retention period, or because of one of the replicas being restored to a backup older than retention period, or because of the publisher performing more aggressive cleanup on articles of type download-only and articles with partition_options = 3. (Source: MSSQL_REPL, Error number: MSSQL_REPL-2147199363)
Get help: http://help/MSSQL_REPL-2147199363
The common generation watermark is invalid at this replica since it does not exist or metadata for changes not yet propagated may have been cleaned up. (Source: MSSQLServer, Error number: 21800)
Get help: http://help/21800
Can you offer more details on how your merge topology is set up? How are the machines layed out and what version of SQL Server 2005 is on each, RTM or SP1? I am also interested in the publication, article, and subscription settings. Perhaps you could post the publication and subscription scripts. Any other info you can offer on repro steps would be helpful.
Thanks,
Tom
This posting is provided "AS IS" with no warranties, and confers no rights.
|||Hi,
Did you manage to resolve this issue in the end? I'm getting the same error periodically here, so I'd be interested to know if you managed to get it fixed.
Cheers
Nick Hoggard
|||The same problems occurs in my situation. 9 identical notebooks, each of them synchronizing using filters with SUSER_SNAME() rule. 2 of them stops with the same message. Have no idea what to do.
|||
Same problem here!
Some subscriptions fail with this error.
I really need a way to resolve this at the server as the subscribers are in the field.
Some more Info:
We have about 200 subscriptions and at the moment this problem appears at two of them.
At the client the error is 29006, which is not helping.
|||Unfortunately these issues are very very difficult to debug on a forum, I highly suggest opening a support case so you can have an engineer dig deeper into the problem.|||Did anything ever get resolved for this? We are having same problem.
thx,
jg
|||Can you describe your problem scenario or the sequence of events that have led you to this failure please?|||I am receiving the same error. I have pretty much the same architecture in place. The error seems to center around the Upload changes first.|||Hi all,found this one in Microsoft site.
https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=256575&wa=wsignin1.0
Thank you.|||
Do these forums ever get checked? I experienced a similar problem, if not the same problem.
I have a publication that includes Views, SPs, and Functions only. The publication was running successfully on a SQL Express SP2 subscriber, but failed with the error message stated previously in this topic. I had to mark the subscriber as needing to reinitialize and then the publication got passed the error. No changes were made to the articles or publication to cause the error.
Thanks in advance,
Graham
|||As mentioned above, please create a case with Customer Support so you cna have an engineer debug your issue, especially if this is blocking or hindering your production system.
Common Generation Watermark error for Merge Replication
Hello,
We have a sqlexpress subscriber that is receiving the error below. SQL Server 2005
We have tried:
Generate new snapshot.
Reinitialize the subscription.
Dropped the subscription.
Reboot the web server box.
Reboot the sql server box.
Yet we still get the errors for these specific subscribers. Any ideas?
Error in replication monitor....
Error messages:
The merge process failed because it detected a mismatch between the replication metadata of the two replicas, such that some changes could be lost leading to non-convergence. This could be due to the subscriber not having synchronized within the retention period, or because of one of the replicas being restored to a backup older than retention period, or because of the publisher performing more aggressive cleanup on articles of type download-only and articles with partition_options = 3. (Source: MSSQL_REPL, Error number: MSSQL_REPL-2147199363)
Get help: http://help/MSSQL_REPL-2147199363
The common generation watermark is invalid at this replica since it does not exist or metadata for changes not yet propagated may have been cleaned up. (Source: MSSQLServer, Error number: 21800)
Get help: http://help/21800
Can you offer more details on how your merge topology is set up? How are the machines layed out and what version of SQL Server 2005 is on each, RTM or SP1? I am also interested in the publication, article, and subscription settings. Perhaps you could post the publication and subscription scripts. Any other info you can offer on repro steps would be helpful.
Thanks,
Tom
This posting is provided "AS IS" with no warranties, and confers no rights.
|||Hi,
Did you manage to resolve this issue in the end? I'm getting the same error periodically here, so I'd be interested to know if you managed to get it fixed.
Cheers
Nick Hoggard
|||The same problems occurs in my situation. 9 identical notebooks, each of them synchronizing using filters with SUSER_SNAME() rule. 2 of them stops with the same message. Have no idea what to do.
|||
Same problem here!
Some subscriptions fail with this error.
I really need a way to resolve this at the server as the subscribers are in the field.
Some more Info:
We have about 200 subscriptions and at the moment this problem appears at two of them.
At the client the error is 29006, which is not helping.
|||Unfortunately these issues are very very difficult to debug on a forum, I highly suggest opening a support case so you can have an engineer dig deeper into the problem.|||Did anything ever get resolved for this? We are having same problem.
thx,
jg
|||Can you describe your problem scenario or the sequence of events that have led you to this failure please?|||I am receiving the same error. I have pretty much the same architecture in place. The error seems to center around the Upload changes first.|||Hi all,found this one in Microsoft site.
https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=256575&wa=wsignin1.0
Thank you.|||
Do these forums ever get checked? I experienced a similar problem, if not the same problem.
I have a publication that includes Views, SPs, and Functions only. The publication was running successfully on a SQL Express SP2 subscriber, but failed with the error message stated previously in this topic. I had to mark the subscriber as needing to reinitialize and then the publication got passed the error. No changes were made to the articles or publication to cause the error.
Thanks in advance,
Graham
|||As mentioned above, please create a case with Customer Support so you cna have an engineer debug your issue, especially if this is blocking or hindering your production system.
Common Generation Watermark error for Merge Replication
Hello,
We have a sqlexpress subscriber that is receiving the error below. SQL Server 2005
We have tried:
- Generate new snapshot. Reinitialize the subscription. Dropped the subscription. Reboot the web server box. Reboot the sql server box.
Yet we still get the errors for these specific subscribers. Any ideas?
Error in replication monitor....
Error messages:
The merge process failed because it detected a mismatch between the replication metadata of the two replicas, such that some changes could be lost leading to non-convergence. This could be due to the subscriber not having synchronized within the retention period, or because of one of the replicas being restored to a backup older than retention period, or because of the publisher performing more aggressive cleanup on articles of type download-only and articles with partition_options = 3. (Source: MSSQL_REPL, Error number: MSSQL_REPL-2147199363)
Get help: http://help/MSSQL_REPL-2147199363
The common generation watermark is invalid at this replica since it does not exist or metadata for changes not yet propagated may have been cleaned up. (Source: MSSQLServer, Error number: 21800)
Get help: http://help/21800
Can you offer more details on how your merge topology is set up? How are the machines layed out and what version of SQL Server 2005 is on each, RTM or SP1? I am also interested in the publication, article, and subscription settings. Perhaps you could post the publication and subscription scripts. Any other info you can offer on repro steps would be helpful.
Thanks,
Tom
This posting is provided "AS IS" with no warranties, and confers no rights.
|||Hi,
Did you manage to resolve this issue in the end? I'm getting the same error periodically here, so I'd be interested to know if you managed to get it fixed.
Cheers
Nick Hoggard
|||The same problems occurs in my situation. 9 identical notebooks, each of them synchronizing using filters with SUSER_SNAME() rule. 2 of them stops with the same message. Have no idea what to do.
|||Same problem here!
Some subscriptions fail with this error.
I really need a way to resolve this at the server as the subscribers are in the field.
Some more Info:
We have about 200 subscriptions and at the moment this problem appears at two of them.
At the client the error is 29006, which is not helping.
|||Unfortunately these issues are very very difficult to debug on a forum, I highly suggest opening a support case so you can have an engineer dig deeper into the problem.|||Did anything ever get resolved for this? We are having same problem.
thx,
jg
|||Can you describe your problem scenario or the sequence of events that have led you to this failure please?|||I am receiving the same error. I have pretty much the same architecture in place. The error seems to center around the Upload changes first.|||Hi all,found this one in Microsoft site.
https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=256575&wa=wsignin1.0
Thank you.
|||
Do these forums ever get checked? I experienced a similar problem, if not the same problem.
I have a publication that includes Views, SPs, and Functions only. The publication was running successfully on a SQL Express SP2 subscriber, but failed with the error message stated previously in this topic. I had to mark the subscriber as needing to reinitialize and then the publication got passed the error. No changes were made to the articles or publication to cause the error.
Thanks in advance,
Graham
|||As mentioned above, please create a case with Customer Support so you cna have an engineer debug your issue, especially if this is blocking or hindering your production system.
Common Generation Watermark error for Merge Replication
Hello,
We have a sqlexpress subscriber that is receiving the error below. SQL Server 2005
We have tried:
Generate new snapshot.
Reinitialize the subscription.
Dropped the subscription.
Reboot the web server box.
Reboot the sql server box.
Yet we still get the errors for these specific subscribers. Any ideas?
Error in replication monitor....
Error messages:
The merge process failed because it detected a mismatch between the replication metadata of the two replicas, such that some changes could be lost leading to non-convergence. This could be due to the subscriber not having synchronized within the retention period, or because of one of the replicas being restored to a backup older than retention period, or because of the publisher performing more aggressive cleanup on articles of type download-only and articles with partition_options = 3. (Source: MSSQL_REPL, Error number: MSSQL_REPL-2147199363)
Get help: http://help/MSSQL_REPL-2147199363
The common generation watermark is invalid at this replica since it does not exist or metadata for changes not yet propagated may have been cleaned up. (Source: MSSQLServer, Error number: 21800)
Get help: http://help/21800
Can you offer more details on how your merge topology is set up? How are the machines layed out and what version of SQL Server 2005 is on each, RTM or SP1? I am also interested in the publication, article, and subscription settings. Perhaps you could post the publication and subscription scripts. Any other info you can offer on repro steps would be helpful.
Thanks,
Tom
This posting is provided "AS IS" with no warranties, and confers no rights.
|||Hi,
Did you manage to resolve this issue in the end? I'm getting the same error periodically here, so I'd be interested to know if you managed to get it fixed.
Cheers
Nick Hoggard
|||The same problems occurs in my situation. 9 identical notebooks, each of them synchronizing using filters with SUSER_SNAME() rule. 2 of them stops with the same message. Have no idea what to do.
|||
Same problem here!
Some subscriptions fail with this error.
I really need a way to resolve this at the server as the subscribers are in the field.
Some more Info:
We have about 200 subscriptions and at the moment this problem appears at two of them.
At the client the error is 29006, which is not helping.
|||Unfortunately these issues are very very difficult to debug on a forum, I highly suggest opening a support case so you can have an engineer dig deeper into the problem.|||Did anything ever get resolved for this? We are having same problem.
thx,
jg
|||Can you describe your problem scenario or the sequence of events that have led you to this failure please?|||I am receiving the same error. I have pretty much the same architecture in place. The error seems to center around the Upload changes first.|||Hi all,found this one in Microsoft site.
https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=256575&wa=wsignin1.0
Thank you.|||
Do these forums ever get checked? I experienced a similar problem, if not the same problem.
I have a publication that includes Views, SPs, and Functions only. The publication was running successfully on a SQL Express SP2 subscriber, but failed with the error message stated previously in this topic. I had to mark the subscriber as needing to reinitialize and then the publication got passed the error. No changes were made to the articles or publication to cause the error.
Thanks in advance,
Graham
|||As mentioned above, please create a case with Customer Support so you cna have an engineer debug your issue, especially if this is blocking or hindering your production system.
Common Generation Watermark error for Merge Replication
Hello,
We have a sqlexpress subscriber that is receiving the error below. SQL Server 2005
We have tried:
Generate new snapshot.
Reinitialize the subscription.
Dropped the subscription.
Reboot the web server box.
Reboot the sql server box.
Yet we still get the errors for these specific subscribers. Any ideas?
Error in replication monitor....
Error messages:
The merge process failed because it detected a mismatch between the replication metadata of the two replicas, such that some changes could be lost leading to non-convergence. This could be due to the subscriber not having synchronized within the retention period, or because of one of the replicas being restored to a backup older than retention period, or because of the publisher performing more aggressive cleanup on articles of type download-only and articles with partition_options = 3. (Source: MSSQL_REPL, Error number: MSSQL_REPL-2147199363)
Get help: http://help/MSSQL_REPL-2147199363
The common generation watermark is invalid at this replica since it does not exist or metadata for changes not yet propagated may have been cleaned up. (Source: MSSQLServer, Error number: 21800)
Get help: http://help/21800
Can you offer more details on how your merge topology is set up? How are the machines layed out and what version of SQL Server 2005 is on each, RTM or SP1? I am also interested in the publication, article, and subscription settings. Perhaps you could post the publication and subscription scripts. Any other info you can offer on repro steps would be helpful.
Thanks,
Tom
This posting is provided "AS IS" with no warranties, and confers no rights.
|||Hi,
Did you manage to resolve this issue in the end? I'm getting the same error periodically here, so I'd be interested to know if you managed to get it fixed.
Cheers
Nick Hoggard
|||The same problems occurs in my situation. 9 identical notebooks, each of them synchronizing using filters with SUSER_SNAME() rule. 2 of them stops with the same message. Have no idea what to do.
|||
Same problem here!
Some subscriptions fail with this error.
I really need a way to resolve this at the server as the subscribers are in the field.
Some more Info:
We have about 200 subscriptions and at the moment this problem appears at two of them.
At the client the error is 29006, which is not helping.
|||Unfortunately these issues are very very difficult to debug on a forum, I highly suggest opening a support case so you can have an engineer dig deeper into the problem.|||Did anything ever get resolved for this? We are having same problem.
thx,
jg
|||Can you describe your problem scenario or the sequence of events that have led you to this failure please?|||I am receiving the same error. I have pretty much the same architecture in place. The error seems to center around the Upload changes first.|||Hi all,found this one in Microsoft site.
https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=256575&wa=wsignin1.0
Thank you.|||
Do these forums ever get checked? I experienced a similar problem, if not the same problem.
I have a publication that includes Views, SPs, and Functions only. The publication was running successfully on a SQL Express SP2 subscriber, but failed with the error message stated previously in this topic. I had to mark the subscriber as needing to reinitialize and then the publication got passed the error. No changes were made to the articles or publication to cause the error.
Thanks in advance,
Graham
|||As mentioned above, please create a case with Customer Support so you cna have an engineer debug your issue, especially if this is blocking or hindering your production system.
Common Generation Watermark error for Merge Replication
Hello,
We have a sqlexpress subscriber that is receiving the error below. SQL Server 2005
We have tried:
- Generate new snapshot. Reinitialize the subscription. Dropped the subscription. Reboot the web server box. Reboot the sql server box.
Yet we still get the errors for these specific subscribers. Any ideas?
Error in replication monitor....
Error messages:
The merge process failed because it detected a mismatch between the replication metadata of the two replicas, such that some changes could be lost leading to non-convergence. This could be due to the subscriber not having synchronized within the retention period, or because of one of the replicas being restored to a backup older than retention period, or because of the publisher performing more aggressive cleanup on articles of type download-only and articles with partition_options = 3. (Source: MSSQL_REPL, Error number: MSSQL_REPL-2147199363)
Get help: http://help/MSSQL_REPL-2147199363
The common generation watermark is invalid at this replica since it does not exist or metadata for changes not yet propagated may have been cleaned up. (Source: MSSQLServer, Error number: 21800)
Get help: http://help/21800
Can you offer more details on how your merge topology is set up? How are the machines layed out and what version of SQL Server 2005 is on each, RTM or SP1? I am also interested in the publication, article, and subscription settings. Perhaps you could post the publication and subscription scripts. Any other info you can offer on repro steps would be helpful.
Thanks,
Tom
This posting is provided "AS IS" with no warranties, and confers no rights.
|||Hi,
Did you manage to resolve this issue in the end? I'm getting the same error periodically here, so I'd be interested to know if you managed to get it fixed.
Cheers
Nick Hoggard
|||The same problems occurs in my situation. 9 identical notebooks, each of them synchronizing using filters with SUSER_SNAME() rule. 2 of them stops with the same message. Have no idea what to do.
|||Same problem here!
Some subscriptions fail with this error.
I really need a way to resolve this at the server as the subscribers are in the field.
Some more Info:
We have about 200 subscriptions and at the moment this problem appears at two of them.
At the client the error is 29006, which is not helping.
|||Unfortunately these issues are very very difficult to debug on a forum, I highly suggest opening a support case so you can have an engineer dig deeper into the problem.|||Did anything ever get resolved for this? We are having same problem.
thx,
jg
|||Can you describe your problem scenario or the sequence of events that have led you to this failure please?|||I am receiving the same error. I have pretty much the same architecture in place. The error seems to center around the Upload changes first.|||Hi all,found this one in Microsoft site.
https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=256575&wa=wsignin1.0
Thank you.
|||
Do these forums ever get checked? I experienced a similar problem, if not the same problem.
I have a publication that includes Views, SPs, and Functions only. The publication was running successfully on a SQL Express SP2 subscriber, but failed with the error message stated previously in this topic. I had to mark the subscriber as needing to reinitialize and then the publication got passed the error. No changes were made to the articles or publication to cause the error.
Thanks in advance,
Graham
|||As mentioned above, please create a case with Customer Support so you cna have an engineer debug your issue, especially if this is blocking or hindering your production system.
Common Generation Watermark error for Merge Replication
Hello,
We have a sqlexpress subscriber that is receiving the error below. SQL Server 2005
We have tried:
- Generate new snapshot. Reinitialize the subscription. Dropped the subscription. Reboot the web server box. Reboot the sql server box.
Yet we still get the errors for these specific subscribers. Any ideas?
Error in replication monitor....
Error messages:
The merge process failed because it detected a mismatch between the replication metadata of the two replicas, such that some changes could be lost leading to non-convergence. This could be due to the subscriber not having synchronized within the retention period, or because of one of the replicas being restored to a backup older than retention period, or because of the publisher performing more aggressive cleanup on articles of type download-only and articles with partition_options = 3. (Source: MSSQL_REPL, Error number: MSSQL_REPL-2147199363)
Get help: http://help/MSSQL_REPL-2147199363
The common generation watermark is invalid at this replica since it does not exist or metadata for changes not yet propagated may have been cleaned up. (Source: MSSQLServer, Error number: 21800)
Get help: http://help/21800
Can you offer more details on how your merge topology is set up? How are the machines layed out and what version of SQL Server 2005 is on each, RTM or SP1? I am also interested in the publication, article, and subscription settings. Perhaps you could post the publication and subscription scripts. Any other info you can offer on repro steps would be helpful.
Thanks,
Tom
This posting is provided "AS IS" with no warranties, and confers no rights.
|||Hi,
Did you manage to resolve this issue in the end? I'm getting the same error periodically here, so I'd be interested to know if you managed to get it fixed.
Cheers
Nick Hoggard
|||The same problems occurs in my situation. 9 identical notebooks, each of them synchronizing using filters with SUSER_SNAME() rule. 2 of them stops with the same message. Have no idea what to do.
|||Same problem here!
Some subscriptions fail with this error.
I really need a way to resolve this at the server as the subscribers are in the field.
Some more Info:
We have about 200 subscriptions and at the moment this problem appears at two of them.
At the client the error is 29006, which is not helping.
|||Unfortunately these issues are very very difficult to debug on a forum, I highly suggest opening a support case so you can have an engineer dig deeper into the problem.|||Did anything ever get resolved for this? We are having same problem.
thx,
jg
|||Can you describe your problem scenario or the sequence of events that have led you to this failure please?|||I am receiving the same error. I have pretty much the same architecture in place. The error seems to center around the Upload changes first.|||Hi all,found this one in Microsoft site.
https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx?FeedbackID=256575&wa=wsignin1.0
Thank you.
|||
Do these forums ever get checked? I experienced a similar problem, if not the same problem.
I have a publication that includes Views, SPs, and Functions only. The publication was running successfully on a SQL Express SP2 subscriber, but failed with the error message stated previously in this topic. I had to mark the subscriber as needing to reinitialize and then the publication got passed the error. No changes were made to the articles or publication to cause the error.
Thanks in advance,
Graham
|||As mentioned above, please create a case with Customer Support so you cna have an engineer debug your issue, especially if this is blocking or hindering your production system.
Sunday, February 19, 2012
Commit timestamp on publisher
I'm using SQL2000 transaction replication. I'd like to find out
exactly when individual transactions are committed on the publisher
side, before they are actually replicated. Is there a system table
that holds this info? I've looked at MSDistribution_History and
MSqreader_History but they don't have what I'm looking for. Is there a
system variable that I can tap into that may have this (like DB2
has)?
Any thoughts?
Thanks,
Glenn
Glenn,
you can use sp_browsereplcmds which queries the MSrepl_commands table.
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)
Thursday, February 16, 2012
Comment on Replication
Could u pleas give me some noites on replication . I worked out thru
wizards but not succeded.
With thanks
Raghu"Raghuraman" <raghuraman_ace@.rediffmail.com> wrote in message
news:66c7bef8.0401052000.d18a12b@.posting.google.co m...
> Hai friends
> Could u pleas give me some noites on replication . I worked out thru
> wizards but not succeded.
It would be easier if you described what you tried and what worked or didn't
work.
> With thanks
> Raghu
Sunday, February 12, 2012
Command delivery status in MSrepl_commands
answers on couple of questions.
- How to determine status of command in MSrepl_commands? I mean status is
delivered this command to subscriber or not.
- How long delivered transactions reside in MSrepl_commands?
Have a look at the view msdistribution_status, which should be what you are
looking for. The code of the view is not encrypted and you could use it to
not do the group by and create your own version. If you want the actual
commands, then have a look at sp_browsereplcmds.
How long do commands reside in this table? If they have been read by all the
distribution agents involved and you don't have anonymous subscribers, the
commands will be removed by the cleanup agent. If a distribution agent isn't
synchronized or you have anonymous subscribers, they'll stay there until the
retention period is reached (72 hourd by default), and are then removed by
the cleanup agent.
Rgds,
Paul Ibison SQL Server MVP, www.replicationanswers.com
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)