RE: Stored Outline

From: Allen, Brandon <Brandon.Allen_at_OneNeck.com>
Date: Thu, 23 Jul 2009 10:14:36 -0700
Message-ID: <64BAF54438380142A0BF94A23224A31E112900AA9B_at_ONEWS06.oneneck.corp>



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-l
Received on Thu Jul 23 2009 - 12:14:36 CDT

Original text of this message