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: OPTIMIZER

Re: OPTIMIZER

From: Stephen Bell <stephen.bell_at_cgi.ca>
Date: Fri, 10 Aug 2001 12:16:43 -0400
Message-ID: <_PTc7.49316$jA2.4289346@news20.bellglobal.com>

Hi Anthony,

To find its existing value you can use the v$parameter view:

SQL> select value from v$parameter
  2 where name = 'optimizer_mode';

VALUE



CHOOSE SQL> You could do this before you alter session to see the 'original value'. Hope this helps,
Steve

"Anthony Millard" <Anthony.Millard_at_Ramesys.Com> wrote in message news:euRc7.23422$e%3.2537773_at_news2-win.server.ntlworld.com...
> Is it possible to find out which optimizer goal has been decided in
> SQL_PLUS.
> I can use the
> alter session set optimizer_goal = FIRST_ROWS;
> to set it to a neww value, however, how do I find out the original value.
>
> Regards
> Anthony.Millard_at_Ramesys.Com
>
>
Received on Fri Aug 10 2001 - 11:16:43 CDT

Original text of this message

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