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 VIDEOS
 
 
SQL E/BOOKS   WORLD, USA & SQL NEWS   FORMAT
SCRIPTS SQL 2005 SQL 2008 ARTICLES
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
SQL 2016 DESIGN & PROGRAMMING
 
 
 
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