Skip to Content
Oracle Distributed Systems
book

Oracle Distributed Systems

by Charles Dye
April 1999
Intermediate to advanced
552 pages
15h 39m
English
O'Reilly Media, Inc.
Content preview from Oracle Distributed Systems

DBMS_REFRESH: Managing Snapshot Groups

The DBMS_REFRESH package contains procedures for administering snapshot groups.

How the Package Is Used

A snapshot group is a collection of one or more snapshots that Oracle refreshes in an atomic transaction, guaranteeing that relationships among the master tables are preserved in the snapshot tables.

Installation and Access

The DBMS_REFRESH package is created when the Oracle database is installed. The dbmssnap.sql script (found in the built-in packages source directory) contains the source code for this package’s specification. This script is called by catproc.sql, which is normally run immediately after database creation. The script creates the public synonym DBMS_REFRESH for the package and grants the EXECUTE privilege on the package to public. All Oracle users can reference and make use of this package.

DBMS_REFRESH Procedures

Procedure Name

Description

ADD

Adds one or more snapshots to an existing refresh group

CHANGE

Changes parameters associated with a refresh group

DESTROY

Removes a refresh group

MAKE

Creates a refresh group

REFRESH

Forces a refresh of a refresh group

SUBTRACT

Removes one or more snapshots from a refresh group

DBMS_REFRESH does not define any exceptions.

DBMS_REFRESH Nonprogram Elements

Element Name/Type

Description

aaspriv/BINARY INTEGER

Privilege number for ALTER ANY SNAPSHOT system privilege (107)

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Expert Oracle Exadata, Second Edition

Expert Oracle Exadata, Second Edition

Martin Bach, Karl Arao, Andy Colvin, Frits Hoogland, Randy Johnson, Kerry Osborne, Tanel Poder
Expert Oracle RAC 12c

Expert Oracle RAC 12c

Syed Jaffar Hussain, Tariq Farooq, Riyaj Shamsudeen, Kai Yu

Publisher Resources

ISBN: 1565924320Supplemental ContentCatalog PageErrata