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: DML on dual?

RE: DML on dual?

From: Herring Dave - dherri <Dave.Herring_at_acxiom.com>
Date: Thu, 12 Apr 2007 12:54:54 -0500
Message-ID: <7ED53A68952D3B4C9540B4EFA5C76E360312FF2F@CWYMSX04.Corp.Acxiom.net>


That's part of the problem. I don't know who is doing this, even after trolling through V$SQL. All statements that reference DUAL are SELECTs. I guess I could set 10046 system-wide for a short period, until I find a .trc file with an event of row lock wait, but that seems to involve a little too much brute force.  

I could also check V$SEGSTAT every minute, checking for an increase in the appropriate segment event for DUAL, then when an increase is found scan V$SQL for a LAST_LOAD_TIME greater or equal to a minute ago. Maybe a little less brute force, but still seems to be a rather large hammer for such a small nail.  

Dave    


David C. Herring, DBA | A c x i o m Delivery Center Organization

630-944-4762 office | 630-430-5988 wireless | 630-944-4989 fax


From: Ghassan Salem [mailto:salem.ghassan_at_gmail.com] Sent: Thursday, April 12, 2007 12:45 PM
To: Herring Dave - dherri
Cc: oracle-l_at_freelists.org
Subject: Re: DML on dual?  

David,
try to capture which session is doing this (looking into v$sql), and then you'll have at least the program, ... rgds



The information contained in this communication is confidential, is intended only for the use of the recipient named above, and may be legally privileged.

If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.

If you have received this communication in error, please resend this communication to the sender and delete the original message or any copy of it from your computer system.

Thank You.



--
http://www.freelists.org/webpage/oracle-l


image001.gif
Received on Thu Apr 12 2007 - 12:54:54 CDT

Original text of this message

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