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: v$sql.parsing_user_id=0 when parser was not SYS

RE: v$sql.parsing_user_id=0 when parser was not SYS

From: Allen, Brandon <Brandon.Allen_at_OneNeck.com>
Date: Tue, 25 Jul 2006 17:28:46 -0700
Message-ID: <04DDF147ED3A0D42B48A48A18D574C45059E1BBE@NT15.oneneck.corp>


Not sure about the parsing_user_id=0, but to answer your question about the separate child cursors in v$sql:

No, there should not be a separate child cursor for each user, there should only be separate child cursors if for some reason different executions of the same query have different schemas, optimizer parameter settings, etc. that make it impossible for them to share the same cursor. Usually you can see the cause of the multiple child cursors in v$sql_shared_cursor, but not always.

Regards,
Brandon

-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Jeremiah Wilton Sent: Tuesday, July 25, 2006 5:11 PM
To: oracle-l_at_freelists.org
Subject: v$sql.parsing_user_id=0 when parser was not SYS

Looking at v$sql, I see that quite often a cursor that was actually originally parsed by some user other than SYS shows a PARSING_USER_ID of 0 (SYS). How can I tell who really parsed this cursor? Shouldn't there be a separate child cursor in v$sql for each user that uses the cursor?

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 Tue Jul 25 2006 - 19:28:46 CDT

Original text of this message

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