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: sql_Trace and tkprof

Re: sql_Trace and tkprof

From: Umar FArooq <umar.farooq_at_cressoft.com.pk>
Date: Mon, 22 Jun 1998 18:21:32 +0500
Message-ID: <358E5A5B.3184727E@cressoft.com.pk>


Thomas Kyte wrote:

> platform?
> version?
> how are you doing the tracing...
> etc, etc, etc?

Oracle 7.3.2 on UNIX

> If you are doing something like:
>
> SQL> alter session set sql_trace=true;
> SQL> select count(*) from emp;
> SQL> alter session set sql_trace=false;
>

I dont set sql_trace to false

> You'll get rowcounts of zero (using sql_trace=false) since the row
> counts are
> not written to the trace file until the cursor is CLOSED and sqlplus
> doesn't
> close the cursors right away. By doing the sql_trace=false, you've
> closed the
> trace file before the cursor data was traced.
>
> >
Received on Mon Jun 22 1998 - 08:21:32 CDT

Original text of this message

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