Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / DB Engine / SQL Server / March 2008

Tip: Looking for answers? Try searching our database.

Mirror Status Change

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
BigSam - 10 Mar 2008 13:38 GMT
How can I determine when the status of a mirrored database on a server
changes from Principal to Mirrored?
Also, can I determine who or what caused the status to change?
Uri Dimant - 10 Mar 2008 13:48 GMT
Hi

SELECT * FROM sys.database_mirroring;

> How can I determine when the status of a mirrored database on a server
> changes from Principal to Mirrored?
> Also, can I determine who or what caused the status to change?
BigSam - 10 Mar 2008 14:13 GMT
This shows the current status, but not who, what, when, how, or why it changed.

> Hi
>
[quoted text clipped - 3 lines]
> > changes from Principal to Mirrored?
> > Also, can I determine who or what caused the status to change?
Ola Hallengren - 12 Mar 2008 00:06 GMT
You can see information about the database mirroring state change in the
error log.

Database mirroring is active with database 'Database1' as the principal copy.
Database mirroring is active with database 'Database1' as the mirror copy.

Another option is to capture the Database Mirroring State Change Event Class
with SQL Trace or Event Notifications.
http://msdn2.microsoft.com/en-us/library/ms191502.aspx

Ola Hallengren
http://ola.hallengren.com

> This shows the current status, but not who, what, when, how, or why it changed.
>
[quoted text clipped - 5 lines]
> > > changes from Principal to Mirrored?
> > > Also, can I determine who or what caused the status to change?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.