Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Missing Data in Statspack Report
Notice that there has been some hard parsing on the first tkprof output - so the statement is not sufficient popular to be implicitly locked into memory.
Is it possible that the cursor was invalidated or flushed between the last execute in the trace file and the end snapshot time ? This would be sufficient to make it lose the significant statistics.
Regards
Jonathan Lewis
http://www.jlcomp.demon.co.uk/faq/ind_faq.html The Co-operative Oracle Users' FAQ
http://www.jlcomp.demon.co.uk/seminar.html Optimising Oracle Seminar - schedule updated May 1st
I'm tracing a query which runs quite slowly at a certain time of day. Here are the tkprof details
call count cpu elapsed disk query current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ------
Yes the first statement is in need of tuning. But shouldn't the select statement being traced show up between the Last two on the statspack outlet. It doesn't show up on the physical read list either despite apparently doing more of them than any other process.
call count cpu elapsed disk query current
rows
------- ------ -------- ---------- ---------- ---------- ---------- ------
13,364 10 1,336.4 1.8 26.27 84.86
1094517247
Module: SQL*Plus
SELECT value, timestamp, nanosecs, stat, sevr, ostat from chanar
ch_pack.archive_data_f_view WHERE pv_id = :CUR_PV_ID AND timesta mp BETWEEN
:START_TIME_ORACLE_DATE AND :END_TIME_ORACLE_DATE AND ostat <> 1 ORDER BY
timestamp, nanosecs
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.htmlReceived on Wed Jun 23 2004 - 16:13:19 CDT
-----------------------------------------------------------------
![]() |
![]() |