Oracle8i Replication Management API Reference
Release 2 (8.1.6)

A76958-01

Library

Product

Contents

Index

Prev Up Next

Replication Management API Reference, 40 of 179


BEGIN_LOAD procedure

This procedure prepares a snapshot site for import of a new snapshot as part of offline instantiation. You must call this procedure from the snapshot site for the new snapshot.


Note:

This procedure is used in performing an offline instantiation of a snapshot.

This procedure should not be confused with the procedures in the DBMS_OFFLINE_OG package (used for performing an offline instantiation of a master table) or with the procedures in the DBMS_REPCAT_INSTANTIATE package (used for instantiating a deployment template). See these respective packages for more information on their use. 


Syntax

DBMS_OFFLINE_SNAPSHOT.BEGIN_LOAD (
   gname               IN   VARCHAR2,
   sname               IN   VARCHAR2,
   master_site         IN   VARCHAR2,
   snapshot_oname      IN   VARCHAR2,
   storage_c           IN   VARCHAR2 := '',
   comment             IN   VARCHAR2 := '',
   min_communication   IN   BOOLEAN  := TRUE);

Parameters

Table 8-65 BEGIN_LOAD Procedure Parameters
Parameter  Description 
gname
 

Name of the object group for the snapshot that you are creating using offline instantiation. 

sname
 

Name of the schema for the new snapshot. 

master_site
 

Fully qualified database name of the snapshot's master site. 

snapshot_oname
 

Name of the temporary snapshot created at the master site. 

storage_c
 

Storage options to use when creating the new snapshot at the snapshot site. 

comment
 

User comment. 

min_communication
 

If TRUE, then the update trigger sends the new value of a column only if the update statement modifies the column. Also, if TRUE, the update trigger sends the old value of the column only if it is a key column or a column in a modified column group. 

Exceptions

Table 8-66 BEGIN_LOAD Procedure Exceptions
Exception  Description 
badargument
 

Null or empty string for object group, schema, master site, or snapshot name. 

dbms_repcat. 
missingrepgroup
 

gname does not exist as a replicated master group. 

missingremotesnap
 

Could not locate specified snapshot at specified master site. 

dbms_repcat. 
missingschema
 

Specified schema does not exist. 

snaptabmismatch
 

Base table name of the snapshot at the master and snapshot do not match. 


Prev Up Next
Oracle
Copyright © 1999 Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index