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
SQL Server 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
image
image

Oracle 11g Books

Oracle tuning

Oracle training

Oracle support

Remote Oracle

STATSPACK Viewer

    Privacy Policy

  

 

 
ISBN
0-9727513-3-5
ISBN 13
978-0972751339
Library of Congress Number: 2003097636
227 pages - Perfect Bind 9x6 Publication Date - November 2003
Shelving: Databases/Oracle Oracle In- Focus Series # 4

  Oracle Replication
Snapshot, Multi-master & Materialized Views Scripts

Donald K. Burleson, John Garmany, Steve Karam  Technical Editor: Robert G. Freeman  

Retail Price $27.95
/  £17.95

Order now and get immediate online access to the code depot! Only $19.95   
(30% off)  
       
Key Features   About the Authors Reader Comments
Table of Contents   Errata  
       
Get the Oracle Tuning Pack
Six for $79.95 - A $150.00 value
Oracle Performance Troubleshooting $27.95
Oracle Replication $27.95
Oracle Wait Event Tuning $27.95
Oracle Disk I/O Tuning $27.95
Oracle 10g DBA Reference Poster $8.95
Oracle Silver Bullets $27.95

 


This book is an indispensable reference for any Oracle DBA who must ensure the consistency of data across distributed platforms. With the advent of cheap disk and fast worldwide connectivity, many Oracle professionals recognize the benefits of distributing Oracle data. However, Oracle multi-master replication is extremely complex and time-consuming to implant. This book addresses the complexity of Oracle replication by providing working code examples and illustration from working systems. The text covers all areas of Oracle replication, including snapshots, using dbms_job to refresh snapshots, multi-master replication and conflict resolution mechanisms.

Written by a distinguished graduate of West Point, Col. Garmany leverages his 20+ years of experience into an indispensable guide for any Oracle professional who must quickly implement Oracle snapshot and multimaster replication. A noted instructor, author and lecturer, Col. John Garmany leverages his ability to explain complex issues in Plain English into a one-of-a-kind book.

This handy reference contain working examples of snapshot and multimaster replication to allow you to get started quickly with your Oracle replication structure. Packed with useful notes and an online code deport, this reference show every aspect of Oracle snapshot replication including syntax for refresh intervals, managing snapshot logs, monitoring Oracle replication refresh timings and much more.

Best of all, this is the only book that describes the intricacies of Oracle multimaster replication and provides working code examples of complex multimaster replication. Includes a section on Oracle replication tuning and monitoring, this is a must-have book for all Oracle professionals who replicate their data.
 

 
Key Features

* Presents working syntax examples for all area of Oracle replication.

* Describes the architecture of Oracle multimaster replication in simple terms and provides illustrative examples.

* Shows working examples of snapshot creation, refresh, and error detection scripts.

* Details real-world techniques for implement conflict resolution in multi-master replication.

* Comes with an online code depot with working code examples.

 

 

About the Authors:

 

Donald Burleson

Donald K. Burleson is one of the world’s top Oracle Database experts with more than 20 years of full-time DBA experience.  He specializes in creating database architectures for very large online databases and he has worked with some of the world’s most powerful and complex systems.  

A former Adjunct Professor, Don Burleson has written 30 books, published more than 100 articles in National Magazines, and serves as Editor-in-Chief of Rampant TechPress. Don is a popular lecturer and teacher and is a frequent speaker at Oracle Openworld and other international database conferences.

 

Free Oracle Tips

HTML Text

Steve Karam

                   

Steve Karam is one of less than 20 DBA's worldwide to achieve the coveted Oracle 10g Certified Master status and the world's youngest OCM and Oracle ACE.  A former senior instructor for Oracle University, Steve has a proven track record in performance and troubleshooting on dozens of high profile Oracle systems, and complex Oracle 10g RAC environments. 

Additionally, Steve has been developing against Oracle databases for ten years in a variety of platforms including PHP, Java, and Application Express. 

He is also a known speaker on both DBA and development concepts and has presented at Oracle OpenWorld and other conferences.

 

John Garmany

 

John Garmany is a Senior Oracle DBA with Burleson Consulting.  A graduate of West Point, an Airborne Ranger and a retired Lt. Colonel with 20+ years of IT experience. John is an OCP Certified Oracle DBA with a Master Degree in Information Systems, a Graduate Certificate in Software Engineering, and a BS degree (Electrical Engineering) from West Point.  A respected Oracle expert and author, John serves as a writer for Oracle Internals, DBAZine and SearchOracle and SELECT Magazine.  John is also the author of four bestselling Oracle books by Rampant TechPress, Oracle Press and CRC Press and hosts a popular Oracle Application Server Newsletter.

   

 

Table of Contents:

 

Chapter 1: Introduction to the Oracle Replication Architecture   

The Oracle Replication Architecture  
Database links
Basics of distributed updates
Inside the two-phase commit
Basics of Snapshot and Multi-master Replication  
Manual Replication techniques  
 
Chapter 2: Installing Oracle Advanced Replication  

