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: Where do you find undo info in trace files, and how

RE: Where do you find undo info in trace files, and how

From: Wolfson Larry - lwolfs <lawrence.wolfson_at_acxiom.com>
Date: Wed, 29 Sep 2004 18:23:07 -0500
Message-ID: <433A07749711884D8032B6A0AB115262C2BDD6@conmsx07.corp.acxiom.net>


Juan,

        Since you're looking at UNDO did you see this formula?

        Larry

--Written by Lawrence Wolfson 2004

SELECT 'UNDO BLOCKS/SEC (AVG) IS==>'||ROUND( AVG(UNDOBLKS)/600) FROM V$UNDOSTAT;
SELECT 'UNDO NEEDED FOR 1 HOUR IS==>'||ROUND( 1*3600*(AVG(UNDOBLKS)/600)*&&BS/1073741824,2)||' Gig' FROM V$UNDOSTAT; SELECT 'UNDO NEEDED FOR 2 HOURS IS==>'||ROUND( 2*3600*(AVG(UNDOBLKS)/600)*&&BS/1073741824,2)||' Gig' FROM V$UNDOSTAT; SELECT 'UNDO NEEDED FOR 12 HOURS
IS==>'||ROUND(12*3600*(AVG(UNDOBLKS)/600)*&&BS/1073741824,2)||' Gig' FROM V$UNDOSTAT;
SELECT 'UNDO NEEDED FOR 24 HOURS
IS==>'||ROUND(24*3600*(AVG(UNDOBLKS)/600)*&&BS/1073741824,2)||' Gig' FROM V$UNDOSTAT;
SET HEADING ON
SET FEEDBACK ON
SELECT
       TO_CHAR(BEGIN_TIME,'DD-MON-YYYY HH24 MI SS') Started
-- ,TO_CHAR( END_TIME,'DD-MON-YYYY HH24 MI SS') Ended

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 re-send 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 Received on Wed Sep 29 2004 - 18:23:52 CDT

Original text of this message

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