RE: DML and Queries in database

For DML, make sure all objects for which you want to capture DML stats
have LOGGING set, then use SYS.DBA_TAB_MODIFICATIONS.  I think 10g sets
this automatically, but earlier releases require you to set it
automatically.  These stats get reset per object each time
DBMS_STATS/ANALYZE is run.  Using this method you'd have to take
periodic snapshots of the view.

 

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: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of hitender chugh
Sent: Friday, May 25, 2007 7:56 AM
To: oracle-l@xxxxxxxxxxxxx
Subject: DML and Queries in database

 

Is there a way to find how many selects and DMLs (Insert,update and
updates) were fired in the database in a time period other than thru
auditing. I know from V$session we can find out what types of SQL
statements that are being fired but that is during that instance of time
only.

 

Thanks




________________________________

PC Magazine's 2007 editors' choice for best Web mail-award-winning
Windows Live Hotmail. <http://g.msn.com/8HMBENUS/2746??PS=47575>  

-- http://www.freelists.org/webpage/oracle-l
*************************************************************************
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.
*************************************************************************

GIF image

Other related posts: