data management professional

Practical advice for the hands-on practitioner

Managing ORACLE Statistics for Optimal Performance

Karen Morton has published a very well written paper on Managing Statistics for Optimal Query Performance available at Cary Milsap’s MethodR site (http://www.method-r.com).  The paper discusses ORACLE’s use of statistics in the  query optimizer.  Her suggestions for a adopting a statistics collection strategy including dynamic sampling is good complement to an earlier post I wrote titled  ORACLE Tuning – When the SQL can’t be modified. This paper also includes a terrific discussion of a “bind peeking” (ORACLE 9i and higher –  optimizer behavior as it “peeks” into bind variables in the hard parse phase before query plan decisions are made).  This is a topic I don’t see much written about. Her contribution to understanding the complexity of managing this behavior in the ORACLE optimizer is much appreciated.

Very useful and well written, the paper is available when you visit the Method R site (http://www.method-r.com/downloads) on a regular basis and bookmark this important collection of papers and presentations.

Advertisements

February 19, 2009 - Posted by | Database Management, ORACLE, Performance Tuning | , ,

1 Comment »

  1. I read book from oreilly of same. It is really wonderful.Is there any method available to understand trace files of Oracle for some errors like blocking locks,dead locks?

    Comment by Rahul | February 18, 2010


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: