Returns statistics or status information about ASE Replicator, ASE Replicator objects, or ASE Replicator components.
sp_helprep [stats, { reset|rep_conns|rep_conn=conn_name }]
sp_helprep [status [, {conns|subs| {pri_conn|rep_conn}=conn_name| sub=sub_name }]]
sp_helprep [version]
The keyword that requests statistics information about ASE Replicator.
The keyword that requests status information about ASE Replicator. This is the default value.
The keyword that requests the ASE Replicator version string.
The keyword that resets all statistics counters to zero.
The keyword that requests statistics information for all replicate database connections.
The keyword that requests status information for all subscriptions.
The label identifying a primary database connection to request status information for that connection.
The label identifying a replicate database connection to request statistics or status information for that connection.
A database connection name specified in the form ds.db, where:
ds is the name of the data server on which the database resides.
db is the name of the database.
A label identifying a subscription (sub_name) to request status information for that subscription.
sp_helprep
Returns current status of overall replication system.
Using sp_helprep with no
keyword is functionally identical to specifying only the status keyword.
sp_helprep stats, reset
Resets all ASE Replicator statistics counters.
sp_helprep stats, rep_conns
Returns current statistics for all replicate database connections.
sp_helprep stats, "rep_conn=boulder.doc"
Returns current statistics for the replicate database connection to the database doc on data server boulder.
sp_helprep status, "sub=subdoc"
Returns current status of the subscription subdoc.
sp_helprep version
Returns the ASE Replicator version string. In addition, Java system properties information is logged in the system.log file.
When listing statistics, the following result set is returned:
When listing status of the overall replication system, the following result set is returned:
When listing status of connections, the following result set is returned:
When listing status of subscriptions, the following result set is returned:
When you invoke sp_helprep with the stats keyword, you must also supply an additional option.
When you invoke sp_helprep with the stats keyword and the reset keyword, it resets all ASE Replicator statistics counters.
When you invoke sp_helprep with the stats keyword and the rep_conns keyword, it returns statistics for all replicate database connections.
When you invoke sp_helprep with the stats keyword and specify a replicate connection (rep_conn=conn_name), it returns statistics for the specified connection.
To get statistics information about primary connections,
use sp_helpprimaryconn stats.
When you invoke sp_helprep with no keyword specified, it returns status of the overall replication system. Using sp_helprep with no keyword is functionally identical to specifying only the status keyword.
When you invoke sp_helprep with the status keyword and the pri_conns keyword, it returns status of all primary database connections.
When you invoke sp_helprep with the status keyword and the rep_conns keyword, it returns status of all replicate database connections.
When you invoke sp_helprep with the status keyword and the subs keyword, it returns status of all subscriptions on all replicate database connections.
When you invoke sp_helprep with the status keyword and specify a connection (pri_conn=conn_name or rep_conn=conn_name), it returns status of the specified connection.
When you invoke sp_helprep with the status keyword and specify a subscription (sub=sub_name), it returns status of the specified subscription.
When an error occurs, an error message is returned.
sp_helpconn, sp_helpprimaryart, sp_helpprimaryconn, sp_helppub, sp_helpreplicateart, sp_helpreplicateconn, sp_helpsub
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |