DATETIME SELECT SELECT INTO DATE PAD STRING DYNAMIC SQL CURSOR MONEY FORMAT PERCENT STORED PROCEDURE SQL SERVER AGENT JOB OPTIMIZATION WHILE LOOP OVER PARTITION BY UPDATE
SITE SEARCH SQLUSA.com HEADLINES NEWS
SQL E/BOOKS   SQL 2014 PROGRAMMING   DOWNLOADS
SCRIPTS SQL 2005 SQL 2008 ARTICLES
SQL JOBS TWITTER FORMAT VIDEOS
How to diagnose in crisis situation?

You are under tremendous pressure as DBA. "It was working yesterday, does not work today, and nothing was changed" (or at least nobody admits to it). Your TWO best friends in crisis:

A. DAC - Dedicated Administrator Connection

B. SQL Server Profiler - Events: RPC:Completed, SQL:BatchCompleted - Column Filter: duration > 3000 (3 sec - vary as needed)

Database Operations Crisis Checklist:

1. Trigger was dropped or added

2. An index was dropped or added

3. An index went bad (too many inserts/deletes)

4. Stored Procedure flipped into parameter sniffing, slowed down, blocking.

5. A constraint was added to a large table

6. A stored procedure was changed without optimization test

7. Someone started a monster killer job (report / batch) which is blocking

8. Failed RAID disk initiated a hot-standby kick-in and rebuild

9. Configuration issues like memory not set correctly

 

Exam Prep 70-461
Exam 70-461
DATETIME SELECT SELECT INTO DATE PAD STRING DYNAMIC SQL CURSOR MONEY FORMAT PERCENT STORED PROCEDURE SQL SERVER AGENT JOB OPTIMIZATION WHILE LOOP OVER PARTITION BY UPDATE