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
image
Write for Rampant
Publish with Rampant
Rampant News
Rampant Authors
Rampant Staff
  Phone
  252-431-0050
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 

Oracle Streams
Chapter 4 - Capture and Propagate Configuration

Creating the Database Links

CREATE DATABASE LINK DNYTST10.world CONNECT TO strmadm IDENTIFIED BY strmadm USING 'DNYTST10.world'
/

Understanding the SCN values

The System Change Number (SCN) is the main controlling function that is used to keep track of database transactional activity. SCN is a stamp that defines a committed version of a database at a particular point in time. Oracle assigns every committed transaction a unique SCN. To support the multi-version read-consistency capabilities, Oracle keeps records of all database changes with the help of SCN numbers. SCN is a running number for the database changes.

SCN is a vital tool utilized by the Streams Methodology. The processes of reading, propagating and applying database changes make use of the SCN numbers. SCN values provide a time-based tracking number that can be used to coordinate the various Streams processes. Based on SCN numbers, various Streams processes are able to restart from where they left off when a particular process is interrupted and has to be restarted.

Oracle provides a DBMS procedure that is used to query the SCN that was in effect at any point. As shown in the following SQL statement, the get_system_change_number procedure shows the current SCN value of the database.

Select DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER() from dual
/

During the database checkpoint, Oracle records the SCN number into the control files and also all data files. The same SCN number is recorded in all the files.


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

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 -2011 by Burleson Enterprises. 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