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 Replication Tips by Burleson

Copying Oracle Materialized Views To Other Schemas
 

  ‘create materialized view log on ‘|| table_name ||
  ‘tablespace users using primary key;’
from
  user_tables
where
SEE CODE DEPOT FOR FULL SCRIPT;
spool off
set pages 999 line 79 feedback on
 

Review the two scripts (Materialized View_logs_rowid.sql and Materialized View_logs_pk.sql) and remove any table that is not being dynamically replicated. The scripts generated will look like the following, when executed in the SCOTT schema.

Materialized View_logs_pk.sql
create materialized view log on DEPT tablespace users with primary key;
create materialized view log on EMP tablespace users with primary key;                                            

Materialized View_logs_rowid.sql
create materialized view log on BONUS tablespace users with rowid;
create materialized view log on SALGRADE tablespace users with rowid;
 

Remove any table not being replicated and run the scripts to create the materialized view logs.

A similar script can be used to create the Materialized Views on the remote site.

select


This is an excerpt from Oracle Replication By Rampant TechPress (only $19.95).  You can click here to order a copy and get instant access to the code depot:

http://www.rampant-books.com/book_2003_2_replication.htm


Get a Personal Oracle Replication Mentor

The author is now offering personal mentors for Oracle DBAs where you can have an Oracle expert right at your fingertips, anytime day or night. We work with hundreds of Oracle databases every year, so we know exactly how to quickly assist you with any Oracle replication question. 

You can get me personally, or any Oracle Certified replication DBA with more than 20 years of full-time IT experience. 

 

 

 
 
 

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.