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: 10053 trace for sql fired from pl/sql (stored code)

Re: 10053 trace for sql fired from pl/sql (stored code)

From: Tanel Põder <tanel.poder.003_at_mail.ee>
Date: 2005-12-23 19:49:24
Message-id: 026601c607f2$abb7d730$1ebc21c8@porgand


Hi,

> v$sql_plan_statistics already IS another sql). I believe sqlplus keeps the
> cursor of the most recent sql statement open, so it may be that the cursor
> needs to be closed for the statistics to be "populated". But then these
> are v$ views, so there is nothing to BE populated.

For scalability concerns some execution statistics are returned and added up to v$sql stuff only when cursor is closed, otherwise we'd have to go back to the shared cursor every small operation (like fetch etc).

Some of the stuff in X$KGLOB is incremented latchless way as well I believe.

Tanel.

--
http://www.freelists.org/webpage/oracle-l
Received on Fri Dec 23 2005 - 19:49:24 CST

Original text of this message

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