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
-
This blog describes the process of re-creating an existing Applications Release 12 database instance using the export and import utilities....
-
Hi, everybody should come across, while during a clone, you might have experienced very poor performance while running txkWfClone.sh profil...
-
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...
-
Installation of Oracle Enterprise Performance Management System 11.1.2.1.0 on Linux 32 Bit. New Features in Release 11.1.2.0 EPM...
-
This blog is about Configuring the Apex PDF printing with Apache FOP. You need to download the OC4J from here You move the downloaded file t...
-
In this blog, I want to discuss about an critical error while adcfgclone on appsTier which may end your show. SP2-0642: SQL*Plus internal er...
-
The Following Error was detected while doing Cloning of DB Tier. The actual Fact was: The server was heavily loaded, so the control file cre...
-
To change the settings for Session Time out in FA, Login to OAM as oamadmin user Select System Configuration -> Common Settings ...
-
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