01.09.2016 Views

Beginning Oracle Database 11g Administration From Novice to Professional

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

416<br />

CHAPTER 17 SQL TUNING<br />

Lewis, Jonathan. Cost- Based <strong>Oracle</strong> Fundamentals. Apress, 2005. This book is a scholarly<br />

exposition on the inner workings of <strong>Oracle</strong>’s query optimizer, suitable for the advanced<br />

student who wishes <strong>to</strong> gain some insight in<strong>to</strong> how the optimizer makes its<br />

choices.<br />

Tow, Dan. SQL Tuning. O’Reilly Media, 2003. No single query plan is optimal for all values<br />

of the bind variables when the data has a skewed distribution. In this book, Dan Tow<br />

develops the theory of the robust execution plan. Such plans have only moderate<br />

sensitivity <strong>to</strong> the values of the bind variables (which implies that they continue <strong>to</strong><br />

perform well as your tables grow), and their cost is proportional <strong>to</strong> the number of<br />

rows retrieved. They may not be the most efficient plans in all cases but they are not<br />

very likely <strong>to</strong> be far off the mark. Such plans are conducive <strong>to</strong> stability and predictability<br />

and are obviously very desirable. Various techniques including hints can be<br />

used <strong>to</strong> guide the optimizer <strong>to</strong>ward such plans.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!