Oracle Consulting Oracle Training Oracle Support Development
Home
Catalog
Oracle Books
SQL Server Books
IT Books
Job Interview Books
eBooks
Rampant Horse Books
911 Series
Pedagogue Books

Oracle Software
image
Write for Rampant
Publish with Rampant
Rampant News
Rampant Authors
Rampant Staff
 Phone
 800-766-1884
Oracle News
Oracle Forum
Oracle Tips
Articles by our Authors
Press Releases
SQL Server Books
image
image

Oracle 11g Books

Oracle tuning

Oracle training

Oracle support

Remote Oracle

STATSPACK Viewer

Privacy Policy

 

   
 

ss

Oracle Tips by Burleson 

Chapter 6 Oracle Tablespace and File Internals Scripts

COLUMN  curext FORMAT 999999    HEADING "Current|Extent"

COLUMN  curblk FORMAT 999999    HEADING "Current|Block"
COLUMN transaction FORMAT A15   Heading 'Transaction'
COLUMN program FORMAT a10 HEADING 'Program'
 
SET PAGES 56  LINES 80 VERIFY OFF FEEDBACK OFF
ttitle "Rollback Segments in Use"
SPOOL tx_rbs
 
SELECT
   r.name,
   l.Sid,
   p.spid,
   NVL(p.username, 'no transaction') "Transaction",
   p.program "Program",
   s.curext,s.curblk
FROM
   v$lock l,
   v$process p,
   v$rollname r,
    v$rollstat s
SEE CODE DEPOT FOR FULL SCRIPT



 

Mike has priced his collection of scripts at $49.95, less than a dime per script.  You can download them immediately at this link:
 


 

Linux Oracle commands syntax poster

ION Oracle tuning software

Oracle data dictionary reference poster



Oracle Forum

BC Oracle consulting support training

BC remote Oracle DBA   

 

   

 Copyright © 1996 -2016 by Burleson. All rights reserved.


Oracle® is the registered trademark of Oracle Corporation. SQL Server® is the registered trademark of Microsoft Corporation. 
Many of the designations used by computer vendors to distinguish their products are claimed as Trademarks