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

The Number One Performance Myth

Whether it’s in the realm of database technology or any other discipline, some maxims are circulated in hushed tones so much that they are taken literally as fact and never questioned, especially when supposed experts mouth the words. Such is the case with the following database performance myth:

“Eighty percent of a database’s overall performance is derived from the code that is written against it.”

This is a complete untruth, or at the very least, an overestimation of the impact that properly written SQL code has against a running physical database. Good coding practices definitely count, often heavily, toward the success of any database application; however, to state affirmatively that they make a contribution of over two-thirds is a stretch.

The reason this cannot pass the reality test is that it is stated independently of what good or bad code can do in the face of poor physical design. The performance problem example presented earlier in this chapter is a shining example of how wrong this adage is.

The physical design constrains all code, good or bad, and has the capability to turn even the best written SQL into virtual molasses. After all, how can an SQL developer obtain unique key index access unless the physical index has been created and is in place? How can a database coder scan only the parts of a table that they need unless that table has been partitioned (SQL Server 2005 and above) to accommodate such a request? Only when a solid physical design is put in place that truly fits the application can SQL code really take off and make for impressive response times. But, good design comes first.


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