Call now: (800) 766-1884  



 Home


 SQL Server Tips
 SQL Server Training

 SQL Server Consulting
 SQL Server Support
 SQL Server Remote DBA



 Articles
 Services
 SQL Server Scripts
 Scripts Menu



 

 

 

   
  SQL Server Tips by Robin Schumacher

Database Workload Analysis

SQL Server, unlike SQL Server, is a shared environment in which many databases compete for memory and background process (lazy writer, etc.) attention. This being the case, it is smart to identify if any databases are using the lionís share of resources. Pinpointing these workload hogs can help direct the DBA to the root cause of any sluggishness exhibited by SQL Server.

For databases, the process begins by a review of overall resource consumption and activity. In this process, the DBA is looking for any databases that seem to stand out from the others in terms of overall usage and dynamics. On the resource usage front, a good query to use for this process is the dbusage_overview.sql query:

* dbusage_overview.sql

-- Script is available in the Online Code Depot

The query does a nice job of showing which databases are currently responsible for the most resource usage.

After performing the above query, the DBA can then try to get a handle on the types of activities that have gone on in each database by issuing the dbactivity_overview query:

* dbactivity_overview

-- Script is available in the Online Code Depot

This query helps the DBA understand which databases are seeing transaction log extends, and which ones are experiencing the most transactions, etc. Once armed with usage and activity information, applications and databases responsible for the primary workload on SQL Server become more apparent.


The above book excerpt is from:

High-Performance SQL Server DBA
Tuning & Optimization Secrets

ISBN: 0-9761573-6-5
Robin Schumacher

 http://www.rampant-books.com/book_2005_2_sql_server_dba.htm  

 

Burleson Consulting Remote DB Administration


 

 


 

 

 

 

 
Burleson is the America's Team

Note: The pages on this site were created as a support and training reference for use by our staff of DBA consultants.  If you find it confusing, please exit this page.

Errata?  SQL Server technology is changing and we strive to update our SQL Server support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:and include the URL for the page.
 


Burleson Consulting
SQL Server database support

 

Copyright © 1996 -  2013 by Vaaltech Web Services. All rights reserved.

Hit Counter