Viewing publication information

You can view information about publications and articles with the check publication command and the rs_helppub stored procedure.


Display publication status and number of articles

To display the number of articles in a publication and its current status, use check publication.

Any user can execute check publication at either the primary or replicate Replication Server. If you execute check publication at the replicate Replication Server, you must have the same login and password at the primary and replicate servers.

The following example displays the status and number of articles in the pubs2_pub publication.

check publication pubs2_pub
    with primary at TOKYO_DS.pubs2

Refer to Chapter 3, “Replication Server Commands,” in the Replication Server Reference Manual for complete syntax and usage guidelines and sample output.


Display publication and article information

To display information about a publication and its articles, use the rs_helppub stored procedure at either the primary or replicate Replication Server RSSD.

NoteAlthough you can execute rs_helppub at the primary or replicate site, rs_helppub only displays publication information stored at the site at which it is executed. For example, if you execute rs_helppub at the primary site, rs_helppub displays information about all publications created at that site. If, however, you execute rs_helppub at the replicate site, rs_helppub only displays information about publications for which subscriptions have been created at that site.

Here are some examples of using rs_helppub:

Refer to the Replication Server Reference Manual for complete syntax and usage guidelines and sample output.