Call for Oracle support & training (800) 766-1884
Free Oracle Tips

Home
Corporate Oracle Training
Custom Oracle Training
Oracle New Features Training
Advanced Oracle DBA Classes
Oracle Tuning Courses
Oracle Tips & Tricks
Oracle Training Links
Oracle Training Links
Oracle Training Links

We are top for USA Oracle Training Clients

 

Free Oracle Tips


 
HTML Text AOL

Free Oracle App Server Tips


 
HTML Text

Oracle support

Oracle training

Oracle tuning

Rednecks!

Remote Oracle

Custom Oracle Training

 

   
  Oracle Tips by Burleson

Oracle Streams
Chapter 7 -
Monitoring and Troubleshooting Oracle Streams

dba_registered_archived_log

The following SQL statement shows the details:

COLUMN CONSUMER_NAME HEADING 'Capture|Process|Name' FORMAT A15
COLUMN NAME HEADING 'Archived Redo Log|File Name' FORMAT A35
COLUMN FIRST_SCN HEADING 'First SCN' FORMAT 99999999999
COLUMN NEXT_SCN HEADING 'Next SCN' FORMAT 99999999999

SELECT r.CONSUMER_NAME, r.NAME,
 r.FIRST_SCN, r.NEXT_SCN
FROM DBA_REGISTERED_ARCHIVED_LOG r, DBA_CAPTURE c
SEE CODE DEPOT FOR FULL SCRIPT

v$database

This view displays information about the database from the control file. Information such as the last SCN checkpointed, the number assigned to the database instantiation, and the highest NEXT_CHANGE# for an archive log is useful.

The following SQL statement shows information about the current state and current SCN values:

Select 'Database Name   : ' || a.NAME || chr(10) ||
'Log Mode               : ' || a.LOG_MODE || chr(10)  ||
'Last SCN Archived      : ' || a.ARCHIVE_CHANGE# || chr(10)  ||
'Last SCN CheckPointed  : ' || a.CHECKPOINT_CHANGE# || chr(10) ||
'Current SCN            : ' || DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER() || chr(10) ||


The above text is an excerpt from:

Oracle Streams
High Speed Replication and Data Sharing

ISBN 0-9745993-5-2

by Madhu Tumma
 


Download your Oracle scripts now:

www.oracle-script.com

The definitive Oracle Script collection for every Oracle professional DBA

 
 
 

Oracle performance tuning book

 

 

Oracle performance tuning software

 
Oracle performance tuning software
 
Oracle performance Tuning 10g reference poster
 
Oracle training in Linux commands
 
Oracle training Excel
 
 
 
 

 

email BC:


Copyright © 1996 -  2014 by Burleson Inc. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation.