Streams Concepts and Administration
ContentsOpens a new window
Opens a new window
Page 23 of 57

14 Introduction to Oracle Streams Administration

Several tools are available for configuring, administering, and monitoring your Oracle Streams environment. Oracle-supplied PL/SQL packages are the primary configuration and management tools, and the Oracle Streams tool in Oracle Enterprise Manager Cloud Control provides some configuration, administration, and monitoring capabilities to help you manage your environment. Additionally, Oracle Streams data dictionary views keep you informed about your Oracle Streams environment.

The following topics describe the tools that you can use for Oracle Streams administration:

Oracle-Supplied PL/SQL Packages

The following Oracle-supplied PL/SQL packages contain procedures and functions for configuring and managing an Oracle Streams environment.

DBMS_APPLY_ADM Package

The DBMS_APPLY_ADM packageOpens a new window provides an administrative interface for starting, stopping, and configuring an apply process. This package includes procedures that enable you to configure apply handlerOpens a new windows, set enqueue destinations for messages, and specify execution directives for messages. This package also provides administrative procedures that set the instantiation SCNOpens a new window for objects at a destination database. This package also includes subprograms for configuring conflictOpens a new window detection and resolution and for managing apply errors.

DBMS_CAPTURE_ADM Package

The DBMS_CAPTURE_ADM packageOpens a new window provides an administrative interface for starting, stopping, and configuring a capture processOpens a new window. It also provides an administrative interface for configuring a synchronous captureOpens a new window. This package also provides administrative procedures that prepare database objects at the source databaseOpens a new window for instantiationOpens a new window at a destination databaseOpens a new window.

DBMS_COMPARISON Package

The DBMS_COMPARISON packageOpens a new window provides interfaces to compare and converge database objects at different databases.

DBMS_PROPAGATION_ADM Package

The DBMS_PROPAGATION_ADM packageOpens a new window provides an administrative interface for configuring propagation from a source queueOpens a new window to a destination queueOpens a new window.

DBMS_RULE Package

The DBMS_RULE packageOpens a new window contains the EVALUATE procedure, which evaluates a rule set. The goal of this procedure is to produce the list of satisfied rules, based on the data. This package also contains subprograms that enable you to use iterators during rule evaluation. Instead of returning all rules that evaluate to TRUE or MAYBE for an evaluation, iterators can return one rule at a time.

DBMS_RULE_ADM Package

The DBMS_RULE_ADM packageOpens a new window provides an administrative interface for creating and managing rules, rule setOpens a new windows, and rule evaluation contextOpens a new windows. This package also contains subprograms for managing privileges related to rules.

DBMS_STREAMS Package

The DBMS_STREAMS packageOpens a new window provides interfaces to convert ANYDATA objects into LCR objects, to return information about Oracle Streams attributes and Oracle Streams clientOpens a new windows, and to annotate redo entries generated by a session with a tagOpens a new window. This tag can affect the behavior of a capture process, a synchronous capture, a propagation, an apply process, or a messaging client whose rules include specifications for these tags in redo entries or LCRs.

DBMS_STREAMS_ADM Package

The DBMS_STREAMS_ADM packageOpens a new window provides an administrative interface for adding and removing simple ruleOpens a new windows for capture processOpens a new windowes, propagationOpens a new windows, and apply processOpens a new windowes at the table, schema, and database level. This package also enables you to add rules that control which messageOpens a new windows a propagation propagates and which messages a messaging clientOpens a new window dequeues. This package also contains procedures for creating queueOpens a new windows and for managing Oracle Streams metadata, such as data dictionary information. This package also contains procedures that enable you to configure and maintain an Oracle Streams replicationOpens a new window environment. This package is provided as an easy way to complete common tasks in an Oracle Streams environment. You can use other packages, such as the DBMS_CAPTURE_ADM, DBMS_PROPAGATION_ADM, DBMS_APPLY_ADM, DBMS_RULE_ADM, and DBMS_AQADM packages, to complete these same tasks, as well as tasks that require additional customization.

DBMS_STREAMS_ADVISOR_ADM Package

The DBMS_STREAMS_ADVISOR_ADM packageOpens a new window provides an interface to gather information about an Oracle Streams environment and advise database administrators based on the information gathered. This package is part of the Oracle Streams Performance Advisor.

DBMS_STREAMS_AUTH Package

The DBMS_STREAMS_AUTH packageOpens a new window provides interfaces for granting privileges to and revoking privileges from Oracle Streams administrators.

DBMS_STREAMS_HANDLER_ADM Package

The DBMS_STREAMS_HANDLER_ADM packageOpens a new window provides interfaces for managing statement DML handlerOpens a new windows.

DBMS_STREAMS_MESSAGING Package

The DBMS_STREAMS_MESSAGING packageOpens a new window provides interfaces to enqueue messages into and dequeue messages from an ANYDATA queue.

DBMS_STREAMS_TABLESPACE_ADM Package

The DBMS_STREAMS_TABLESPACE_ADM packageOpens a new window provides administrative procedures for creating and managing a tablespace repository. This package also provides administrative procedures for copying tablespaces between databases and moving tablespaces from one database to another. This package uses transportable tablespaces, Data Pump, and the DBMS_FILE_TRANSFER package.

UTL_SPADV Package

The UTL_SPADV packageOpens a new window provides subprograms to collect and analyze statistics for the Oracle Streams components in a distributed database environment. This package uses the Oracle Streams Performance Advisor to gather statistics.

See Also:

Oracle Database PL/SQL Packages and Types ReferenceOpens a new window for more information about these packages

Oracle Streams Data Dictionary Views

Every database in an Oracle Streams environment has Oracle Streams data dictionary views. These views maintain administrative information about local ruleOpens a new windows, objects, capture processOpens a new windowes, propagationOpens a new windows, apply processOpens a new windowes, and messaging clientOpens a new windows. You can use these views to monitor your Oracle Streams environment.

See Also:

Oracle Streams Tool in Oracle Enterprise Manager Cloud Control

To help configure, administer, and monitor Oracle Streams environments, Oracle provides an Oracle Streams tool in Oracle Enterprise Manager Cloud Control. You can also use the Oracle Streams tool to generate Oracle Streams configuration scripts, which you can then modify and run to configure your Oracle Streams environment. The Oracle Streams tool online Help contains the primary documentation for this tool.

To display an overview of the replication components at a database:

  1. Access the Database Home page.

    See Oracle Database 2 Day DBAOpens a new window for more information.

  2. From the Administration menu, select Streams and Replication, then Manage Replication.

    If the Database Login page appears, then log in as the Oracle Streams administrator.

The Manage Replication page appears, showing the Overview subpage.

Figure 14-1Opens a new window shows the Manage Replication page in Oracle Enterprise Manager Cloud Control.

Figure 14-1 Manage Replication Page in Oracle Enterprise Manager Cloud Control

Description of Figure 14-1 follows
Description of "Figure 14-1 Manage Replication Page in Oracle Enterprise Manager Cloud Control"Opens a new window

See Also:

The online Help for the Oracle Streams tool in the Oracle Enterprise Manager Cloud Control