Skip to content

Quiesce an agent before you stop it

Quiesce lets a Capture Agent finish what's already in the source log and then stop capturing, so that everything up to that point is in the staging tables. Use it before you stop an agent for a migration, an upgrade or a move of the source database, when SQDR must be able to apply every change made before the cut-off.

Quiesce an agent

  1. With the agent running, click Quiesce in its header.
  2. Watch the Summary tab until every worker (one per journal or log) shows Quiesced.
  3. Let SQDR apply the remaining changes, then Stop the agent.

The next Start/Restart starts a quiesced agent normally.

What the agent does while it quiesces

The agent stops publishing new tables, notifying SQDR of new changes, and pruning. Each worker processes the remaining journal or log records, then stays paused until the agent is stopped, and the agent log records:

<journal or log> Quiesce Completed. Replication Worker is now paused until the Capture Agent is shutdown.

When every worker shows Quiesced, all the log entries written before the quiesce are in the staging tables (assuming no new activity on the subscribed tables), and SQDR can still read and apply them.

If a worker hits a resource failure while quiescing, the agent restarts it; it then processes the remaining entries and reaches Quiesced as usual.