Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: how to get parse and execution number for a sql
Hi!
> -- Why it is not 2,3,1 (again assuming 2,2,0 was correct) ? Does
> PARSE_CALLS include both hard parse and soft parse?
Yes, parse_calls shows any parse calls. A parse is always a parse. You can't avoid parsing when you issue a SQL statement to be executed. Syntax and semantics check is always done. Only after that if Oracle finds out that required statement is already parsed against the correct objects, correct bind variable types and with correct session parameters, then it can skip the rest of parsing and use the already parsed statement.
You can use session statistics parse count (total) and parse count (hard) to find out whether a parse was soft or hard...
Tanel.
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Wed Feb 25 2004 - 21:30:33 CST
![]() |
![]() |