image
CHAPTER
6
Using EXPLAIN and SQL PLAN MANAGMENT (Developer and DBA)
image
Finding and fixing problem queries has a lot to do with using the tools that are available. Different tools need to be used for different situations. The tools covered in this chapter are Oracle’s provided utilities: SQL TRACE (deprecated, but still works in 11g), TKPROF, EXPLAIN PLAN, and STORED OUTLINES (also known as PLAN STABILITY). With Oracle 10g, these tools were enhanced, including the addition of the DBMS_MONITOR and DBMS_SESSION packages and TRCSESS. The SQL tracing options ...

Get Oracle Database 11g Release 2 Performance Tuning Tips & Techniques now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.