Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Explain Plan vs Actual Execution Plan

Re: Explain Plan vs Actual Execution Plan

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Thu, 20 Mar 2003 23:52:53 -0000
Message-Id: <24726.322594@fatcity.com>


The really cute thing about the need for global statistics to be reasonable - a few pages further on you'll find the comment that in 8i you can't generate global histograms ! (Fixed in 9i)

Regards

Jonathan Lewis
http://www.jlcomp.demon.co.uk

One-day tutorials:
(see http://www.jlcomp.demon.co.uk/tutorial.html )

____UK_______April 8th
____UK_______April 22nd
____Denmark May 21-23rd
____USA_(FL)_May 2nd


The three-day seminar:
(see http://www.jlcomp.demon.co.uk/seminar.html )

____UK_(Manchester)_May
____USA_(CA, TX)_August

The Co-operative Oracle Users' FAQ
http://www.jlcomp.demon.co.uk/faq/ind_faq.html

> This query was reading data from 5 or 6 partitions of a 54 partition
table.
> That's important information because a couple of weeks ago I was
reading
> the "Oracle 8i Designing and Tuning for Performance" document and
came across this statement:
> "Unless the query predicate narrows the query to a single partition,
the
> optimizer uses the global statistics. Because most queries are not
likely
> to be this restrictive, it is most important to have accurate global
statistics."
> Pretty interesting to think about. It's gather stats global and
Received on Thu Mar 20 2003 - 17:52:53 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US