Oracle8i Replication Management API Reference Release 2 (8.1.6) Part Number A76958-01 |
|
Replication Management API Reference, 178 of 179
This procedure enables the administration of individual snapshots.
DBMS_SNAPSHOT.REGISTER_SNAPSHOT ( snapowner IN VARCHAR2, snapname IN VARCHAR2, snapsite IN VARCHAR2, {snapshot_id IN DATE | BINARY_INTEGER, flag IN BINARY_INTEGER,} qry_txt IN VARCHAR2, rep_type IN BINARY_INTEGER := DBMS_SNAPSHOT.REG_UNKNOWN);
This procedure is invoked at the master site by a remote snapshot site using a remote procedure call. If REGISTER_SNAPSHOT
is called multiple times with the same SNAPOWNER
, SNAPNAME
, and SNAPSITE
, then the most recent values for SNAPSHOT_ID
, FLAG
, and QUERY_TXT
are stored. If a query exceeds the maximum VARCHAR2
size, then QUERY_TXT
contains the first 32000 characters of the query and the remainder is truncated. When invoked manually, the values of SNAPSHOT_ID
and FLAG
have to be looked up in the snapshot views by the person who calls the procedure.
If you do not want the snapshot query registered at the master site, then call the SET_REGISTER_QUERY_TEXT
procedure with the option set to FALSE
. To see the most recent setting of the option, call the GET_REG_QUERY_TEXT_FLAG
function at the snapshot site before issuing the DDL.
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|