Oracle9i Replication Management API Reference Release 2 (9.2) Part Number A96568-01 |
|
DBMS_REPCAT_INSTANTIATE
package instantiates deployment templates.
This chapter discusses the following topics:
Subprogram | Description |
---|---|
DROP_SITE_INSTANTIATION Procedure |
Public procedure that removes the target site from the |
INSTANTIATE_OFFLINE Function |
Public function that generates a script at the master site that is used to create the materialized view environment at the remote materialized view site while offline. |
INSTANTIATE_ONLINE Function |
Public function that generates a script at the master site that is used to create the materialized view environment at the remote materialized view site while online. |
This procedure drops a template instantiation at a target site. This procedure removes all related metadata at the master site and disables the specified site from refreshing its materialized views. You must execute this procedure as the user who originally instantiated the template. To see who instantiated the template, query the ALL_REPCAT_TEMPLATE_SITES
view.
DBMS_REPCAT_INSTANTIATE.DROP_SITE_INSTANTIATION( refresh_template_name IN VARCHAR2, site_name IN VARCHAR2);
Parameter | Description |
---|---|
refresh_template_name |
The name of the deployment template to be dropped. |
site_name |
Identifies the master site where you want to drop the specified template instantiation. |
This function generates a file at the master site that is used to create the materialized view environment at the remote materialized view site while offline. This generated file is an offline instantiation file and should be used at remote materialized view sites that are not able to remain connected to the master site for an extended amount of time.
This is an ideal solution when the remote materialized view site is a laptop. Use the packaging interface in the Replication Management tool to package the generated file and data into a single file that can be posted on an FTP site or loaded to a CD-ROM, floppy disk, and so on.
The script generated by this function is stored in the USER_REPCAT_TEMP_OUTPUT
temporary view and is used by several Oracle tools, including the Replication Management tool, during the distribution of deployment templates. The number returned by this function is used to retrieve the appropriate information from the USER_REPCAT_TEMP_OUTPUT
view.
The user who executes this public function becomes the "registered" user of the instantiated template at the specified site.
Note: This function is used in performing an offline instantiation of a deployment template. This function should not be confused with the procedures in the |
See Also:
|
DBMS_REPCAT_INSTANTIATE.INSTANTIATE_OFFLINE( refresh_template_name IN VARCHAR2, site_name IN VARCHAR2, runtime_parm_id IN NUMBER := -1e-130, next_date IN DATE := SYSDATE, interval IN VARCHAR2 := 'SYSDATE + 1', use_default_gowner IN BOOLEAN := true) return NUMBER;
This function generates a script at the master site that is used to create the materialized view environment at the remote materialized view site while online. This generated script should be used at remote materialized view sites that are able to remain connected to the master site for an extended amount of time, as the instantiation process at the remote materialized view site may be lengthy (depending on the amount of data that is populated to the new materialized views).
The script generated by this function is stored in the USER_REPCAT_TEMP_OUTPUT
temporary view and is used by several Oracle tools, including the Replication Management tool, during the distribution of deployment templates. The number returned by this function is used to retrieve the appropriate information from the USER_REPCAT_TEMP_OUTPUT
view.
The user who executes this public function becomes the "registered" user of the instantiated template at the specified site.
See Also:
|
DBMS_REPCAT_INSTANTIATE.INSTANTIATE_ONLINE( refresh_template_name IN VARCHAR2, site_name IN VARCHAR2, runtime_parm_id IN NUMBER := -1e-130, next_date IN DATE := SYSDATE, interval IN VARCHAR2 := 'SYSDATE + 1', use_default_gowner IN BOOLEAN := true) return NUMBER;
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|