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: help:tkprof exlpain returns 0 rows

Re: help:tkprof exlpain returns 0 rows

From: Sybrand Bakker <gooiditweg_at_sybrandb.verwijderdit.demon.nl>
Date: Wed, 04 Aug 2004 19:37:41 +0200
Message-ID: <jl72h0h033vg6p6t1qhgrnnpu73s72tjp4@4ax.com>


On Wed, 04 Aug 2004 12:21:51 GMT, "JoeBayer" <joebayerii_at_hotmail.com> wrote:

>Hi, I am using Oracle 9i on Red Hat Linux.
>
>1) I set event "10046, level=8"
>2) I run the query, and got about 400 rows back
>3) I run "tkprof test.trc output.txt explain=user/pass"
>4) The output file is fine except all the rows is 0, which is the most
>important thing I want to know
>
>Rows Execution Plan
>------- ---------------------------------------------------
> 0 SELECT STATEMENT GOAL: CHOOSE
> 0 SORT (UNIQUE)
> 0 NESTED LOOPS
> 0 NESTED LOOPS
> 0 NESTED LOOPS
> 0 NESTED LOOPS
> 0 NESTED LOOPS
> 0 INDEX GOAL: ANALYZED (RANGE SCAN) OF
> 'PK_STREET_INTR_NAMES' (UNIQUE) PARTITION: START=2 STOP=
> 2
> 0 TABLE ACCESS GOAL: ANALYZED (BY LOCAL INDEX ROWID)
> OF 'STREET_INTERSECTION' PARTITION: START=2 STOP=2
> 0 INDEX GOAL: ANALYZED (UNIQUE SCAN) OF
> 'PK_STREET_INTERSECTION' (UNIQUE) PARTITION: START=2
> STOP=2
> 0 TABLE ACCESS GOAL: ANALYZED (BY LOCAL INDEX ROWID)
>....................
>
>
>What I did was wrong?
>
>Your help is highly appreciated.
>

when you use the explain option, you get a new plan ignoring the data in the trace file.

--
Sybrand Bakker, Senior Oracle DBA
Received on Wed Aug 04 2004 - 12:37:41 CDT

Original text of this message

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