Follow SQLMaster on Twitter
Welcome to SqlServer-QA.net Sign in | Help

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.

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

Comments

Saturday, August 04, 2007 8:30 AM by SSQA.net - SqlServer-QA.net

# 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

Monday, August 06, 2007 9:53 PM by Other SQL Server Blogs around the Web

# 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

Friday, May 09, 2008 11:14 AM by SQL Server Transact-SQL (SSQA.net)

# SQL Server 2005 detect DAC session with TSQL

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

# SQL Server 2005 Connectivity, Security policies & Network protocols: simple practice to follow, after installation?

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

Anonymous comments are disabled