Book description
Any organization that uses the Oracle relational database management system (RDBMS) these days needs to use multiple databases. There are many reasons to use more than a single database in a distributed database system:
Different databases may be associated with particular business functions, such as manufacturing or human resources.
Databases may be aligned with geographical boundaries, such as a behemoth database at a headquarters site and smaller databases at regional offices.
Two different databases may be required to access the same data in different ways, such as an order entry database whose transactions are aggregated and analyzed in a data warehouse.
A busy Internet commerce site may create multiple copies of the same database to attain horizontal scalability.
A copy of a production database may be created to serve as a development test bed.
Tunability
Platform autonomy
Fault tolerance
Scalability
Location transparency
Site autonomy
Introduction to Distributed Database Systems
SQL*Net and Net8
Configuration and Administration
Distributed Database Security
Designing the Distributed System
Oracle's Distributed System Implementation
Sample Configurations 8. Engineering Considerations
Oracle Replication Architecture
Advanced Replication Option Installation
Basic Replication
Multi-Master Replication
Updateable Snapshots
Procedural Replication
Conflict Avoidance and Resolution Techniques
In a distributed database environment, data in two or more databases is accessible as if it were in a single database. Usually, the different databases are on different servers, which may be located at the same site or a continent away. Communication between the servers takes place via SQL*Net (for Oracle7) or Net8 (for Oracle8). Distributed database environments offer a number of benefits over single- database systems, including:
This book describes how you can use multiple databases and the distributed features of Oracle to best advantage. It covers: Table of contents: Part I: The Distributed System
Part II: Replication
Part III: Appendixes Appendix A: Built-in Packages for Distributed Systems Appendix B: Scripts
Table of contents
-
Oracle Distributed Systems
- Preface
-
I. The Distributed System
- 1. Introduction to Distributed Systems
-
2. SQL*Net and Net8
- Protocol Overview
- Architecture
- SQL*Net/Net8 Tuning
- Load Balancing
- Oracle8 Scalability Options
- SQL*Net/Net8 Client Configuration
- SNMP Support
- Security
-
3. Configuration and Administration
-
Initialization Parameters
- COMMIT_POINT_STRENGTH
- DB_DOMAIN
- DBLINK_ENCRYPT_LOGIN (Oracle8)
- DISTRIBUTED_LOCK_TIMEOUT
- DISTRIBUTED_RECOVERY_CONNECTION_HOLD_TIME
- DISTRIBUTED_TRANSACTIONS
- GLOBAL_NAMES
- JOB_QUEUE_INTERVAL
- JOB_QUEUE_PROCESSES
- MAX_TRANSACTION_BRANCHES
- OPEN_LINKS
- OPEN_LINKS_PER_INSTANCE (Oracle8)
- REMOTE_DEPENDENCIES_MODE
- REMOTE_LOGIN_PASSWORD_FILE
- REMOTE_OS_AUTHENT
- REMOTE_OS_ROLES
- REPLICATION_DEPENDENCY_TRACKING (Oracle8)
- SNAPSHOT_REFRESH_INTERVAL
- SNAPSHOT_REFRESH_PROCESSES
-
Database Links
- Global Names and Database Links
- Public, Private, and Global Database Links
- Creating Database Links
- Dropping Database Links
- Accessing Data over a Database Link
- How Database Links Are Resolved
- Listing Information About Database Links
- Data Relocation with Database Links
- Restrictions on Distributed Operations over Database Links
- Distributed Queries and Transactions
- Distributed Backup and Recovery
- Multiversion Interoperability
-
Initialization Parameters
- 4. Distributed Database Security
- 5. Designing a Distributed System
-
6. Oracle’s Distributed System Implementation
-
Meeting the 12 Objectives with Oracle
- Local Autonomy
- No Reliance on a Single Site
- Continuous Operation
- Location Transparency
- Fragmentation Independence
- Replication Independence
- Distributed Query Processing
- Distributed Transaction Management
- Hardware Independence
- Operating System Independence
- Network Independence
- RDBMS Independence.
- Conclusions
- Oracle’s Global Data Dictionary
-
Meeting the 12 Objectives with Oracle
- 7. Sample Configurations
-
8. Engineering Considerations
- Schema Design and Integration
- Application Tiering
- Designing a Replicated System
-
II. Replication
- 9. Oracle Replication Architecture
- 10. Advanced Replication Installation
-
11. Basic Replication
- About Read-Only Snapshots
- Prerequisites and Restrictions
- Snapshot Creation Basics
- Simple Versus Complex Snapshots
- Snapshot Logs
- Subquery Subsetting
- Refresh Groups
- Management and Optimization
- Scripts
-
12. Multi-Master Replication
- Concepts and Terminology
- Getting Started
- Replication Groups
- Master Site Maintenance and Propagation
- Controlling Propagation
- The Replication Catalog
- Table Replication
- Replicating DDL
- Your Replicated Environment
- Advanced Replication Limitations
- 13. Updateable Snapshots
- 14. Procedural Replication
- 15. Conflict Avoidance and Resolution Techniques
-
III. Appendixes
-
A. Built-in Packages for Distributed Systems
- DBMS_DEFER: Building Deferred Calls
- DBMS_DEFER_QUERY: Performing Diagnostics and Maintenance
-
DBMS_DEFER_SYS: Managing Deferred Transactions
- How the Package Is Used
- Installation and Access
- DBMS_DEFER_SYS Procedures
- DBMS_DEFER_SYS Exceptions
-
DBMS_DEFER_SYS Nonprogram Elements
- DBMS_DEFER_SYS.ADD_DEFAULT_DEST
- DBMS_DEFER_SYS.COPY (Oracle7 only)
- DBMS_DEFER.SYS.DELETE_DEFAULT_DEST
- DBMS_DEFER_SYS.DELETE_ERROR
- DBMS_DEFER_SYS.DELETE_TRAN
- DBMS_DEFER_SYS.DISABLED
- DBMS_DEFER_SYS.EXCLUDE_PUSH (Oracle8 Only)
- DBMS_DEFER_SYS.EXECUTE
- DBMS_DEFER_SYS.EXECUTE_ERROR
- DBMS_DEFER_SYS.PURGE (Oracle8 Only)
- DBMS_DEFER_SYS.PUSH
- DBMS_DEFER_SYS.REGISTER_PROPAGATOR (Oracle8 Only)
- DBMS_DEFER_SYS.SCHEDULE_EXECUTION
- DBMS_DEFER_SYS.SCHEDULE_PURGE (Oracle8 Only)
- DBMS_DEFER_SYS.SCHEDULE_PUSH (Oracle8 Only)
- DBMS_DEFER_SYS.SET_DISABLED
- DBMS_DEFER_SYS.UNREGISTER_PROPAGATOR (Oracle8 Only)
- DBMS_DEFER_SYS.UNSCHEDULE_EXECUTION
- DBMS_DEFER_SYS.UNSCHEDULE_PURGE (Oracle8 Only)
- DBMS_DEFER_SYS.UNSCHEDULE_PUSH (Oracle8 Only)
- DBMS_OFFLINE_OG: Performing Site Instantiation
- DBMS_OFFLINE_SNAPSHOT: Performing Offline Snapshot Instantiation
- DBMS_RECTIFIER_DIFF: Comparing Replicated Tables
- DBMS_REFRESH: Managing Snapshot Groups
-
DBMS_REPCAT: Performing Replication Administration
- How the Package Is Used
- Installation and Access
- DBMS_REPCAT Procedures
- DBMS_REPCAT Exceptions
- DBMS_REPCAT Nonprogram Elements
-
DBMS_REPCAT.ADD_conflicttype_RESOLUTION
- Parameters
- Exceptions
-
Restrictions
- DBMS_REPCAT.ADD_GROUPED_COLUMN
- DBMS_REPCAT.ADD_MASTER_DATABASE
- DBMS_REPCAT.ADD_PRIORITY_datatype
- DBMS_REPCAT.ADD_SITE_PRIORITY_SITE
- DBMS_REPCAT. ALTER_MASTER_PROPAGATION
- DBMS_REPCAT. ALTER_MASTER_REPOBJECT
- DBMS_REPCAT.ALTER_PRIORITY
- DBMS_REPCAT.ALTER_PRIORITY_datatype
- DBMS_REPCAT.ALTER_SITE_PRIORITY
- DBMS_REPCAT.ALTER_SITE_PRIORITY_SITE
- DBMS_REPCAT.ALTER_SNAPSHOT_PROPAGATION
- DBMS_REPCAT.CANCEL_STATISTICS
- DBMS_REPCAT.COMMENT_ON_conflicttype_RESOLUTION
- DBMS_REPCAT.COMMENT_ON_COLUMN_GROUP
- DBMS_REPCAT.COMMENT_ON_PRIORITY_GROUP
- DBMS_REPCAT. COMMENT_ON_REPGROUP
- DBMS_REPCAT. COMMENT_ON_REPOBJECT
- DBMS_REPCAT.COMMENT_ON_REPSITES
- DBMS_REPCAT.COMMENT_ON_SITE_PRIORITY
- DBMS_REPCAT.CREATE_MASTER_REPGROUP
- DBMS_REPCAT.CREATE_MASTER_REPOBJECT
- DBMS_REPCAT. CREATE_SNAPSHOT_REPGROUP
- DBMS_REPCAT.CREATE_SNAPSHOT_REPOBJECT
- DBMS_REPCAT.DEFINE_COLUMN_GROUP
- DBMS_REPCAT.DEFINE_PRIORITY_GROUP
- DBMS_REPCAT.DEFINE_SITE_PRIORITY
- DBMS_REPCAT .DO_DEFERRED_REPCAT_ADMIN
- DBMS_REPCAT.DROP_conflicttype_RESOLUTION
- DBMS_REPCAT.DROP_COLUMN_GROUP
- DBMS_REPCAT.DROP_GROUPED_COLUMN
- DBMS_REPCAT.DROP_MASTER_REPGROUP
- DBMS_REPCAT.DROP_MASTER_REPOBJECT
- DBMS_REPCAT.DROP_PRIORITY
- DBMS_REPCAT.DROP_PRIORITY_datatype
- DBMS_REPCAT.DROP_PRIORITY_GROUP
- DBMS_REPCAT.DROP_SITE_PRIORITY
- DBMS_REPCAT.DROP_SITE_PRIORITY_SITE
- DBMS_REPCAT.DROP_SNAPSHOT_REPGROUP
- DBMS_REPCAT.DROP_SNAPSHOT_REPOBJECT
- DBMS_REPCAT.EXECUTE_DDL
- DBMS_REPCAT.GENERATE_REPLICATION_PACKAGE
- DBMS_REPCAT.GENERATE_REPLICATION_SUPPORT
- DBMS_REPCAT.GENERATE_REPLICATION_TRIGGER
- DBMS_REPCAT.MAKE_COLUMN_GROUP
- DBMS_REPCAT. PURGE_MASTER_LOG
- DBMS_REPCAT.PURGE_STATISTICS
- DBMS_REPCAT.REFRESH_SNAPSHOT_REPGROUP
- DBMS_REPCAT.REGISTER_STATISTICS
- DBMS_REPCAT. RELOCATE_MASTERDEF
- DBMS_REPCAT.REMOVE_MASTER_DATABASES
- DBMS_REPCAT. REPCAT_IMPORT_CHECK
- DBMS_REPCAT.RESUME_MASTER_ACTIVITY
- DBMS_REPCAT.SEND_AND_COMPARE_OLD_VALUES (Oracle8 Only)
- DBMS_REPCAT. SET_COLUMNS
- DBMS_REPCAT.SUSPEND_MASTER_ACTIVITY
- DBMS_REPCAT.SWITCH_SNAPSHOT_MASTER
- DBMS_REPCAT.VALIDATE
- DBMS_REPCAT.WAIT_MASTER_LOG
- DBMS_REPCAT_ADMIN: Setting Up Administrative Accounts
- DBMS_REPCAT_AUTH: Setting Up More Administrative Accounts
- DBMS_REPUTIL: Enabling and Disabling Replication
-
DBMS_SNAPSHOT: Managing Snapshots
- How the Package Is Used
- Installation and Access
-
DBMS_SNAPSHOT Procedures
- DBMS_SNAPSHOT.BEGIN_TABLE_REORGANIZATION (Oracle8 Only)
- DBMS_SNAPSHOT.END_TABLE_REORGANIZATION (Oracle8 Only)
- DBMS_SNAPSHOT.I_AM_A_REFRESH
- DBMS_SNAPSHOT.PURGE_LOG
- DBMS_SNAPSHOT.REFRESH
- DBMS_SNAPSHOT.REFRESH_ALL
- DBMS_SNAPSHOT.REGISTER_SNAPSHOT (Oracle8 Only)
- DBMS_SNAPSHOT.SET_I_AM_A_REFRESH
- DBMS_SNAPSHOT.UNREGISTER_SNAPSHOT (Oracle8 Only)
-
B. Scripts and Utilities
- busycirc.sql
- busydisp.sql
- busyq.sql
- checklatency
- colgroups.sql
- confstats.sql
- cr_regions.sql
- defcall.sql
- defcalldest.sql
- defcallinfo.sql
- defdest.sql
- deferror.sql
- deferror8.sql
- deforigin.sql
- defschedule.sql
- deftran.sql
- deftrandest.sql
- disprate.sql
- errorinfo.sql
- fixdefer.sql
- gendelerrtran.sql
- gendeltran.sql
- gengensup.sql
- groupedcols.sql
- invalids.sql
- jobs.sql
- keycols.sql
- lastsnap.sql
- latent.sql
- links.sql
- mastersnapinfo.sql
- mlogs.sql
- needsgen.sql
- nonrepobjects.sql
- pk_regions.sql
- prioritygroups.sql
- prioritysites.sql
- propmode.sql
- refgroups.sql
- regsnaps.sql
- repcaterr.sql
- repcatlog.sql
- repconflict.sql
- repgroup.sql
- repobjects.sql
- repres.sql
- repsites.sql
- resconfs.sql
- snaps.sql
- snaps7.sql
- trg_regions.sql
- UserAdmin
-
A. Built-in Packages for Distributed Systems
- Index
- Colophon
Product information
- Title: Oracle Distributed Systems
- Author(s):
- Release date: April 1999
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781565924321
You might also like
book
Oracle Internals
Oracle has evolved from a simple relational database into one of the most complex e-commerce platforms …
video
Oracle SQL
Overview Oracle SQL LiveLessons covers the basics of the Oracle SQL programming language. This course covers …
book
Oracle SQL*Plus: The Definitive Guide, 2nd Edition
Despite its wide availability and usage, few developers and DBAs have mastered the true power of …
book
Oracle Database 12c Oracle RMAN Backup & Recovery
This authoritative Oracle Press resource on RMAN has been thoroughly revised to cover every new feature, …