sqlrx logo
SQLRx® Tip of the Month
 

SQL Index Diagnosis

Because Tools are Not Enough

 

Improve SQL Performance.  No Software to download!

$995 for SQLRx Tip of the Month Subscribers (normally $2,500)



May 2011
Greetings!
  
Indexes are essential to all databases for optimal query performance.  However, most index tuning is a laborious trial-and-error process that starts when a query does not perform well (usually resulting in user complaints), and ends with the addition of at least one new index that appears to improve performance.  However, an index that helps one query may not improve the performance of similar queries.  Therefore, the process of determining an appropriate index structure is very labor-intensive, even when the DBA staff knows how to do it.
  
All good DBA's know that every index incurs overhead whenever new records are inserted into a table or the keys of an existing record are changed.  However, it is not uncommon to find databases that are over-indexedresulting in poor query performance and a DBA's nightmare of being unsure of how to provide an appropriate index strategy.  The ideal index strategy is one that utilizes as few indexes as possible, yet includes all of the unique and necessary indexes to enable queries to run quickly.  Unfortunately, determining optimal indexes and finding all of the unused or unnecessary ones can take many weeks of trial and error.
SQLRx provides a report that you can use to see what database tables are burdened with unused or unnecessary indexes, how much additional index overhead is being performed to maintain unused indexes, and how many missing indexes are reported by SQL Server.  Take a look at the Sample Report below (derived from actual production system data):
  
index table

The report documents the following:

(1)  The number of tables that have indexes that are not necessary because their functionality is duplicated by at least one other index.

(2)  The number of indexes that are simply not used. 

(3)  The number of missing indexes reported by SQL Server for each table **

       ** Although the Missing column represents the number of uniquely-identified database requests, these recommendations can often be combined into a small, but comprehensive, set of new indexes. 
  
After providing exactly the indexes that SQL needs, and removing unused and unnecessary indexes, the actual number of indexes often decreases and performance improves,

often significantly, because overhead has been reduced and queries now have an appropriate index structure against which to operate.

  
Consider using SQLRx's Index Diagnosis to measure your index overhead and better understand those steps that can be taken to reduce overhead and optimize query performance.  As a Special Offering to SQLRx Tip Of The Month Subscribers, this service is available to you for $995.  Typically, this is a $2,500 Service.  Index Diagnosis fees may be applied in some circumstances toward services to optimize Indexes or other SQLRx services.
  
As always, SQLRx loads NO executables or code on your server environment.  Our Index Diagnosis collects native SQL metrics from numerous sources to provide this summary and the same data can be utilized to provide specific recommendations regarding index structure optimization.
________________________________________________________________________________
If you need help avoiding incidences such as this, please contact me regarding RemoteDBA services. It's also good practice to regularly monitor the 11 VitalSigns used by SQLRx to debug performance bottlenecks.

You can access SQLRx training videos at www.msdev.com, a Microsoft training site!  Check the site periodically to view new training videos.
 
If you have a SQL question you'd like us to answer, and possibly use for the next SQLRx Tip of the Month or msdev video, email it to us!  If you missed any of our previous tips, you can view them here.

For assistance or more information on optimizing your SQL Server Environment, visit us at www.sqlrx.com or email Lori Brown at lorib@isi85.com.


Sincerely,

Lori Brown | SQLRx Senior Consultant | Integrated Services, Inc.
4144 N. Central Expwy, Suite 430  |  Dallas, TX  75204
Phone: 214.526.7680 x 113 | lorib@isi85.com 

 

 

Integrated Services, Inc.                                    
2008 winner logo small
Turning Data Into Profit

 

25 Years of Credibility & Trust

 

Join our email list          Check out our events          SQLRx Downloads