Name

DBMS_REFRESH.CHANGE

Synopsis

The CHANGE procedure allows you to modify settings associated with a snapshot group. You can change most of the parameters that are available in ADD.

The specifications for CHANGE differ for Oracle7 and Oracle8 as follows. Note that the difference between the Oracle7 and Oracle8 CHANGE specifications is the inclusion of support for parallel propagation and purging in the Oracle8 version.

Oracle7 specification:

PROCEDURE DBMS_REFRESH.CHANGE
   (name IN VARCHAR2,
    next_date IN DATE DEFAULT NULL,
    interval IN VARCHAR2 DEFAULT NULL,
    implicit_destroy IN BOOLEAN DEFAULT NULL,
    rollback_seg IN VARCHAR2 DEFAULT NULL,
    push_deferred_rpc IN BOOLEAN DEFAULT NULL,
    refresh_after_errors IN BOOLEAN DEFAULT NULL);

Oracle8 specification:

PROCEDURE DBMS_REFRESH.CHANGE
   (name IN VARCHAR2,
    next_date IN DATE := NULL,
    interval IN VARCHAR2 := NULL,
    implicit_destroy IN BOOLEAN := NULL,
    rollback_seg IN VARCHAR2 := NULL,
    push_deferred_rpc IN BOOLEAN := NULL,
    refresh_after_errors IN BOOLEAN := NULL,
    purge_option IN BINARY_INTEGER := NULL,
    parallelism IN BINARY_INTEGER := NULL,
    heap_size IN BINARY_INTEGER := NULL);

Refer to the ADD section for an explanation of these parameters.

Exceptions

Exception Name

Number

Description

ORA-23404

–23404

Refresh group name does not exist.

Restrictions

This procedure must be run from the snapshot site.

Get Oracle Distributed Systems now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.