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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Long execute phase for SELECT query

RE: Long execute phase for SELECT query

From: <oracle-l-bounce_at_freelists.org>
Date: Thu, 29 Jun 2006 10:51:48 -0700
Message-ID: <04DDF147ED3A0D42B48A48A18D574C45059E19C9@NT15.oneneck.corp>


I just confirmed that it is the bind variable peeking, causing the optimization to be delayed to the Execute phase, that was causing the long Execute time. Simple test - I just ran the statement with literals instead and then the Parse phase is long and the Execute phase drops to 0:

call count cpu elapsed disk query current rows
------- ------ -------- ---------- ---------- ---------- ----------



Parse 1 11.19 11.94 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 2 0.00 0.00 0 342 0 21
------- ------ -------- ---------- ---------- ---------- ----------


total 4 11.19 11.95 0 342 0 21

Regards,
Brandon

Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it.

--

http://www.freelists.org/webpage/oracle-l Received on Thu Jun 29 2006 - 12:51:48 CDT

Original text of this message

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