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: sqlnet trace in ProC app

Re: sqlnet trace in ProC app

From: Toby T. <eric_petersonNOerSPAM_at_maurices.inrg.com.invalid>
Date: 2000/04/11
Message-ID: <0ab30d68.9ed7d446@usw-ex0105-038.remarq.com>#1/1

First of all, make sure that timed statistics are turned on in the database and run utlbstat. The reason why you want timed statistics on is when you tkprof the trace file, you will then get the time taken to execute, parse and fetch for each statement.

Another way to turn on tracing in the program is the following statement after you log into the database: EXEC SQL EXECUTE IMMEDIATE 'alter session set sql_trace=TRUE';

HTH
Toby T.

Received on Tue Apr 11 2000 - 00:00:00 CDT

Original text of this message

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