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

Home -> Community -> Usenet -> c.d.o.misc -> Re: trace

Re: trace

From: Bola Ogunlana <bolao_at_incads.demon.co.uk>
Date: 1997/05/15
Message-ID: <rmwMrBAig3ezEwyj@incads.demon.co.uk>#1/1

In article <5l7rpo$elf_at_chronicle.concentric.net>, jeff kish <ait_at_concentric.net> writes
>Is it possible for an application to determine that SQL_TRACE is
>turned on? I am trying to trouble shoot a performance problem at a
>customer site and am wondering if SQL_TRACE might be turned on.
>
>If it is could it be causing a performance impact?
>
>Thanks,
>
>Jeff Kish
>ait_at_concentric.net
>

From within the application try the query;

"select value from sys.v$parameter where name = 'sql_trace';"

if "value" is "true" this means that sql tracing is switched on database wide.
For an individual session, you can set tracing on by executing a query like "alter session set sql_trace true;" and off by executing "alter session set sql_trace false;"  

-- 
Bola Ogunlana
Received on Thu May 15 1997 - 00:00:00 CDT

Original text of this message

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