Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: tkprof plan missing rows
It usually means the cursor for that query
was not closed before the end of file (e.g.
SQL in pl/sql and you didn't do an exit
to get out of sql*plus) so Oracle never
got around to dumping the STAT lines.
Jonathan Lewis
http://www.jlcomp.demon.co.uk
Next Seminar - UK, April 3rd - 5th
http://www.jlcomp.demon.co.uk/seminar.html
Host to The Co-Operative Oracle Users' FAQ http://www.jlcomp.demon.co.uk/faq/ind_faq.html
Author of:
Practical Oracle 8i: Building Efficient Databases
-----Original Message-----
To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
Date: 08 March 2002 18:15
|
|Oracle 7.3.4, OpenVMS 7.1
|
|My tkprof report is missing the row count in the execution plan.
Does
|anyone know why what I might be missing?
|If I autotrace the same query in the same database, I do get
cardinality.
|The tables have been analyzed.
|
|If I tkprof another database using the same version and OS, that
tkprof DOES
|have row counts.
|I believe I'm just missing a parameter somewhere, but I don't know
where.
|
|Thanks for any ideas.
|Barb
|
|$ tkprof DRAX02_AMPROD_FG_SRV_041.TRC;1 sel.tkp explain=user/pwd
|sys=no
|
|*********************************************************************
|***********
|
|
|Rows Execution Plan
|------- ---------------------------------------------------
| 0 SELECT STATEMENT GOAL: CHOOSE
| 0 TABLE ACCESS GOAL: ANALYZED (BY ROWID) OF 'WO'
| 0 INDEX GOAL: ANALYZED (RANGE SCAN) OF 'PK_WO' (UNIQUE)
|
|*********************************************************************
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Jonathan Lewis INET: jonathan_at_jlcomp.demon.co.uk Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- 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 Fri Mar 08 2002 - 12:28:23 CST