Re: Stored Outline
Date: Thu, 23 Jul 2009 12:08:31 -0700
Message-ID: <c5363d3a0907231208k51737936jb73bac493003936b_at_mail.gmail.com>
Thanks brandon. I forgot to give that information before. outline category column in v$sql for that cursor was empty and that's what made me think outlines be skipped, if enabled, valid and a exact match of the query. May be i'm hitting a bug.
Stalin
On Thu, Jul 23, 2009 at 10:14 AM, Allen,
Brandon<Brandon.Allen_at_oneneck.com> wrote:
> The dba_outlines.used column only shows if it's _ever_ been used - even once. I think what you want to check is the outline_category column in v$sql to see if a given cursor is using the outline or not. If use_stored_outlines=true, the outline is valid, and the query matches exactly, then the outline should always be used regardless of bind variable values.
>
> Regards,
> Brandon
>
>
>
> Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it.
>
-- http://www.freelists.org/webpage/oracle-lReceived on Thu Jul 23 2009 - 14:08:31 CDT