Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Help with Parsing and TKPROF output
Hi All,
I have an online program that is timing out and when I trace it I get the following at the bottom of my tkprof output. It's easy to see why the transaction is running slow, because of all the parsing. But the program and all called modules are compiled with max_opencursors = 75 to stop the parsing problem, though it doesn't seem to be helping here.
There are only 64 unique sql statements that all use host variables, so why does it also say there 786 sql statements in the session, what could be causing the 64 to turn into 786 and be getting reparsed all the time :-((((((
Any help on this would be greatly appreciated as the transaction dies after awhile and it's in production doh!
Thanks
Ian
OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
call count cpu elapsed disk query current
rows
------- ------ -------- ---------- ---------- ---------- ----------
Misses in library cache during parse: 0
OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
call count cpu elapsed disk query current
rows
------- ------ -------- ---------- ---------- ---------- ----------
Misses in library cache during parse: 0
784 user SQL statements in session.
2 internal SQL statements in session.
786 SQL statements in session.
64 statements EXPLAINed in this session.
1 session in tracefile. 784 user SQL statements in trace file. 2 internal SQL statements in trace file. 786 SQL statements in trace file. 68 unique SQL statements in trace file. 64 SQL statements EXPLAINed using schema: CSISDBA.prof$plan_table Default table was used. Table was created. Table was dropped.
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Biddell, Ian INET: Ian.Biddell_at_COMPAQ.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing ListsReceived on Tue Mar 05 2002 - 21:53:18 CST
--------------------------------------------------------------------
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).