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

    sys.v_$log
ORDER BY
    thread#,
    group#;
 
SPOOL OFF
PAUSE Press Enter to continue
SET PAGES 22 LINES 80 FEEDBACK ON
CLEAR BREAKS
CLEAR COLUMNS
TTILE OFF

Here is a sample listing:
                                                   Switch                 
                                                         
Th# Grp#  Seq#     BYTES Mem Arc? STATUS   Change# Time
--- ---- -----   ------- -------- -------- ------- ------------------
  1    1 4,489   1048576   2 NO   INACTIVE  719114 15-JUN-97 16:54:23
       2 4,490   1048576   2 NO   INACTIVE  719117 15-JUN-97 16:56:10
       3 4,491   1048576   2 NO   CURRENT   719120 15-JUN-97 17:02:22


Monitoring Redo Log Switches

In addition to the alert logs, the frequency of log switches can also be monitored via the v$log_history and v$archived_log DPTs. A script using these DPTs for that purpose is shown in below. An example of output from an archive log switch script is also shown below.



 

The Oracle script collection contains more than 600 working Oracle scripts.  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 -2017 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