This post is having a query which estimates the transactions done in a period of time in a database.
sql> alter session set NLS_DATE_FORMAT='DD-MM-YYYY HH24:MM:SS'
session altered
sql> select BEGIN_TIME,END_TIME,TXNCOUNT
,(( END_TIME - BEGIN_TIME ) * 24 * 60 * 60 ) diffsecond
, to_char(( TXNCOUNT / (( END_TIME - BEGIN_TIME ) * 24 * 60 * 60 )),'999999.99') tranxpersecond
from v$undostat where BEGIN_TIME >='&1'
and BEGIN_TIME <='&2'
and ( TXNCOUNT / (( END_TIME - BEGIN_TIME ) * 24 * 60 * 60 )) > 50
order by 1;
Enter date in the format like 30-APR-2010 12:00:00
for Enter value 1 and Value 2
It will give you the approximate transaction from undotablespace.
Share the content if you found it is useful (You can share using 300 community websites) click "share" at the end of the post.
You are encouraged to leave a comment.
You are encouraged to leave a comment.
Saturday, May 01, 2010
To Find out Transaction in Production Database
Subscribe to:
Post Comments (Atom)
Let us be Friends...
Popular Posts
-
Secure Sockets Layer (SSL) SSL is a technology that defines the essential functions of mutual authentication, data encryption, and data inte...
-
Symptom: A MultiException has 6 exceptions. They are: 1. java.lang.AssertionError: Cannot export non clusterable object with jndiName:weblo...
-
This blog describes the process of re-creating an existing Applications Release 12 database instance using the export and import utilities....
-
Primary Node: Host name: genius.chainsys.com IP : 192.168.2.236 File locations: apps - /oracle/D1/apps (SHARED) db - /oracle/PROD/db inst - ...
-
1. Installation of the Demantra Base Application or Patches Create a C:/Tmp folder on the machine where the setup.exe will be executed pri...
-
While configuring, the JMX for the developers, I got the error like: Error: Exception thrown by the agent : java.rmi.server.ExportExcepti...
-
When accessing the portlets from Fusion Applications, We receive A remote portlet error was received for the task Manage Primary Le...
-
For Installation of the OBIEE please follow my previous post http://balajiabhi.blogspot.com/2009/07/installation-and-configuration-of-obiee....
-
After AD.C.Delta.6 and TXK.6, when running $adop phase=fs_clone, we hit with an issue: Validating system setup... Node registry is ...
-
In Oracle Application 11i and R12, we have an FND functionality for changing the passwords for either application user, or product schema pa...
No comments:
Post a Comment