Database Mirroring Witness Catalog Views (Transact-SQL)
Collapse the table of content
Expand the table of content

Database Mirroring Witness Catalog Views (Transact-SQL)

 

THIS TOPIC APPLIES TO:yesSQL Server (starting with 2008)noAzure SQL DatabasenoAzure SQL Data Warehouse noParallel Data Warehouse

In a database mirroring session, automatic failover requires a witness server. Ideally, the witness resides on a separate computer from both the principal and mirror servers. The witness does not serve the database. Instead, it monitors the status of the principal and mirror servers. If the principal server fails, the witness may initiate automatic failover to the witness server. For more information, see Database Mirroring Witness.

For information about the catalog view for database mirroring witnesses, see sys.database_mirroring_witnesses (Transact-SQL).

System_CAPS_ICON_note.jpg Note


For the information about the catalog-view columns for mirrored databases, see sys.databases (Transact-SQL).

sys.database_mirroring_endpoints (Transact-SQL)

Community Additions

ADD
Show:
© 2016 Microsoft