Welcome to

SqlServer-QA.net

Sign in | Join | Help

SQL Server Storage Engine & Tools (SSQA.net)

SQL Server Tools includes storage engine that includes a complete set of graphical tools and command prompt utilities that allow users, programmers, and administrators. SSMS, SSRS, SSIS & SSAS are most commonly used tools.
Dedicated Administrator Console (DAC) - saved an important day for a DBA

Until recently I have just used Dedicated Administrator Console (DAC) to connect just to test whether the connection will be successful. You may be aware that only administrator will be able to access a running instance of SQL Server Database Engine to troubleshoot problems on the server—even when the server is unresponsive to other client connections.

Recently we have had such a situation where a particular SQL instance was unresponsive for current connections and not accepting any newer connections, it was a situation where every DBA will be at panic, I'm not exceptional and immediately I found that a particular SPID was blocking and generated lots of deadlocks from the application. OS team were waiting on call to restart the Services on the server and I was completely reluctant to restart SQL Server services, then DAC has came into mind to kill that offending SPIDs. So at the end DAC has saved important task to avoid the restart of SQL Server services, as I was more keen to analyze the system usage with DMVs and if you restart that will lose the information that we require for investigations.

To use SQL Server Management Studio with the DAC, connect to an instance of the SQL Server Database Engine with Query Editor by typing ADMIN: before the server name. Object Explorer cannot connect using the DAC. A seperate listen-on will be created using TCP protocol only, so its important to use or enable TCP/IP on that SQL instance. Also on the Clustered environment it is important to turn-on 'Remote Admin Connections' using Surface Area Configuration tool. Another advantage is all the processes within DAC will be executed on a seperate reserver memory area.

Posted: Saturday, August 04, 2007 7:09 AM by SQL Master

Comments

SSQA.net - SqlServer-QA.net said:

Until recently I have just used Dedicated Administrator Console (DAC) to connect just to test whether

# August 4, 2007 8:30 AM

Other SQL Server Blogs around the Web said:

Until recently I have just used Dedicated Administrator Console (DAC) to connect just to test whether

# August 6, 2007 9:53 PM

SQL Server Transact-SQL (SSQA.net) said:

SQL Server 2005 has introduce a secret-door for Admins to identify and resolve any connect lockout issues

# May 9, 2008 11:14 AM

SQL Server Security, Performance & Tuning (SSQA.net) said:

Secured by default, secured by design is the buzzword and catchy stuff for any Enterprise IT administrators.

# May 23, 2008 3:28 AM
Anonymous comments are disabled