Home » SQL Server (Page 17)
Category Archives: SQL Server
Interview Questions on SQL Server Database Mirroring
1) What is default port of Database Mirroring Endpoint? Ans : 5022 2) Database Mirroring comes with which edition? Ans: SQL Server 2005 SP1. Or SQL Server 2005 RTM with trace flag 1400 3) When I configure mirroring I’m receiving the below errror, One or more of the server network addresses lacks a fully qualified … Continue reading
Script to Monitor SQL Server Database Mirroring Status
SQL Server Database Mirroring is fantastic HA solution developed by Microsoft. Microsoft lunch database mirroring with SQL Server 2005. Database Mirroring send logs to mirror from principle. We need to monitor Database Mirroring status continuously to ensure that everything is working fine. We can use MSDB.SYS.SP_DBMMONITORRESULTS system store procedure to monitor database mirroring. Below script … Continue reading
Add Witness to Existing SQL Server Database Mirroring
1. After connecting to the principal server instance, Right-click the database & go to properties. Select Mirroring from left side option. 2. Click Configure Security, Configure Database Mirroring Security Wizard welcome screen appears, click Next. 3. In the Include Witness Server dialog box, click Yes, and then click Next. 4. In the Choose Servers to … Continue reading
SQL Server Database Mirroring Monitoring
SQL Server Database Mirroring keeps running all time to sync data between Principle & Mirror database. We need regular monitoring of Database Mirroring to ensure that everything is working fine. We are monitor Database Mirroring by 2 ways :- 1) SSMS : Connect to Principle Server > Select Database > Right Click , Go to … Continue reading