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: running TKPROF from a Application

Re: running TKPROF from a Application

From: Abu M Rahman <arahman_at_nko.com>
Date: 1997/09/22
Message-ID: <3426AC75.B73CF6E6@nko.com>#1/1

At the beginning of your application use dbms_session.set_trace_on(TRUE);
//codes of your application
dbms_session.set_trace_on(FALSE);

if you can not change the code, you may use the following procedure

 "dbms_system.set_sql_trace_in_session(sid number, serial# number,

                              sql_trace boolean);

Stefan Keller wrote:

> i try to use the Oracle-TKPROF trace utillity, for tuning reasons.
> that works well when i run tkprof from sqlplus, but that way i have to
> copy the sql's into sqlplus environment.
>
> now i tried to run tkprof from my Centura application.
> for that i have to set the TRACE-mode to TRUE
> how can i do that?

--
-------------------------------------------------------------------
Abu M Rahman                     | PHONE: (904) 737-3181 ext. 237
Database Administrator           | FAX  : (904) 739-1984
NKO, Inc.                        | Email: arahman_at_nko.com
-------------------------------------------------------------------
Received on Mon Sep 22 1997 - 00:00:00 CDT

Original text of this message

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