Oracle9i Streams Release 2 (9.2) Part Number A96571-02 |
|
|
View PDF |
Oracle9i Streams describes the features and functionality of Streams. This document contains conceptual information about Streams, along with information about configuring and managing a Streams environment. In addition, this document contains detailed examples for configuring a Streams messaging environment, a Streams replication environment, and a rule-based application.
This preface contains these topics:
Oracle9i Streams is intended for database administrators who create and maintain Streams environments. These administrators perform one or more of the following tasks:
To use this document, you need to be familiar with relational database concepts, SQL, distributed database administration, Advanced Queuing concepts, PL/SQL, and the operating systems under which you run a Streams environment.
This document contains:
Contains chapters that describe conceptual information relating to Streams.
Introduces the major features of Streams and how they can be used.
Contains conceptual information about the Streams capture process. Includes information about logical change records (LCRs), datatypes and types of changes captured, and supplemental logging, along with information about capture process architecture.
Contains conceptual information about staging and propagation in a Streams environment. Includes information about the differences between captured and user-enqueued events, propagation, the differences between transactional and non-transactional queues, and using SYS.AnyData
queues. Also includes information about queue and propagation architecture.
Contains conceptual information about the Streams apply process. Includes information about event processing with an apply process, considerations for apply changes to tables, conditions for applying DDL changes, and controlling a trigger's firing property, along with information about the oldest SCN for an apply process and apply process architecture.
Contains conceptual information about rules. Includes information about rule components, rule sets, and privileges related to rules.
Contains conceptual information about how rules are used in Streams. Includes information about table-level rules, subset rules, schema-level rules, and global-level rules. Also includes information about rule-based transformations.
Contains conceptual information about conflicts. Includes information about the possible types of conflicts, conflict detection, conflict avoidance, and conflict resolution in Streams environments.
Contains conceptual information about Streams tags. Includes information about how tag values are used in rules, how a tag value can be set for an apply process, and how to avoid change cycling using tags.
Contains conceptual information about heterogeneous information sharing using Streams. Includes information about sharing information in an Oracle database with a non-Oracle database, sharing information in a non-Oracle database with an Oracle database, and using Streams to share information between two non-Oracle databases.
Contains conceptual information about using Streams for high availability environments.
Contains chapters that describe managing a capture process, staging, propagation, an apply process, rules, rule-based transformations, logical change records (LCRs), and Streams tags.
Contains information about preparing for a Streams environment. Includes instructions for configuring a Streams administrator, setting initialization parameters that are important to Streams, preparing for a capture process, and configuring networking connectivity.
Contains information about managing a capture process. Includes instructions for creating, starting, stopping, and altering a capture process, as well as other information related to capture process administration.
Contains information about managing staging and propagation of events in a Streams environment. Includes instructions for creating a Streams queue, and instructions for enabling, disabling, and altering a propagation, as well as other information related to staging, propagation, and messaging.
Contains information about managing an apply process. Includes instructions for creating, starting, stopping, and altering an apply process, as well as instructions about using apply process handlers, configuring conflict resolution, and managing an exception queue.
Contains information about managing rules and rule-based transformations. Includes instructions for managing rules and rule sets, as well as information about granting and revoking privileges related to rules. In addition, this chapter includes instructions for creating, altering, and removing rule-based transformations.
Contains information about managing logical change records (LCRs) and Streams tags. Includes instructions for constructing and enqueuing LCRs, and instructions for setting and removing tag values for a session or an apply process.
Contains information about using data dictionary views and scripts to monitor a Streams environment. Includes information about monitoring capture processes, queues, propagations, apply processes, rules, rule-based transformations, and tags.
Contains information about possible problems in a Streams environment and how to resolve them. Includes information about troubleshooting a capture process, propagation, apply process, and Streams rules, as well as information about checking trace files and the alert log for problems.
Contains chapters that illustrate example environments.
Contains a step by step example that configures a messaging environment using Streams.
Contains a step by step example that configures a single database capture and apply example using Streams. Specifically, this chapter illustrates an example of a single database that captures changes to a table, uses a DML handler during apply to re-enqueue the captured changes into a queue, and then applies a subset of the changes to a different table.
Contains a step by step example that configures a simple single source replication environment using Streams.
Contains a step by step example that configures a single source heterogeneous replication environment using Streams. Also contains step by step examples for adding objects and databases to this environment.
Contains a step by step example that configures a multiple source replication environment using Streams.
Contains step by step examples that illustrate a rule-based application that uses the Oracle rules engine.
Contains one appendix that describes the XML schema for logical change records (LCRs).
Contains the definition of the XML schema for LCRs.
For more information, see these Oracle resources:
You may find more information about a particular topic in the other documents in the Oracle9i documentation set.
Many of the examples in this book use the sample schemas of the seed database, which is installed by default when you install Oracle. Refer to Oracle9i Sample Schemas for information on how these schemas were created and how you can use them.
In North America, printed documentation is available for sale in the Oracle Store at
http://oraclestore.oracle.com/
Other customers can contact their Oracle representative to purchase printed documentation.
To download free release notes, installation documentation, white papers, or other collateral, please visit the Oracle Technology Network (OTN) at
http://otn.oracle.com/
You must register online before using OTN. If you already have a username and password for OTN, then you can go directly to the documentation section of the OTN Web site at
http://otn.oracle.com/docs/index.htm
To access the database documentation search engine directly, please visit
http://tahiti.oracle.com
This section describes the conventions used in the text and code examples of this documentation set. It describes:
We use various conventions in text to help you more quickly identify special terms. The following table describes those conventions and provides examples of their use.
Code examples illustrate SQL, PL/SQL, SQL*Plus, or other command-line statements. They are displayed in a monospace (fixed-width) font and separated from normal text as shown in this example:
SELECT username FROM dba_users WHERE username = 'MIGRATE';
The following table describes typographic conventions used in code examples and provides examples of their use.
Our goal is to make Oracle products, services, and supporting documentation accessible, with good usability, to the disabled community. To that end, our documentation includes features that make information available to users of assistive technology. This documentation is available in HTML format, and contains markup to facilitate access by the disabled community. Standards will continue to evolve over time, and Oracle Corporation is actively engaged with other market-leading technology vendors to address technical obstacles so that our documentation can be accessible to all of our customers. For additional information, visit the Oracle Accessibility Program Web site at
http://www.oracle.com/accessibility/
JAWS, a Windows screen reader, may not always correctly read the code examples in this document. The conventions for writing code require that closing braces should appear on an otherwise empty line; however, JAWS may not always read a line of text that consists solely of a bracket or brace.
This documentation may contain links to Web sites of other companies or organizations that Oracle Corporation does not own or control. Oracle Corporation neither evaluates nor makes any representations regarding the accessibility of these Web sites.