| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.misc -> Re: SQL Trace
"Sha" <ssha53_at_singnet.com.sg> wrote in message
news:bi2kic$3i8$1_at_reader01.singnet.com.sg...
> Hi there
>
> Can someone pls tell me how to activate the SQL Trace for a database ?
> How resource intensive is it ?
Taking the questions in reverse order
It isn't especially expensive in processing and memory usage, though activated for a whole database system all at once it will eat disk space like there is not tomorrow (and not give any useful info either)
To activate it
For your session
For some one else
or -- better (gives more flexibility as to what info to collect) exec dbms_support.start_trace_in_session(<sid>,<serial#>,true,true) exec dbms_support.stop_trace_in_session(<sid>,<serial#>)
For System
You can look up the parameters to dbms_support in the docs I believe. I know Received on Thu Aug 21 2003 - 11:16:51 CDT
![]() |
![]() |