sp_helppub  sp_helpreplicateart

Chapter 4: ASE Replicator Procedures

sp_helprep

Description

Returns statistics or status information about ASE Replicator, ASE Replicator objects, or ASE Replicator components.

Syntax

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] 

Parameters

stats

The keyword that requests statistics information about ASE Replicator.

status

The keyword that requests status information about ASE Replicator. This is the default value.

version

The keyword that requests the ASE Replicator version string.

reset

The keyword that resets all statistics counters to zero.

rep_conns

The keyword that requests statistics information for all replicate database connections.

subs

The keyword that requests status information for all subscriptions.

pri_conn=

The label identifying a primary database connection to request status information for that connection.

rep_conn=

The label identifying a replicate database connection to request statistics or status information for that connection.

conn_name

A database connection name specified in the form ds.db, where:

sub=sub_name

A label identifying a subscription (sub_name) to request status information for that subscription.

Examples

Example 1

sp_helprep

Returns current status of overall replication system.

NoteUsing sp_helprep with no keyword is functionally identical to specifying only the status keyword.

Example 2

sp_helprep stats, reset

Resets all ASE Replicator statistics counters.

Example 3

sp_helprep stats, rep_conns

Returns current statistics for all replicate database connections.

Example 4

sp_helprep stats, "rep_conn=boulder.doc"

Returns current statistics for the replicate database connection to the database doc on data server boulder.

Example 5

sp_helprep status, "sub=subdoc"

Returns current status of the subscription subdoc.

Example 6

sp_helprep version

Returns the ASE Replicator version string.

Usage

See also

sp_helpconn, sp_helpprimaryart, sp_helpprimaryconn, sp_helppub, sp_helpreplicateart, sp_helpreplicateconn, sp_helpsub





Copyright © 2004. Sybase Inc. All rights reserved. sp_helpreplicateart

View this book as PDF