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

Home -> Community -> Usenet -> c.d.o.server -> Re: please help with stored outlines

Re: please help with stored outlines

From: Jusung Yang <JusungYang_at_yahoo.com>
Date: 14 Jun 2003 09:03:35 -0700
Message-ID: <130ba93a.0306140803.94d1b87@posting.google.com>


"Niall Litchfield" <niall.litchfield_at_dial.pipex.com> wrote in message news:<3eea133f$0$19598$cc9e4d1f_at_news.dial.pipex.com>...
> "Ryan" <rgaffuri_at_cox.net> wrote in message
> news:577Ga.12036$Id7.10856_at_news2.east.cox.net...
> > However its using different copies of the same tables. The tables have the
> > same names, they are just owned by a different user and stored in a
> > different tablespace. is it possible to use the outline for this purpose?
>
> I can't see how this would be possible, (doesn't mean it isn't). Suppose
> User B has objects of a different type with the same name, it would be
> somewhat daft for Oracle to try to use the same (invalid) execution plan.
>
>
> --
> Niall Litchfield
> Oracle DBA
> Audit Commission UK
> *****************************************
> Please include version and platform
> and SQL where applicable
> It makes life easier and increases the
> likelihood of a good answer
> ******************************************

Parsing, at least soft parsing still needs to take place, of course. If there is any table structural or access privilege problem, ORACLE will let you know about it. This does not need to happen in a different schema. It can happen in the same schema as well between the time you generate the outlines and the time you want to use them.

A couple of other similar issues are:
* What if the original plan uses an index range scan, but the index has been lost by the time you want to use the outlines? Well, ORACLE still looks up the outline table and finds a match. ORACLE tries to use the plan by way of hints stored in the outline tables. Index access is not possible, hints are ignored and a different access path is chosen.

As far as I can see, this is how ORACLE handles the outlines is these situations.

Received on Sat Jun 14 2003 - 11:03:35 CDT

Original text of this message

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