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
Subscribe to:
Posts (Atom)
Let us be Friends...
Popular Posts
-
While upgrading Fusion Applications, After enabling ldapsync between OIM and OID, only a few users orcladmin,public,policyROUser, and Poli...
-
This is great News from oracle, that the new Version of JRE 1.6.0 Update 23 is being certified to use with Oracle EBS. Those who are all w...
-
Secure Sockets Layer (SSL) SSL is a technology that defines the essential functions of mutual authentication, data encryption, and data inte...
-
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...
-
In this Blog, I am going to explain you the way you can get the Translation Synchronization Patch for the Language you license thro OAM. T...
-
MWA configuration in Oracle Applications Consider these points 1. Check if Enabled Telnet on the server If no.. please do the following step...
-
This blog describes the process of re-creating an existing Applications Release 12 database instance using the export and import utilities....
-
Symptom: A MultiException has 6 exceptions. They are: 1. java.lang.AssertionError: Cannot export non clusterable object with jndiName:weblo...
-
To implement the solution, please execute the following steps: 1. Go into the responsibility: System Administrator 2. Submit the concurrent ...
-
Memory Tuning The total available memory on a system should be configured in such a manner, that all components of the system functio...