Oracle8i Replication Management API Reference Release 2 (8.1.6) A76958-01 |
|
Replication Management API Reference, 124 of 179
This function generates a file at the master site that is used to create the snapshot environment at a remote RepAPI snapshot site while offline. This offline instantiation file should be used at remote RepAPI sites that are not able to remain connected to the master site for an extended amount of time.
This is an ideal solution where the remote snapshot site is a laptop running Oracle8i Lite (which includes RepAPI). The generated file can be posted on an FTP site or loaded to a CD-ROM, floppy disk, and so on.
The file generated by this function is stored at the master site in the directory specified by the parameter OFFLINE_DIRPATH
. The file is named based on the USER_NAME
, REFRESH_TEMPLATE_NAME
, and SITE_ID
and is identified with the file type extension .oli
. For example, an offline instantiation for the user SCOTT of the template named MYTEMPLATE at site 1234 is named the following:
scott_mytemplate_1234.oli
.
This is a public function to generate an offline instantiation file for the connected user.
DBMS_REPCAT_INSTANTIATE.INSTANTIATE_OFFLINE_REPAPI( refresh_template_name IN VARCHAR2, site_id IN VARCHAR2 := NULL, master IN VARCHAR2 := NULL, url IN VARCHAR2 := NULL, ssl IN NUMBER := 0, trace_vector IN NUMBER := DBMS_REPCAT_RGT.NO_TRACE_DUMP, resultset_threshold IN NUMBER := DBMS_REPCAT_INSTANTIATE. RESULTSET_THRESHOLD, lob_threshold IN NUMBER := DBMS_REPCAT_INSTANTIATE. LOB_THRESHOLD);
Return Value | Description |
---|---|
0 |
An error was encountered. |
1 |
No errors were encountered. |
|
![]() Copyright © 1999 Oracle Corporation. All Rights Reserved. |
|