tsql - SQL Mirroring - Queries to confirm health and to check back log -


I am after any SQL queries that may be able to confirm the health of the mirror. Also if there is a query in which you can see the current backlog.

Thanks a lot in advance.

The following code will get all the details of mirroring:

EXEC sp_dbmmonitorresults [database of Name], [Late x hour results], [status does not update for database]

Example:

USE msdb;
EXEC sp_dbmmonitorresults AdWords Works 2012, 2, 0;

This code gets a description of the last 2 hours.

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -