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

 

   
 

Database Links for Streams

Oracle Tips by Burleson 

Oracle Streams
Capture and Propagate Configuration

Creating the Database Links

The next step would be to create the database links. In order to propagate events from a source queue at a database to a destination queue at another database, a private database link must be created between the database containing the source queue and the database containing the destination queue.

In the following example, a database link will be created from the STRMADM schema of the source database of DNYTST10 to the destination schema of STRMADM of DNYOIP20 and vice-versa.

-- At source database, creater the DB link
CONNECT strmadm/strmadm@DNYTST10.world

CREATE DATABASE LINK DNYOIP20.world CONNECT TO strmadm IDENTIFIED BY
strmadm USING 'DNYOIP20.world'
/
-- At Target Database, create database link
CONNECT strmadm/strmadm@DNYOIP20.world

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


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 -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