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: Index rebuilding

Re: Index rebuilding

From: Wolfgang Breitling <breitliw_at_centrexcc.com>
Date: Fri, 12 Nov 2004 09:13:07 -0700
Message-Id: <6.1.0.6.2.20041112085351.035d9008@pop.centrexcc.com>


SOMETHING must have changed. Without re-analyzing the optimizer is not aware of any - real or perceived - deterioration of the index. Show me the plan and all stats for both cases.

At 07:57 AM 11/12/2004, Niall Litchfield wrote:

>Now it so happens that a noted author gave these bullet points in a
>presentation at UKOUG which might help us here.
>
>Ways to modify access paths
>
>Change the statement
> Use hint
> Use Stored Outline
> Change statistics
> Create or drop a database object
> Change initialization parameters
>
>I've indented these slightly differently from the original
>presentation, since I regard using a hint and using a stored outline
>as ways of changing the statement.

A hint technically changes the statement (it gets a new hash value) while using a stored outline does not (it retains its hash value, which is the point other wise outlines won't work).
With "Change the statement" I mean totally rewriting the sql so that it is semantically identical (returns the same result) but is syntactically different.

Regards

Wolfgang Breitling
Centrex Consulting Corporation
www.centrexcc.com

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Nov 12 2004 - 10:11:27 CST

Original text of this message

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