SQL Tuning: Generating Optimal Execution Plans

SQL Tuning: Generating Optimal Execution Plans

by Dan Tow
SQL Tuning: Generating Optimal Execution Plans

SQL Tuning: Generating Optimal Execution Plans

by Dan Tow

Paperback

$39.95 
  • SHIP THIS ITEM
    Qualifies for Free Shipping
  • PICK UP IN STORE
    Check Availability at Nearby Stores

Related collections and offers


Overview

A poorly performing database application not only costs users time, but also has an impact on other applications running on the same computer or the same network. SQL Tuning provides an essential next step for SQL developers and database administrators who want to extend their SQL tuning expertise and get the most from their database applications. There are two basic issues to focus on when tuning SQL: how to find and interpret the execution plan of an SQL statement and how to change SQL to get a specific alternate execution plan. SQL Tuning provides answers to these questions and addresses a third issue that's even more important: how to find the optimal execution plan for the query to use. Author Dan Tow outlines a timesaving method he's developed for finding the optimum execution plan—rapidly and systematically—regardless of the complexity of the SQL or the database platform being used. You'll learn how to understand and control SQL execution plans and how to diagram SQL queries to deduce the best execution plan for a query. Key chapters in the book include exercises to reinforce the concepts you've learned. SQL Tuning concludes by addressing special concerns and unique solutions to "unsolvable problems." Whether you are a programmer who develops SQL-based applications or a database administrator or other who troubleshoots poorly tuned applications, SQL Tuning will arm you with a reliable and deterministic method for tuning your SQL queries to gain optimal performance.

Product Details

ISBN-13: 9780596005733
Publisher: O'Reilly Media, Incorporated
Publication date: 11/26/2003
Pages: 336
Product dimensions: 7.00(w) x 9.19(h) x 0.81(d)

About the Author

Dan Tow is an independent consultant, operating under the banner SingingSQL (www.singingsql.com). His experience solving Oracle-related performance problems goes all the way back to his 1989 hire by Oracle Corporation. During most of his tenure at Oracle, Dan focused on the performance of Oracle Applications, managing the performance group for that division. In this role, he found a fertile testing ground for his SQL tuning method applied to the huge set of complex SQL included in those applications, including both online SQL and diverse batch processes. In 1998, Dan left Oracle to lead performance for TenFold Corporation, where he applied the same methods to tuning questions on DB2, and SQL Server, and Sybase, as well as on Oracle. In 2002, Dan started his own business, SingingSQL, through which he offers diverse database-related tuning services, including SQL tuning and systematically analyzing load to learn which SQL should be tuned. He has introduced his SQL tuning method to over 1,000 people in short lectures, and now offers in-depth courses in the material, using this book as textbook. Dan has a Ph.D. in chemical engineering from the Universityof Wisconsin at Madison. He lives in Palo Alto, California, and can be reached at dantow@singingsql.com.

Table of Contents

  • Dedication
  • Foreword
  • Preface
  • Chapter 1: Introduction
  • Chapter 2: Data-Access Basics
  • Chapter 3: Viewing and Interpreting Execution Plans
  • Chapter 4: Controlling Execution Plans
  • Chapter 5: Diagramming Simple SQL Queries
  • Chapter 6: Deducing the Best Execution Plan
  • Chapter 7: Diagramming and Tuning Complex SQL Queries
  • Chapter 8: Why the Diagramming Method Works
  • Chapter 9: Special Cases
  • Chapter 10: Outside-the-Box Solutions to Seemingly Unsolvable Problems
  • Appendix A: Exercise Solutions
  • Appendix B: The Full Process, End to End
  • Glossary
  • Colophon
From the B&N Reads Blog

Customer Reviews