Description

Book Synopsis
Dan Tow outlines a timesaving method he has 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

Table of Contents
Foreword Preface 1. Introduction Why Tune SQL? Who Should Tune SQL? How This Book Can Help A Bonus Outside-the-Box Solutions 2. Data-Access Basics Caching in the Database Tables Indexes Uncommon Database Objects Single-Table Access Paths Calculating Selectivity Joins 3. Viewing and Interpreting Execution Plans Reading Oracle Execution Plans Reading DB2 Execution Plans Reading SQL Server Execution Plans 4. Controlling Execution Plans Universal Techniques for Controlling Plans Controlling Plans on Oracle Controlling Plans on DB2 Controlling Plans on SQL Server 5. Diagramming Simple SQL Queries Why a New Method? Full Query Diagrams Interpreting Query Diagrams Simplified Query Diagrams Exercises 6. Deducing the Best Execution Plan Robust Execution Plans Standard Heuristic Join Order Simple Examples A Special Case A Complex Example Special Rules for Special Cases Exercise 7. Diagramming and Tuning Complex SQL Queries Abnormal Join Diagrams Queries with Subqueries Queries with Views Queries with Set Operations Exercise 8. Why the Diagramming Method Works The Case for Nested Loops Choosing the Driving Table Choosing the Next Table to Join Summary 9. Special Cases Outer Joins Merged Join and Filter Indexes Missing Indexes Unfiltered Joins Unsolvable Problems 10. Outside-the-Box Solutions to Seemingly Unsolvable Problems When Very Fast Is Not Fast Enough Queries that Return Data from Too Many Rows Tuned Queries that Return Few Rows, Slowly A. Exercise Solutions B. The Full Process, End to End Glossary Index

SQL Tuning

    Product form

    £27.19

    Includes FREE delivery

    RRP £31.99 – you save £4.80 (15%)

    Order before 4pm today for delivery by Thu 11 Jun 2026.

    A Paperback by Dan Tow

    Out of stock


      View other formats and editions of SQL Tuning by Dan Tow

      Publisher: O'Reilly
      Publication Date: 11/26/2003 12:00:00 AM
      ISBN13: 9780596005733, 978-0596005733
      ISBN10: 0596005733

      Description

      Book Synopsis
      Dan Tow outlines a timesaving method he has 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

      Table of Contents
      Foreword Preface 1. Introduction Why Tune SQL? Who Should Tune SQL? How This Book Can Help A Bonus Outside-the-Box Solutions 2. Data-Access Basics Caching in the Database Tables Indexes Uncommon Database Objects Single-Table Access Paths Calculating Selectivity Joins 3. Viewing and Interpreting Execution Plans Reading Oracle Execution Plans Reading DB2 Execution Plans Reading SQL Server Execution Plans 4. Controlling Execution Plans Universal Techniques for Controlling Plans Controlling Plans on Oracle Controlling Plans on DB2 Controlling Plans on SQL Server 5. Diagramming Simple SQL Queries Why a New Method? Full Query Diagrams Interpreting Query Diagrams Simplified Query Diagrams Exercises 6. Deducing the Best Execution Plan Robust Execution Plans Standard Heuristic Join Order Simple Examples A Special Case A Complex Example Special Rules for Special Cases Exercise 7. Diagramming and Tuning Complex SQL Queries Abnormal Join Diagrams Queries with Subqueries Queries with Views Queries with Set Operations Exercise 8. Why the Diagramming Method Works The Case for Nested Loops Choosing the Driving Table Choosing the Next Table to Join Summary 9. Special Cases Outer Joins Merged Join and Filter Indexes Missing Indexes Unfiltered Joins Unsolvable Problems 10. Outside-the-Box Solutions to Seemingly Unsolvable Problems When Very Fast Is Not Fast Enough Queries that Return Data from Too Many Rows Tuned Queries that Return Few Rows, Slowly A. Exercise Solutions B. The Full Process, End to End Glossary Index

      Recently viewed products

      © 2026 Book Curl

        • American Express
        • Apple Pay
        • Diners Club
        • Discover
        • Google Pay
        • Maestro
        • Mastercard
        • PayPal
        • Shop Pay
        • Union Pay
        • Visa

        Login

        Forgot your password?

        Don't have an account yet?
        Create account