Oracle8i Documentation Addendum Release 3 (8.1.7) Part Number A85455-01 |
|
This chapter is an addendum to the release 8.1.6 Oracle8i Replication Management API Reference and describes changes in the replication management API in release 8.1.7. This chapter also includes documentation additions.
This chapter contains these topics:
The following section describes changes to the DBMS_REPCAT_INSTANTIATE
package in release 8.1.7.
The DBMS_REPCAT_INSTANTIATE.INSTANTIATE_OFFLINE_REPAPI
function includes the new required parameter offline_dirpath
. The following section includes documentation for the new parameter and replaces the description of this function in the release 8.1.6 Oracle8i Replication Management API Reference.
The DBMS_REPCAT_INSTANTIATE.INSTANTIATE_OFFLINE_REPAPI
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.
Offline instantiation is an ideal solution when the remote snapshot site has limited network connectivity. 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 username of the connected user and the refresh_template_name
and site_id
parameters. The file 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, offline_dirpath IN VARCHAR2 := NULL, 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. |
The following section describes changes to the DBMS_REPCAT_RGT
package in release 8.1.7.
The offline_dirpath
parameter is required in the DBMS_REPCAT_RGT.INSTANTIATE_OFFLINE_REPAPI
function in release 8.1.7. The following section includes documentation for this parameter and replaces the description of this function in the release 8.1.6 Oracle8i Replication Management API Reference.
Note:
Due to a documentation error, the |
The DBMS_REPCAT_RGT.INSTANTIATE_OFFLINE_REPAPI
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.
Offline instantiation is an ideal solution when the remote snapshot site has limited network connectivity. 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
parameters. The file 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
Note:
This function is used in performing an offline instantiation of a deployment template. Additionally, this function is for replication administrators that are instantiating for another user. Users wanting to perform their own instantiation should use the public version of this function:
This function should not be confused with the procedures in the |
DBMS_REPCAT_RGT.INSTANTIATE_OFFLINE_REPAPI( refresh_template_name IN VARCHAR2, site_id IN VARCHAR2, user_name IN VARCHAR2 := USER, master IN VARCHAR2 := NULL, url IN VARCHAR2 := NULL, ssl IN NUMBER := 0, offline_dirpath IN VARCHAR2 := NULL, 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. |
This section provides additional documentation about the replication management API that was not included in the release 8.1.6 Oracle8i Replication Management API Reference.
The following describes the required actions if you switch the master site for a snapshot site to a different master site that is running a different release of Oracle. This additional documentation is added to the description for the DBMS_REPCAT.SWITCH_SNAPSHOT_MASTER
procedure.
If min_communication
is true
for the snapshot and the new master is an Oracle7 master, regenerate replication support for the snapshot with min_communication
set to false
.
If generate_80_compatible
is false
for the snapshot and the new master is a release lower than Oracle8i (Oracle7 or Oracle8), regenerate replication support for the snapshot with generate_80_compatible
set to true
.
You can set both parameters for a snapshot in one call to DBMS_REPCAT.GENERATE_SNAPSHOT_SUPPORT
.
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|