We have a 8.0.4 database using choose optimizer. We have a query that access
a single table using index.

If we analyze the table and indexes - query takes 8 min to complete

If we analyze table and then delete stats on indexes - query runs in two

Explain plan is the same in both cases. I did a event 10053 trace but could
not find any difference between the choices the CBO makes except when the
indexes are not analyzed it thinks the cost is low.

Any ideas why the query would execute faster - with the same explain plan -
if the CBO thinks its cost is low ?

PS : We ruled out the effects of caching in the buffer by reversing the
order of the tests..


Please see the official ORACLE-L FAQ: http://www.orafaq.net
Author: Oracle-L
INET: orclbabu_at_hotmail.com

Fat City Network Services -- 858-538-5051 http://www.fatcity.com
San Diego, California -- Mailing list and web hosting services

To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
grouporacle-l @
postedOct 10, '03 at 9:44p
activeOct 11, '03 at 1:04a

2 users in discussion

Oracle-L: 1 post Wolfgang Breitling: 1 post



site design / logo © 2023 Grokbase