P. 1
OPDG Query Tuning

OPDG Query Tuning

|Views: 214|Likes:

More info:

Published by: Zahamanarivo Razafindramaka on May 16, 2011
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less






  • Query Tuning > Identify the Issue > Overview
  • q Recognize a query tuning issue
  • Recognize a Query Tuning Issue
  • Clarify the Issue
  • Verify the Issue
  • Special Considerations
  • Next Step - Data Collection
  • Query Tuning > Identify the Issue >Data Collection
  • Gather an Extended SQL Trace
  • Verify the Problem Query using TKProf
  • Next Step - Determine a Cause
  • Would You Like to Stop and Log a Service Request?
  • Query Tuning > Determine a Cause >Overview
  • Query Tuning > Determine a Cause >Data Collection
  • Gather the Query's Execution Plan [Mandatory]
  • Gather Comprehensive Information about the Query
  • Gather Historical Information about the Query
  • Construct a Test Script
  • Next Step - Analyze
  • Query Tuning > Determine a Cause >Analysis
  • Always Check: Optimizer Mode, Statistics, and Parameters
  • Choose a Tuning Strategy
  • Open a Service Request with Oracle Support Services
  • Query Tuning > Reference
  • Optimizer Mode, Statistics, and Initialization Parameters
  • Access Path
  • Incorrect Selectivity or Cardinality
  • Predicates and Query Transformation
  • Join Order and Type
  • Miscellaneous Causes and Solutions

The data collected in the previous step will be analyzed in this step to determine a cause. It is very important to ensure the data has been collected as completely
as possible and for good as well as bad plans.

This process always starts by sanity checking the statistics, optimizer mode, and important initialization parameters and follows with the choice of a tuning strategy
that matches your problem and objectives.

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->