Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Interpretation of TKPROF output

Interpretation of TKPROF output

From: Schauss, Peter <SCHAUPE_at_mail.northgrum.com>
Date: Sun, 13 Oct 2002 12:03:20 -0800
Message-ID: <F001.004E7AC5.20021013120320@fatcity.com>


I am running tkprof on some trace files with the following options:
(Oracle 8.1.7)

explain=<user>/<password> sort=exeqry,fchqry,execu,fchcu

Output after each query includes the following two tables:

Rows Row Source Operation

-------  ---------------------------------------------------
     36  INLIST ITERATOR
     36   TABLE ACCESS BY INDEX ROWID PART_LIST
     72    INDEX RANGE SCAN (object id 3451)


Rows     Execution Plan
-------  ---------------------------------------------------
      0  SELECT STATEMENT   GOAL: CHOOSE
     36   TABLE ACCESS   GOAL: ANALYZED (FULL) OF 'PART_LIST'

The "Execution Plan" table corresponds to the Explain Plan section of the Performance manual. There is no mention, however, of the "Row Source Operation" table. I note particularly, that in some cases the first table seems to agree with the second. In others, however, such as the example here, the Row Source table shows use of an index while the Execution Plan shows a Table Access (Full table scan?).

Am I interpreting this correctly? If so, what is going on?

Thanks,

Peter Schauss
Northrop Grumman Corporation
schaupe_at_mail.northgrum.com

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Schauss, Peter
  INET: SCHAUPE_at_mail.northgrum.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L

(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
Received on Sun Oct 13 2002 - 15:03:20 CDT

Original text of this message

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