Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

sp_replcounters

SQL Server 2000

Returns replication statistics about latency, throughput, and transaction count for each published database. This stored procedure is executed at the Publisher on any database.

Syntax

sp_replcounters

Result Sets
Column name Data type Description
Database sysname Name of the database.
Replicated transactions int Number of transactions in the log awaiting delivery to the distribution database.
Replication rate trans/sec float Average number of transactions per second delivered to the distribution database.
Replication latency float Average time, in seconds, that transactions were in the log before being distributed.
Replbeginlsn binary(10) Log sequence number of the current truncation point in the log.
Replendlsn binary(10) Log sequence number of the next commit record awaiting delivery to the distribution database.

Remarks

sp_replcounters is used in transactional replication.

Permissions

Members of the public role can execute sp_replcounters.

See Also

sp_replcmds

sp_repldone

sp_replflush

System Stored Procedures

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.