Overview of the replication packages
Checklist for installing advanced replication
  •    Creating the users
  •    Setting Oracle parameters
  •    Creating database links
  •    Managing replication security
  •    Testing replication
Chapter 3: Basic read-only Replication with snapshots  

Read-Only Snapshot architecture
Restrictions of read-only snapshots  
Snapshot Creation Basics  
Setting the refresh interval
Complex Snapshot creation  
Creating and managing snapshot logs  
Subquery Sub-setting in snapshots  
Refresh Groups for snapshots
 
Chapter 4: Using Oracle Updateable Snapshots  

Background in updateable snapshots  
Defining Updateable Snapshots  
Defining refresh intervals  

 


Chapter 5: Using Updateable Materialized Views
 
Defining updatable materialized views
 
Chapter 6: Monitoring Oracle Replication with Scripts

Goals of monitoring replication
Scripts to measure pending updates
Auto-correct script for broken snapshots

Chapter 7: Using Oracle Procedural Replication  


Introduction to procedural replication
Installing the replication packages  
Restrictions on Procedural Replication  
 
Chapter 8: Oracle Multi-Master Replication  

Background on multi-master replication
Restriction & limitations of multi-master replication
Using the Oracle-supplied packages
Defining Replication Groups  
Defining the master site
Defining propagation rules  
Using  the dbms_repcat package
Replication of data definitions (DDL)  
 
Chapter 9: Conflict Avoidance in multi-master replication  

The causes of data conflicts
The options for conflict resolution
Using Referential Integrity with multi-master replication
Techniques to avoid data conflicts
Implementing an automated conflict avoidance mechanism
Manual intervention and conflict detection

 



 

Errata:
Page 46

At the beginning of the book mention following

unless otherwise mentioned "local" is the master site where base table is and  "remote" is to where table is replicated to. eg. whether "remote" is replicated in "local" or vice versa. eg. Page 46 ch2 begin
 
Page 52

In the third example near the middle of the page
 
Create materialized view log on employee
tablespace users
with ROWID PRIMAY KEY;
This should be:
Create materialized view log on employee
tablespace users
with ROWID PRIMARY KEY;
PRIMARY KEY is listed as PRIMAY KEY and shouldn't be represented as such
 

Page 57

sub-topic does not related to what it contains

 

Page 67

In the 10gR2 PL/SQL packages documentation we see:

"If you set list_of_gnames to NULL, then the user is registered for all replication groups, even replication groups that are not yet known when this procedure is called. You must use named notation in order to set list_of_gnames to NULL."

The repproxy user should be able to see and use OPLINC_MASTER_REPage ROUP.
 

create_snap_proxy.sql

create user repproxy 
  identified by repproxy;
alter user repproxy default tablespace users;
alter user repproxy temporary tablespace temp;
grant create session to repproxy;
grant select any table to repproxy;
--
--
BEGIN
  dbms_repcat_admin.register_user_rePage roup(
        username =>       'repproxy',
        privilege_type => 'proxy_snapadmin',
        list_of_gnames => NULL);

 

Page  84-105

subtopic(even footer) is "Ora8i or lower". Obvious questions comes up what about "Ora9i" ?

 

Page 130

3/4para : job_queue_processes : is this noof processes or wake up interval in seconds ?

typo : tip :  job_queue_processes
 

Page 131-134

para and Page  137-2/3/4para : some level of repetition

 

Page 142

Typo : 2nd script starting with "cat ..." : should be "xargs" (replace e with s)


Page 162

Typo : 3rd row from bottom : "execute any"

 

Page 163

cmd set to create repprop does not have "grant execute any procedure" as mentioned in Page 160/161

 

Page 164

last sentence : not in appendix

 

Page 168

Contrary to the text, there is a way to create Push/Purge jobs.

In the Distribution->Advanced Replication->Schedule->Push tab,
if the Push job for a database link is not scheduled, you can:
 1. Highlight the database link and click Edit
 2. Click the 'Periodic Push' radio button
 3. Specify the start time, frequency etc
 4. Click Ok
 5. Click Apply
and this will create the push job.

Create a Purge job with a similar method.

Page 200

Top cannot understand  text inside bold section square. does not make sense. may be wrong context; may be it should come to Page 206

Page 201

2nd para from bottom : last sentence <== something wrong

 

 
Hear what people are saying:
 
Jim from Pittsburgh, PA says:

This is a great reference for Oracle replication and does an excellent job of explaining the issues, especially multimaster replication. I have Freemans's Oracle new features book also, and I enjoy the style and cadence of the writing style. The text is not preachy and shows with clear examples all of the ways to set up and use Oracle replication. I highly recommend this book, and the price is great too!

 
By John: This is a great reference for Oracle replication and does an excellent job of explaining the issues, especially multimaster replication. I have Freeman's Oracle new features book also, and I enjoy the style and cadence of the writing style. The text is not preachy and shows with clear examples all of the ways to set up and use Oracle replication. I highly recommend this book, and the price is great too.
 

 


 

 

   

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