Oracle SQL Tuning Pocket Reference

Oracle SQL Tuning Pocket Reference

3.42 (26 ratings by Goodreads)
By (author) 

Free delivery worldwide

Available. Dispatched from the UK in 3 business days
When will my order arrive?


In this book, Mark Gurry shares his in-depth knowledge of Oracle's SQL statement optimizers. Mark's knowledge is the result of many hard-fought tuning battles during his many years of providing Oracle tuning services to clients. Mark provides insights into the workings of the rule-based optimizer that go well beyond what the rules tell you. He also provides solutions to many common problems that occur with both the rule-based and cost-based optimizers. In addition to the specific problem/solution scenarios for the optimizers, the book provides a number of SQL tuning tips. It discusses the various optimizer hints, telling you when they can be used to good effect. Finally, it discusses the use of the DBMS_STATS package to manage database statistics, and the use of outlines to specify execution plans for SQL statements in third-party applications that you can't otherwise modify..
show more

Product details

  • Paperback | 100 pages
  • 108 x 177 x 5.84mm | 100g
  • Sebastopol, United States
  • English
  • 0596002688
  • 9780596002688
  • 500,909

Table of contents

The SQL optimizers - understanding the rule-based optimizer, understanding the cost-based optimizer, some common optimizer misconceptions, which optimizer to use?; rule-based optimizer problems and solutions - problem 1 - incorrect driving table, problem 2 - incorrect index, problem 3 - incorrect driving index, problem 4 - using the ORDER BY index and not the WHERE index; cost-based optimizer problems and solutions - problem 1 - the skewness problem, problem 2 - analyzing with wrong data, problem 3 - mixing the optimizers in joins, problem 4 - choosing an inferior index, problem 5 - joining too many tables, problem 6 - incorrect INIT.ORA parameter settings; problems common to rule and cost with solutions - problem 1 - statement not written for indexes, problem 2 - indexes are missing or inappropriate, problem 3 - use of single-column index merge, problem 4 - misuse of nested loop, sort merge, or hash join, problem 5 - misuse of IN, EXISTS, NOT IN, NOT EXISTS, or table joins, problem 6 - unnecessary sorts, problem 7 - too many indexes on a table, problem 8 - use of OR instead of UNION, problem 9 - tables and indexes with many deletes, other problems - heavy usage of views, other problems - joining too many tables; handy SQL tuning tips - identify bad SQL, identify long-running SQL statements, use DECODE for IF/ELSE selection, encourage bind variables; using SQL hints - when are hints ignored?, using hints in views, available hints; using DBMS_STATS to manage statistics - using DBMS_STATS to analyze faster copying statistics, using dBMS_STATS Manipulating statistics using DBMS_STATS, reverting to previous statistics; using outlines for consistent execution plans - recording outlines, enabling outlines, managing outlines.
show more

About Mark Gurry

Mark Gurry is owner and President of Mark Gurry & Associates, a 50 person consulting company that provides end-to-end IT services, including 24 x 7 database administration, Web, GUI and back-end development, advice on architecture, business analysis, and design. The Company's performance skills are known worldwide. Mark's and his consultants' short-term site audits, tuning expertise, and internal skills transfer are keenly sought after, and Mark Gurry & Associates is often classified as being the Company to seek out when "only the absolute best will do". Mark Gurry & Associates is headquartered in Australia, and has recently expanded to Seattle in the United States. The Company also has several clients in the UK, New Zealand, and in Asia. Mark's customers are in many areas, including electricity; legal; the stock market; banking and finance; telecommunications; emergency services; and local, state, and federal governments.
show more

Rating details

26 ratings
3.42 out of 5 stars
5 19% (5)
4 27% (7)
3 35% (9)
2 15% (4)
1 4% (1)
Book ratings by Goodreads
Goodreads is the world's largest site for readers with over 50 million reviews. We're featuring millions of their reader ratings on our book pages to help you find your new favourite book. Close X