RE: Stored Outline

  • From: "Allen, Brandon" <Brandon.Allen@xxxxxxxxxxx>
  • To: "stalinsk@xxxxxxxxx" <stalinsk@xxxxxxxxx>, Rakesh Tikku <rakesh.tikku@xxxxxxxxx>, oracle-l <oracle-l@xxxxxxxxxxxxx>
  • Date: Thu, 23 Jul 2009 10:14:36 -0700

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.
--
//www.freelists.org/webpage/oracle-l


Other related posts: