AllExperts > Experts 
Search      
Oracle
Volunteer
Answers to thousands of questions
 Home · More Questions · Answer Library  · Encyclopedia ·
More Oracle Answers
Question Library

Ask a question about Oracle
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Peter Choi
Expertise
I am a senior Oracle DBA, PeopleSoft Administrator and Project Manager with 10 years experience. I have been working with PeopleSoft (HRMS 5, 7, 7.x and 8.9), Oracle RDBMS (7.3 - 10gR2) on various Unix and Windows platforms, and some Oracle Application Server (9i/10gR2). I also have experience with the configuration and administration of BEA`s Tuxedo and WebLogic for PeopleSoft 8.x.

 
   

You are here:  Experts > Computing/Technology > Oracle > Oracle > undotable space management.

Oracle - undotable space management.


Expert: Peter Choi - 4/8/2008

Question
how can i see which all transactions are consuming in undo tablespaces?

Answer
Hi Chumki,

What you're looking for is the monitoring of the UNDO tablespaces.

The following dynamic performance views are useful for obtaining space information about the undo tablespace:

View    Description
V$UNDOSTAT    Contains statistics for monitoring and tuning undo space. Use this view to help estimate the amount of undo space required for the current workload. The database also uses this information to help tune undo usage in the system. This view is meaningful only in automatic undo management mode.
V$ROLLSTAT    For automatic undo management mode, information reflects behavior of the undo segments in the undo tablespace
V$TRANSACTION    Contains undo segment information
DBA_UNDO_EXTENTS    Shows the status and size of each extent in the undo tablespace.
WRH$_UNDOSTAT    Contains statistical snapshots of V$UNDOSTAT information. Please refer to Oracle Database 2 Day DBA for more information.
WRH$_ROLLSTAT    Contains statistical snapshots of V$ROLLSTAT information. Please refer to Oracle Database 2 Day DBA for more information.




The following example shows the results of a query on the V$UNDOSTAT view.

SELECT TO_CHAR(BEGIN_TIME, 'MM/DD/YYYY HH24:MI:SS') BEGIN_TIME,
        TO_CHAR(END_TIME, 'MM/DD/YYYY HH24:MI:SS') END_TIME,
        UNDOTSN, UNDOBLKS, TXNCOUNT, MAXCONCURRENCY AS "MAXCON"
        FROM v$UNDOSTAT WHERE rownum <= 144;
 
 BEGIN_TIME          END_TIME               UNDOTSN   UNDOBLKS   TXNCOUNT     MAXCON
 ------------------- ------------------- ---------- ---------- ---------- ----------
 10/28/2003 14:25:12 10/28/2003 14:32:17          8         74   12071108          3
 10/28/2003 14:15:12 10/28/2003 14:25:12          8         49   12070698          2
 10/28/2003 14:05:12 10/28/2003 14:15:12          8        125   12070220          1
 10/28/2003 13:55:12 10/28/2003 14:05:12          8         99   12066511          3
 ...
 10/27/2003 14:45:12 10/27/2003 14:55:12          8         15   11831676          1
 10/27/2003 14:35:12 10/27/2003 14:45:12          8        154   11831165          2

 144 rows selected.

(Reference: http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/undo.htm#i1006440)

Hope this helps.


Peter

Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.