dbTalk Databases Forums  

Do stored outlines work in Oracle 10.2.0.3?

comp.databases.oracle.server comp.databases.oracle.server


Discuss Do stored outlines work in Oracle 10.2.0.3? in the comp.databases.oracle.server forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
zigzagdna@yahoo.com
 
Posts: n/a

Default Do stored outlines work in Oracle 10.2.0.3? - 06-15-2008 , 06:39 AM






I am using 10.2.0.3 on HP UNIX 11i. I set cursor_sharing=exact.

I created a stored outline using:
alter session set create_stored_outlines='CUSTOM';
my sql_statement;


When I run the sql statement and verify in v$sql whether outline was
used by looking at outline_category and yes outline is used.

But then I run dbms_stat on an underlying table and run my sql again,
my plan has changed which means outline was not used. This is really
baffling, if outline was used,
Plan should be same as what was produced when creating outline.
Something is
Definitely wrong.

I treied different values of cusror_sharing and none worked.

Reply With Quote
  #2  
Old   
zigzagdna@yahoo.com
 
Posts: n/a

Default Re: Do stored outlines work in Oracle 10.2.0.3? - 06-15-2008 , 03:53 PM






On Jun 15, 7:39*am, zigzag... (AT) yahoo (DOT) com wrote:
Quote:
I am using 10.2.0.3 on HP UNIX 11i. I set cursor_sharing=exact.

I created a stored outline using:
alter session set create_stored_outlines='CUSTOM';
my sql_statement;

When I run the sql statement and verify in v$sql whether outline was
used by looking at outline_category and yes outline is used.

But then I run dbms_stat on an underlying table and run my sql again,
my plan has changed which means outline was not used. This is really
baffling, if outline was used,
Plan should be same as what was produced when creating outline.
Something is
Definitely wrong.

I treied different values of cusror_sharing and none worked.
I found they do not work when cusror_sharing=force, otherwise they
work.


Reply With Quote
  #3  
Old   
zigzagdna@yahoo.com
 
Posts: n/a

Default Re: Do stored outlines work in Oracle 10.2.0.3? - 06-15-2008 , 03:53 PM



On Jun 15, 7:39*am, zigzag... (AT) yahoo (DOT) com wrote:
Quote:
I am using 10.2.0.3 on HP UNIX 11i. I set cursor_sharing=exact.

I created a stored outline using:
alter session set create_stored_outlines='CUSTOM';
my sql_statement;

When I run the sql statement and verify in v$sql whether outline was
used by looking at outline_category and yes outline is used.

But then I run dbms_stat on an underlying table and run my sql again,
my plan has changed which means outline was not used. This is really
baffling, if outline was used,
Plan should be same as what was produced when creating outline.
Something is
Definitely wrong.

I treied different values of cusror_sharing and none worked.
I found they do not work when cusror_sharing=force, otherwise they
work.


Reply With Quote
  #4  
Old   
zigzagdna@yahoo.com
 
Posts: n/a

Default Re: Do stored outlines work in Oracle 10.2.0.3? - 06-15-2008 , 03:53 PM



On Jun 15, 7:39*am, zigzag... (AT) yahoo (DOT) com wrote:
Quote:
I am using 10.2.0.3 on HP UNIX 11i. I set cursor_sharing=exact.

I created a stored outline using:
alter session set create_stored_outlines='CUSTOM';
my sql_statement;

When I run the sql statement and verify in v$sql whether outline was
used by looking at outline_category and yes outline is used.

But then I run dbms_stat on an underlying table and run my sql again,
my plan has changed which means outline was not used. This is really
baffling, if outline was used,
Plan should be same as what was produced when creating outline.
Something is
Definitely wrong.

I treied different values of cusror_sharing and none worked.
I found they do not work when cusror_sharing=force, otherwise they
work.


Reply With Quote
  #5  
Old   
zigzagdna@yahoo.com
 
Posts: n/a

Default Re: Do stored outlines work in Oracle 10.2.0.3? - 06-15-2008 , 03:53 PM



On Jun 15, 7:39*am, zigzag... (AT) yahoo (DOT) com wrote:
Quote:
I am using 10.2.0.3 on HP UNIX 11i. I set cursor_sharing=exact.

I created a stored outline using:
alter session set create_stored_outlines='CUSTOM';
my sql_statement;

When I run the sql statement and verify in v$sql whether outline was
used by looking at outline_category and yes outline is used.

But then I run dbms_stat on an underlying table and run my sql again,
my plan has changed which means outline was not used. This is really
baffling, if outline was used,
Plan should be same as what was produced when creating outline.
Something is
Definitely wrong.

I treied different values of cusror_sharing and none worked.
I found they do not work when cusror_sharing=force, otherwise they
work.


Reply With Quote
  #6  
Old   
zigzagdna@yahoo.com
 
Posts: n/a

Default Re: Do stored outlines work in Oracle 10.2.0.3? - 06-15-2008 , 03:53 PM



On Jun 15, 7:39*am, zigzag... (AT) yahoo (DOT) com wrote:
Quote:
I am using 10.2.0.3 on HP UNIX 11i. I set cursor_sharing=exact.

I created a stored outline using:
alter session set create_stored_outlines='CUSTOM';
my sql_statement;

When I run the sql statement and verify in v$sql whether outline was
used by looking at outline_category and yes outline is used.

But then I run dbms_stat on an underlying table and run my sql again,
my plan has changed which means outline was not used. This is really
baffling, if outline was used,
Plan should be same as what was produced when creating outline.
Something is
Definitely wrong.

I treied different values of cusror_sharing and none worked.
I found they do not work when cusror_sharing=force, otherwise they
work.


Reply With Quote
  #7  
Old   
zigzagdna@yahoo.com
 
Posts: n/a

Default Re: Do stored outlines work in Oracle 10.2.0.3? - 06-15-2008 , 03:53 PM



On Jun 15, 7:39*am, zigzag... (AT) yahoo (DOT) com wrote:
Quote:
I am using 10.2.0.3 on HP UNIX 11i. I set cursor_sharing=exact.

I created a stored outline using:
alter session set create_stored_outlines='CUSTOM';
my sql_statement;

When I run the sql statement and verify in v$sql whether outline was
used by looking at outline_category and yes outline is used.

But then I run dbms_stat on an underlying table and run my sql again,
my plan has changed which means outline was not used. This is really
baffling, if outline was used,
Plan should be same as what was produced when creating outline.
Something is
Definitely wrong.

I treied different values of cusror_sharing and none worked.
I found they do not work when cusror_sharing=force, otherwise they
work.


Reply With Quote
  #8  
Old   
zigzagdna@yahoo.com
 
Posts: n/a

Default Re: Do stored outlines work in Oracle 10.2.0.3? - 06-15-2008 , 03:53 PM



On Jun 15, 7:39*am, zigzag... (AT) yahoo (DOT) com wrote:
Quote:
I am using 10.2.0.3 on HP UNIX 11i. I set cursor_sharing=exact.

I created a stored outline using:
alter session set create_stored_outlines='CUSTOM';
my sql_statement;

When I run the sql statement and verify in v$sql whether outline was
used by looking at outline_category and yes outline is used.

But then I run dbms_stat on an underlying table and run my sql again,
my plan has changed which means outline was not used. This is really
baffling, if outline was used,
Plan should be same as what was produced when creating outline.
Something is
Definitely wrong.

I treied different values of cusror_sharing and none worked.
I found they do not work when cusror_sharing=force, otherwise they
work.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.