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

Create the Schema at Source Database

The next step is to create schema/users named NY1, NY2, NY3, and NY4 where tables will be created. After the schema/users have been created, the objects will be used to demonstrate the replication process using the Streams technology. Setup_NY1.sql, which is available in the code depot, lists SQL statements that create the necessary tablespace, schema, tables and sequence for the Schema NY1. Similarly, objects can also be created in NY2, NY3, and NY4.

The creation of tables will be repeated later in the additional schemas NY2, NY3 and NY4 to demonstrate some other options with which the Streams flow can be configured.

Set up the Supplemental Logging

As presented earlier, the process of logging extra columns to the redo log files is called supplemental logging. It is not a default behavior. It has to be enabled at either the database level or at the object level.

Using the primary key for the supplemental logging causes the database to place all columns of a row's primary key in the redo log file whenever a row containing a primary key is updated.  This will occur even if no value in the primary key has changed.

The following SQL statements show the set up of supplemental logging at the table level for the table named ALLINSURED1, using the primary key.


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