Revealing the Secrets to Coding SQL | eWeek

Revealing the Secrets to Coding SQL

Nov 6, 2002
2 minute read
eWeek content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More

“SQL Performance Tuning” is a book that will take the database developer to the next level. This book will help the experienced SQL programmer make his or her code sing in terms of efficiency of code and optimization of data retrieval.

Peter Gulutzan and Trudy Pelzer do a wonderful job explaining the methods behind the madness of the most common SQL commands. They take the top eight SQL database products and compare each of them in terms of how they use standard commands. At the same time, the authors show you how to optimize your code and demonstrate the performance gains that you will see when the updated code is executed.

The top eight SQL database products covered in this publication are: IBMs DB2, IBMs Informix, Computer Associates Ingres, Borlands Interbase, Microsoft SQL Server, the open source MySQL, Oracle and Sybase. For each standard command on each platform, the authors not only show you how to tune your code to make it run more efficiently, they also explain in great detail why the new code works better. This is a wonderful addition as it helps the programmer to get behind the tools and better understand what is going on within them. With that understanding, the programmer will have the skills needed to fine-tune code for maximum efficiency in the future.

This book covers all the major commands within the SQL standard and also warns you of any anomalies within the specific tools to watch out for. The SELECT command, for example, is covered in great detail. And all the optional portions of the command like GROUP BY and ORDER BY are covered to show just how the SQL products are retrieving the information.

All the aspects of using a SQL tool are also covered very well. “SQL Performance Tuning”, for example, provides definitions of tables and helps the reader understand the decisions that need to be made on the datatypes in the tables columns. In addition, the book shows how to best use indexes and how stored procedures are used. If a specific tool does not have a certain feature, you are informed of that as well. For example, the MySQL tool does not currently support stored procedures.

The authors also add a performance gain gage at the end of each discussion showing the reader just how much better the new code using recommended optimizations executes on each of the eight database platforms.

This book from Addison-Wesley will be very useful to any programmer who has a good understanding of how to use the SQL language and wants to produce code that runs as smoothly as possible. At its reasonable price, “SQL Performance Tuning” should be a useful addition to your library.

  • Title: SQL Performance Tuning
  • Authors: Peter Gulutzan
  • Publisher: Addison Wesley (www.aw.com)
  • Length: 495 pages
  • Length: 44.95 pages

Peter MacIntyre is involved in custom software development, design and architecture. He lives in Prince Edward Island, Canada. Other reviews by Peter can be found at http://wwrg.cjb.net.

eWeek Logo

eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site's focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.