Skip to Main Content
Oracle Distributed Systems
book

Oracle Distributed Systems

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

DBMS_OFFLINE_SNAPSHOT: Performing Offline Snapshot Instantiation

The DBMS_OFFLINE_SNAPSHOT package allows you to instantiate snapshots without having to run the CREATE SNAPSHOT command or the DBMS_REPEAT.SNAPSHOT_REPOBJECT procedure over the network. Doing offline instantiation in this way is particularly useful in cases in which you wish to instantiate a snapshot site with a large amount of data in an advanced replication environment. Offline instantiation refers to the population of snapshots with the import and export utilities, as opposed to using the DBMS_SNAPSHOT.REFRESH procedure. This technique is less time consuming and less taxing on your network, and it minimizes the time your environment must be quiesced.

How the Package Is Used

The following table summarizes the steps you follow when using DBMS_OFFLINE_SNAPSHOT:

Step

Where Performed

Activity

1

Master site

Create snapshot log on table(s) to be snapshotted (optional, but recommended).

2

Master site

Create a snapshot locally on the table(s) to be snapshotted.

3

Master site

Export SNAP$_table_name table(s) created in Step 2 as the schema owner.

4

New snapshot site

DBMS_REPCAT.CREATE_SNAPSHOT_REPGROUP.

5

New snapshot site

DBMS_OFFLINE_SNAPSHOT.BEGIN_LOAD.

6

New snapshot site

Import SNAP$_table_name tables from export file created in Step 3.

7

New snapshot site

DBMS_OFFLINE_SNAPSHOT.END_LOAD.

8

Master site

Drop snapshot(s) created in Step 2.

Installation and Access

The DBMS_OFFLINE_SNAPSHOT package iscreated when the Oracle database is installed. The ...

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

Oracle Internals

Oracle Internals

Donald K. Burleson
Expert Oracle RAC 12c

Expert Oracle RAC 12c

Syed Jaffar Hussain, Tariq Farooq, Riyaj Shamsudeen, Kai Yu
Expert Oracle Exadata, Second Edition

Expert Oracle Exadata, Second Edition

Martin Bach, Karl Arao, Andy Colvin, Frits Hoogland, Randy Johnson, Kerry Osborne, Tanel Poder

Publisher Resources

ISBN: 1565924320Supplemental ContentCatalog PageErrata