title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | ms.custom | helpviewer_keywords | monikerRange | |||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Start & stop a Replication Agent (SSMS) |
Learn how to start an stop a Replication Agent in SQL Server Management Studio and Replication Monitor. |
MashaMSFT |
mathoma |
09/25/2024 |
sql |
replication |
how-to |
|
|
>=sql-server-2016 |
[!INCLUDE SQL Server]
Start and stop agents from the Jobs folder and the Replication folder in [!INCLUDE msCoName] [!INCLUDE ssManStudioFull] 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.
-
Connect to the Publisher in [!INCLUDE ssManStudio], and then expand the server node and the Replication folder.
-
Expand the Local Publications folder, and then right-click a publication.
-
Select View Snapshot Agent Status or View Log Reader Agent Status.
-
Select Start or Stop.
-
Connect to the Distributor in [!INCLUDE ssManStudio], and then expand the server node.
-
Expand the SQL Server Agent folder, and then expand the Jobs folder.
-
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>.
-
Expand a Publisher group in the left pane, expand a Publisher, and then select a publication.
-
Select the Agents tab.
-
Right-click an agent, and then select Start Agent or Stop Agent.