yes
what you said was correct for OPTIMIZER PARAMETER.
But in the case of sql_trace parameter it is behaving
in different manner.
trace at db level is false. so in v$param it is false.
i logged into scott/tiger and set the sql_trace to
true.
the strange thing i found was when i issue
show parameters sql_trace from scott it is showing
sql_trace=false
why?
- Christian Trassens <ctrassens_at_yahoo.com> wrote:
> When you run an alter session to change session
> parameter as optimizer_goal or sql_trace and then
> you
> issue a show parameters, it shows you the values at
> session level.
>
> Regards.
>
>
> --- prasad maganti <prasadm_g_at_yahoo.com> wrote:
> > hi dba's
> >
> > can anybody clarify me the flwng:
> >
> > at database level the parameter
> > optimizer_mode=choose.
> > and i connected to scott and i set the
> > optimizer_goal=
> > rule.
> >
> > when i see from scott using
> > sql>show parameters optimizer
> > the value is shown as RULE
> >
> > where as from connect internal
> > SVRMGR>SHOW PARAMETERS OPTIMIZER
> > showing CHOOSE.
> >
> > But in the case of SQL_TRACE the system is showing
> > the
> > only value that is set at database level.
> >
> > even if i set sql_trace=false in scott user and i
> > issued
> > >show parameters sql_trace
> >
> > it is showing only TRUE that is set at database
> > level.
> >
> > why oracle behaves different ways for different
> > parameters.
> >
> > prasad.
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Make international calls for as low as $.04/minute
> > with Yahoo! Messenger
> > http://phonecard.yahoo.com/
> > --
> > Please see the official ORACLE-L FAQ:
> > http://www.orafaq.com
> > --
> > Author: prasad maganti
> > INET: prasadm_g_at_yahoo.com
> >
> > Fat City Network Services -- (858) 538-5051
> FAX:
> > (858) 538-5051
> > San Diego, California -- Public Internet
> > access / Mailing Lists
> >
>
> > To REMOVE yourself from this mailing list, send an
> > E-Mail message
> > to: ListGuru_at_fatcity.com (note EXACT spelling of
> > 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB
> > ORACLE-L
> > (or the name of mailing list you want to be
> removed
> > from). You may
> > also send the HELP command for other information
> > (like subscribing).
>
>
> =====
> Eng. Christian Trassens
> Senior DBA
> Systems Engineer
> ctrassens_at_yahoo.com
> ctrassens_at_hotmail.com
> Phone : 541149816062
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute
> with Yahoo! Messenger
> http://phonecard.yahoo.com/
> --
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> --
> Author: Christian Trassens
> INET: ctrassens_at_yahoo.com
>
> Fat City Network Services -- (858) 538-5051 FAX:
> (858) 538-5051
> San Diego, California -- Public Internet
> access / Mailing Lists
>
> To REMOVE yourself from this mailing list, send an
> E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of
> 'ListGuru') and in
> the message BODY, include a line containing: UNSUB
> ORACLE-L
> (or the name of mailing list you want to be removed
> from). You may
> also send the HELP command for other information
> (like subscribing).
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: prasad maganti
INET: prasadm_g_at_yahoo.com
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
Received on Mon Jul 23 2001 - 03:28:27 CDT