Redigera

Dela via


Start and Stop a Replication Agent (SQL Server Management Studio)

Applies to: SQL Server

Start and stop agents from the Jobs folder and the Replication folder in Microsoft SQL Server Management Studio and from Replication Monitor. Start and stop the following agents and jobs:

  • The Snapshot Agent, which is used by all publications.

  • The Log Reader Agent, which is used by all transactional publications.

  • The Queue Reader Agent, which is used by transactional publications enabled for queued updating subscriptions.

  • The Distribution Agent, which synchronizes subscriptions to transactional and snapshot publications.

  • The Merge Agent, which synchronizes subscriptions to merge publications.

  • Replication maintenance jobs.

For more information about starting the Merge Agent and the Distribution Agent, see Synchronize a Push Subscription and Synchronize a Pull Subscription. For more information about maintenance jobs, see Run Replication Maintenance Jobs (SQL Server Management Studio).

For information about starting Replication Monitor, see Start the Replication Monitor.

Start and stop a Snapshot Agent or Log Reader Agent from Management Studio

  1. Connect to the Publisher in Management Studio, and then expand the server node and the Replication folder.

  2. Expand the Local Publications folder, and then right-click a publication.

  3. Select View Snapshot Agent Status or View Log Reader Agent Status.

  4. Select Start or Stop.

Start and stop a Queue Reader Agent from Management Studio

  1. Connect to the Distributor in Management Studio, and then expand the server node.

  2. Expand the SQL Server Agent folder, and then expand the Jobs folder.

  3. Right-click the job for the agent, and then select Start Job or Stop Job. The name of the job for the Queue Reader Agent is in the form [<Distributor>].<integer>.

Start and stop a Snapshot Agent, Log Reader Agent, or Queue Reader Agent from Replication Monitor

  1. Expand a Publisher group in the left pane, expand a Publisher, and then select a publication.

  2. Select the Agents tab.

  3. Right-click an agent, and then select Start Agent or Stop Agent.