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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> > 
> > 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: [EMAIL PROTECTED] (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
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> 
> 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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to