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: query tuning using tkprof80

Re: query tuning using tkprof80

From: Franz Mueller <franz.mueller_at_orbis.de>
Date: Mon, 05 Jul 1999 15:41:53 GMT
Message-ID: <3780d1b3.28845177@news.salink.net>


Yes, I know that with "alter session set_sql_trace=true" I can trace THIS connection. What I want to do is tracing another connection centrally from the server. So I should have the possibility to specify a "sid".

Thanks
Franz

On Fri, 02 Jul 1999 21:27:54 GMT, student <ennaadu_at_my-deja.com> wrote:

>In article <377ced1d.25100082_at_news.salink.net>,
> franz.mueller_at_orbis.de (Franz Mueller) wrote:
>> Hi,
>>
>> I would like to trace the queries from a given app. How can I make a
>> trace file that I could later analyze with "tkprof80"?
>> If I try the "dbms_system.set_sql_trace_in_session(sid,serial,true)" I
>> get a "identifier must be declared" error message. What is wrong?
>>
>> Thank you
>> Franz
>>
>
>Hi franz,
> login as sys or system and try " alter session set sql_trace=true;".
>Prior to that you need to set up the value for the parameter
>user_dump_dest in init.ora file. The trace files will be created in the
>directory you mention in user_dump_dest. Before executing a statement
>you can enable this tracing and then turn it off.. analyze using
>tkprof.. hope this suggestion helps..
>
>EN Nadu
>
>
>Sent via Deja.com http://www.deja.com/
>Share what you know. Learn what you don't.
Received on Mon Jul 05 1999 - 10:41:53 CDT

Original text of this message

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