Suspending and resuming database connections  Resuming database connections

Chapter 3: Administering ASE Replicator

Suspending database connections

You can suspend either a specific (primary or replicate) database connection, or all primary or all replicate database connections.

NoteWhen you suspend a replicate database connection, ASE Replicator suspends all of the subscriptions in that connection.

StepsTo suspend a specific primary database connection

  1. Use sp_suspendprimaryconn with the following syntax to specify a database connection:

    sp_suspendprimaryconn "conn_name"
    

    where conn_name is the connection name in the form ds.db.

StepsTo suspend all primary database connections

  1. Use sp_suspendprimaryconn without specifying a database connection:

    sp_suspendprimaryconn
    

StepsTo suspend a specific replicate database connection

  1. Use sp_suspendreplicateconn with the following syntax to specify a database connection:

    sp_suspendreplicateconn "conn_name"
    

    where conn_name is the connection name in the form ds.db.

StepsTo suspend all replicate database connections

  1. Use sp_suspendreplicateconn without specifying a database connection:

    sp_suspendreplicateconn
    

NoteAfter a database connection is suspended, you must resume the connection to continue replication.





Copyright © 2004. Sybase Inc. All rights reserved. Resuming database connections

View this book as PDF