Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest SQL, Fabric and Power BI learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Applies to:
SQL Server
Azure SQL Managed Instance
Checks each distribution database for replication agents that are running but haven't logged history within the specified heartbeat interval. This stored procedure is executed at the Distributor on any database.
Transact-SQL syntax conventions
sp_replication_agent_checkup [ [ @heartbeat_interval = ] heartbeat_interval ]
[ ; ]
The maximum number of minutes that an agent can go without logging a progress message. @heartbeat_interval is int, with a default of 10
minutes.
sp_replication_agent_checkup
raises error 14151 for each agent it detects as suspect. It also logs a failure history message about the agents.
sp_replication_agent_checkup
is used in snapshot replication, transactional replication, and merge replication.
Only members of the sysadmin fixed server role can execute sp_replication_agent_checkup
.
Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest SQL, Fabric and Power BI learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register today