Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Stored outlines = plan stabilization

Stored outlines = plan stabilization

From: Fedock, John (KAM.RHQ) <John.Fedock_at_us.kline.com>
Date: Fri, 30 Jan 2004 14:25:44 -0500
Message-ID: <5042FDC675779848A113F70D54F5874905F127D0@KAMRICEXCLUS.us.kline.com>


Resending this to the new group ...  

I have been trying to get stored outlines to work. It seems simple enough, but it is working the exact opposite as I think it should. Anyone else use these? I am on 8.1.7.4 on HP-UX 11.00  

In a nutshell, I verify my query is using the correct explain plan. I grant 'create any outline' to the users.  

Then, I do:  

alter system set use_stored_outlines = true  

ALTER SESSION SET CREATE_STORED_OUTLINES=true; select * from edi_monitor_vw;
ALTER SESSION SET CREATE_STORED_OUTLINES=false;  

I can see the outline in DBA_OUTLINES and also in outln.ol$  

If I open another session and run the query, it is NOT using the correct explain plan.  

If I 'alter system set use_stored_outlines = false;' then the query uses the correct plan.  

I also noticed that outline_category in v$sql is NULL. Does this mean that they outline is not being used? I assume not.  

Thanks all,  

John      

John Fedock
"K" Line America, Inc.
www.kline.com
* john.fedock_at_us.kline.com

John Fedock
"K" Line America, Inc.
www.kline.com
* 804.327.4444


Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Fri Jan 30 2004 - 13:25:44 CST

Original text of this message

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