Oracle9i Replication Management API Reference Release 2 (9.2) Part Number A96568-01 |
|
When you install replication capabilities at a site, Oracle installs the replication catalog, which consists of tables and views, at that site. This chapter contains these topics:
Caution: Do not modify the replication catalog tables directly. Instead, use the procedures provided in the |
Many data dictionary tables have three corresponding views:
ALL_
view displays all the information accessible to the current user, including information from the current user's schema as well as information from objects in other schemas, if the current user has access to those objects by way of grants of privileges or roles.DBA_
view displays all relevant information in the entire database. DBA_
views are intended only for administrators. They can be accessed only by users with the SELECT
ANY
TABLE
privilege. This privilege is assigned to the DBA role when Oracle is initially installed.USER_
view displays all the information from the schema of the current user. No special privileges are required to query these views.The columns of the ALL_
, DBA_
, and USER_
views corresponding to a single data dictionary table are usually nearly identical. Therefore, these views are described in full only once in this chapter (for the ALL_
view). The views are listed without the full description for DBA_
and USER_
views, but differences are noted.
As shown in Figure 25-1, the replication catalog views are used by master sites and materialized view sites to determine such information as what objects are being replicated, where they are being replicated, and if any errors have occurred during replication. Table 25-1 lists all of the replication catalog views.
ALL_ Views | DBA_ Views | USER_ Views |
---|---|---|
- |
- |
|
- |
- |
|
- |
- |
DBA_REGISTERED_MVIEW_GROUPS
lists all the registered materialized view groups at the master site or master materialized view site.
Contains global information about each deployment template accessible to the current user, such as the template name, template owner, what refresh group the template objects belong to, and the type of template (private or public).
When the DBA adds materialized view definitions to the template container, the DBA references the appropriate REFRESH_TEMPLATE_NAME
. Any materialized views added to a specific template are added to the refresh group specified in REFRESH_GROUP_NAME
.
Furthermore, deployment templates created as public are available to all users who can connect to the master site. Deployment templates created as private are limited to those users listed in the ALL_REPCAT_USER_AUTHORIZATIONS
view.
DBA_REPCAT_REFRESH_TEMPLATES
describes all deployment templates in the database.USER_REPCAT_REFRESH_TEMPLATES
describes all deployment templates owned by the current user.
Contains the individual object definitions that are contained in each deployment template accessible to the current user. Individual objects are added to a template by specifying the target template in REFRESH_TEMPLATE_NAME
.
DDL_TEXT
can contain variables to create parameterized templates. Variables are created by placing a colon (:) at the beginning of the variable name (for example, :region). Templates that use parameters allow for greater flexibility during the template instantiation process (that is, in defining data sets specific for a materialized view site).
When the object is added to the template, the specified DDL is examined and if any parameters have been defined, Oracle automatically adds the parameter to the ALL_REPCAT_TEMPLATE_PARMS
view.
DBA_REPCAT_TEMPLATE_OBJECTS
describes the object definitions for all deployment templates in the database.USER_REPCAT_TEMPLATE_OBJECTS
describes the object definitions for each deployment template owned by the current user.
Because the DDL_TEXT
column is defined as a CLOB
, you receive an error if you simply try to perform a SELECT
on the ALL_REPCAT_TEMPLATE_OBJECTS
view. If you do not need to see the object DDL, then use the following select statement (be sure to exclude the DDL_TEXT
parameter):
SELECT REFRESH_TEMPLATE_NAME, OBJECT_NAME, OBJECT_TYPE, MASTER_ROLLBACK_SEG, FLAVOR_ID FROM DBA_REPCAT_TEMPLATE_OBJECTS;
The following script uses cursors and the DBMS_LOB
package to view the entire contents of the ALL_REPCAT_TEMPLATE_OBJECTS
view. Use this script to view the entire contents of the ALL_REPCAT_TEMPLATE_OBJECTS
view, including the DDL_TEXT
column:
SET SERVEROUTPUT ON DECLARE CURSOR mycursor IS SELECT REFRESH_TEMPLATE_NAME, OBJECT_NAME, OBJECT_TYPE, DDL_TEXT, MASTER_ROLLBACK_SEG, FLAVOR_ID FROM DBA_REPCAT_TEMPLATE_OBJECTS; tempstring VARCHAR2(1000); len NUMBER; BEGIN FOR myrec IN mycursor LOOP len := DBMS_LOB.GETLENGTH(myrec.ddl_text); DBMS_LOB.READ(myrec.ddl_text, len, 1, tempstring); DBMS_OUTPUT.PUT_LINE(myrec.refresh_template_name||' '|| myrec.object_name||' '||myrec.object_type||' '||tempstring||' '|| myrec.master_rollback_seg||' '||myrec.flavor_id); END LOOP; END; /
See Also:
Oracle9i Application Developer's Guide - Fundamentals for more information on using cursors. Also, see Oracle9i Application Developer's Guide - Large Objects (LOBs) for more information on using the |
Contains parameters defined in the object DDL for all templates accessible to the current user. When an object is added to a template, the DDL is examined for variables. Any found parameters are automatically added to this view.
You can also define default parameter values and a prompt string in this view. These can make the templates easier to use during the instantiation process.
DBA_REPCAT_TEMPLATE_PARMS
describes the template parameters for all deployment templates in the database.USER_REPCAT_TEMPLATE_PARMS
describes the template parameters for all deployment templates owned by the current user.
Because the DEFAULT_PARM_VALUE
column is defined as a CLOB
, you receive an error if you simply try to perform a SELECT
on the ALL_REPCAT_TEMPLATE_PARMS
view. If you do not need to see the default parameter value, then use the following select statement (be sure to exclude DEFAULT_PARM_VALUE
):
SELECT REFRESH_TEMPLATE_NAME, OWNER, REFRESH_GROUP_NAME, TEMPLATE_COMMENT, PUBLIC_TEMPLATE, PARAMETER_NAME, PROMPT_STRING, USER_OVERRIDE FROM DBA_REPCAT_TEMPLATE_PARMS;
The following script uses cursors and the DBMS_LOB
package to view the entire contents of the ALL_REPCAT_TEMPLATE_PARMS
view. Use this script to view the entire contents of the ALL_REPCAT_TEMPLATE_PARMS
view, including the DEFAULT_PARM_VALUE
column:
SET SERVEROUTPUT ON DECLARE CURSOR mycursor IS SELECT REFRESH_TEMPLATE_NAME, OWNER, REFRESH_GROUP_NAME, TEMPLATE_COMMENT, PUBLIC_TEMPLATE, PARAMETER_NAME, DEFAULT_PARM_VALUE, PROMPT_STRING, USER_OVERRIDE FROM DBA_REPCAT_TEMPLATE_PARMS; tempstring VARCHAR2(1000); len NUMBER; BEGIN FOR myrec IN mycursor LOOP len := DBMS_LOB.GETLENGTH(myrec.default_parm_value); DBMS_LOB.READ(myrec.default_parm_value, len, 1, tempstring); DBMS_OUTPUT.PUT_LINE(myrec.refresh_template_name||' '|| myrec.owner||' '||myrec.refresh_group_name||' '|| myrec.template_comment||' '||myrec.public_template||' '|| myrec.parameter_name||' '||tempstring||' '||myrec.prompt_string||' '|| myrec.user_override); END LOOP; END; /
See Also:
Oracle9i Application Developer's Guide - Fundamentals for more information on using cursors. Also, see Oracle9i Application Developer's Guide - Large Objects (LOBs) for more information on using the |
Contains information about the current status of template instantiation among the sites of an enterprise network. This view contains information about instantiation sites for deployment templates that are accessible to the current user. Specifically, the DBA can monitor the installation and deletion of templates at specific sites.
DBA_REPCAT_TEMPLATE_SITES
describes all remote instantiation sites for all templates in the database.USER_REPCAT_TEMPLATE_SITES
describes remote instantiation sites for all templates owned by the current user.
Lists the authorized users for private deployment templates accessible to the current user. Users listed in this view have the ability to instantiate the specified template. Users not listed in this view cannot instantiate the deployment template.
DBA_REPCAT_USER_AUTHORIZATIONS
lists the authorized users for all the private deployment templates in the database.USER_REPCAT_USER_AUTHORIZATION
lists the authorized users for private deployment templates owned by the current user.
This view describes the template parameters for all deployment templates accessible to the current user. The DBA has the option of building a table of user parameters prior to distributing the template for instantiation. When a template is instantiated by a specified user, the values stored in the ALL_REPCAT_USER_PARM_VALUES
view for the specified user are used automatically.
DBA_REPCAT_USER_PARM_VALUES
describes the template parameters for all deployment templates in the database.USER_REPCAT_USER_PARM_VALUES
describes the template parameters for all deployment templates owned by the current user.
Because DEFAULT_PARM_VALUE
and PARM_VALUE
columns are defined as CLOBs
, you receive an error if you simply try to perform a SELECT
on the ALL_REPCAT_USER_PARM_VALUES
view. If you do not need to see the default or user parameter values, then use the following select statement (be sure to exclude DEFAULT_PARM_VALUE
and PARM_VALUE
):
SELECT REFRESH_TEMPLATE_NAME, OWNER, REFRESH_GROUP_NAME, TEMPLATE_COMMENT, PUBLIC_TEMPLATE, PARAMETER_NAME, PROMPT_STRING, USER_NAME FROM DBA_REPCAT_USER_PARM_VALUES;
The following script uses cursors and the DBMS_LOB
package to view the entire contents of the ALL_REPCAT_USER_PARM_VALUES
view. Use this script to view the entire contents of the ALL_REPCAT_TEMPLATE_PARMS
view, including the DEFAULT_PARM_VALUE
and PARM_VALUE
columns:
SET SERVEROUTPUT ON DECLARE CURSOR mycursor IS SELECT REFRESH_TEMPLATE_NAME, OWNER, REFRESH_GROUP_NAME, TEMPLATE_COMMENT, PUBLIC_TEMPLATE, PARAMETER_NAME, DEFAULT_PARM_VALUE, PROMPT_STRING, PARM_VALUE, USER_NAME FROM DBA_REPCAT_USER_PARM_VALUES; tempstring VARCHAR2(1000); tempstring2 varchar2(1000); len NUMBER; BEGIN FOR myrec IN mycursor LOOP len := DBMS_LOB.GETLENGTH(myrec.default_parm_value); DBMS_LOB.READ(myrec.default_parm_value, len, 1, tempstring); DBMS_OUTPUT.PUT_LINE(myrec.refresh_template_name||' '|| myrec.owner||' '||myrec.refresh_group_name||' '|| myrec.template_comment||' '||myrec.public_template||' '|| myrec.parameter_name||' '||tempstring||' '||myrec.prompt_string||' '|| tempstring2||' '||myrec.user_name); END LOOP; END; /
See Also:
Oracle9i Application Developer's Guide - Fundamentals for more information on using cursors. Also, see Oracle9i Application Developer's Guide - Large Objects (LOBs) for more information on using the |
Contains the interim status of any asynchronous administrative requests and any error messages generated at each master site. All messages encountered while executing a request are eventually transferred to the ALL_REPCATLOG
view at the master site that originated the request. If an administrative request completes without error, then ultimately all traces of this request are removed from the ALL_REPCATLOG
view. This view contains administrative requests and error messages that are accessible to the current user.
DBA_REPCATLOG
describes the status for all asynchronous administrative requests and all error messages in the database.USER_REPCATLOG
describes the status for all asynchronous administrative requests and all error messages owned by the current user.
Lists the replicated columns for the tables accessible to the current user.
If the table contains a column object, then this view displays a placeholder for the type and one row for each type attribute. If the table contains a nested table, then then this view displays the storage table for the nested table as an independent table. If a table is an object table, then this view displays the hidden object identifier column.
DBA_REPCOLUMN
describes the replicated columns for all the tables in the database.USER_REPCOLUMN
describes the replicated columns for all the tables owned by the current user.
Describes the column groups for each replicated table accessible to the current user.
DBA_REPCOLUMN_GROUP
describes the column groups for all the tables in the database.USER_REPCOLUMN_GROUP
describes the column groups for all the tables owned by the current user.
Contains the name of each table accessible to the current user for which a conflict resolution method has been defined and the type of conflict that the method is used to resolve.
DBA_REPCONFLICT
describes the conflict resolution method for all the tables in the database on which a conflict resolution method has been defined.USER_REPCONFLICT
describes the conflict resolution method for all the tables owned by the current user on which a conflict resolution method has been defined.
Contains the DDL for each replication object accessible to the current user.
DBA_REPDDL
contains the DDL for each replicated object in the database.USER_REPDDL
contains the DDL for each replicated object owned by the current user.
Describes each object accessible to the current user that was generated to support replication.
DBA_REPGENOBJECTS
describes each object in the database that was generated to support replication.USER_REPGENOBJECTS
describes each object owned by the current user that was generated to support replication.
Describes all of the replication groups that are accessible to the current user. The members of each replication group are listed in a different view: ALL_REPOBJECT
.
DBA_REPGROUP
describes all of the replication groups in the database that are being replicated.USER_REPGROUP
describes all of the replication groups owned by the current user that are being replicated.
Contains information about the users who are registered for privileges in replication groups. Shows only those replication groups accessible to the current user.
DBA_REPGROUP_PRIVILEGES
contains information about the users who are registered for privileges in all the replication groups in the database.USER_REPGROUP_PRIVILEGES
contains information about the users who are registered for privileges in the replication groups owned by the current user.
Describes all of the columns that make up the column groups for each table accessible to the current user.
DBA_REPGROUPED_COLUMN
describes all of the columns that make up the column groups for each table in the database.USER_REPGROUPED_COLUMN
describes all of the columns that make up the column groups for each table owned by the current user.
Describes the replication key column(s) accessible to the current user in each table.
The replication key column(s) is an alternate column or group of columns, instead of the primary key, used to determine which columns of a table to compare when using row-level replication. You can set the replication key columns using the SET_COLUMNS
procedure in the DBMS_REPCAT
package.
The following types of columns cannot be replication key columns:
REF
DBA_REPKEY_COLUMNS
describes the replication key column(s) in each table in the database.USER_REPKEY_COLUMNS
describes the replication key column(s) in each table owned by the current user.
Contains information about the objects in each replication group accessible to the current user. An object can belong to only one replication group. A replication group can span multiple schemas.
DBA_REPOBJECT
contains information about the objects in each replication group in the database.USER_REPOBJECT
contains information about the objects owned by the current user in each replication group.
In addition to the information contained in the ALL_REPRESOLUTION
view, the ALL_REPPARAMETER_COLUMN
view contains information about the columns that are used to resolve conflicts for each replicated table accessible to the current user. These are the column values that are passed as the list_of_column_names
argument to the ADD_
conflicttype
_RESOLUTION
procedures in the DBMS_REPCAT
package.
DBA_REPPARAMETER_COLUMN
contains information about the columns that are used to resolve conflicts for each replicated table in the database.USER_REPPARAMETER_COLUMN
contains information about the columns that are used to resolve conflicts for each replicated table owned by the current user.
Contains the value and priority level of each priority group member in each priority group accessible to the current user. Priority group names must be unique within a replication group. Priority levels and values must each be unique within a given priority group.
DBA_REPPRIORITY
contains the value and priority level of each priority group member in each priority group in the database.USER_REPPRIORITY
contains the value and priority level of each priority group member in each priority group owned by the current user.
Describes the priority group or site priority group defined for each replication group accessible to the current user.
DBA_REPPRIORITY_GROUP
describes the priority group or site priority group defined for each replication group in the database.USER_REPPRIORITY_GROUP
describes the priority group or site priority group defined for each replication group owned by the current user.
Indicates the technique used to propagate operations on each replicated object to the same object at another master site. These operations may have resulted from a call to a stored procedure or procedure wrapper, or may have been issued against a table directly. This view shows objects accessible to the current user.
DBA_REPPROP
indicates the technique used to propagate operations on each replicated object to the same object at another master site. This view shows all objects in the database.USER_REPPROP
indicates the technique used to propagate operations on each replicated object to the same object at another master site. This view shows objects owned by the current user
Describes statistics collection for conflict resolutions for all replicated tables accessible to the current user.
DBA_REPRESOL_STATS_CONTROL
describes statistics collection for conflict resolutions for all replicated tables in the database.USER_REPRESOL_STATS_CONTROL
describes statistics collection for conflict resolutions for all replicated tables owned by the current user.
Indicates the methods used to resolve update, uniqueness, or delete conflicts for each table accessible to the current user that is replicated using row-level replication for a given schema.
DBA_REPRESOLUTION
indicates the methods used to resolve update, uniqueness, or delete conflicts for each table in the database that is replicated using row-level replication for a given schema.USER_REPRESOLUTION
indicates the methods used to resolve update, uniqueness, or delete conflicts for each table owned by the current user that is replicated using row-level replication.
Lists all of the conflict resolution methods available in the database. Initially, this view lists the standard methods provided with Advanced Replication. As you create new user functions and add them as conflict resolution methods for an object in the database, these functions are added to this view.
DBA_REPRESOLUTION_METHOD
lists all of the conflict resolution methods available in the database.USER_REPRESOLUTION_METHOD
lists all of the conflict resolution methods available in the database.
Lists information about successfully resolved update, uniqueness, and delete conflicts for all replicated tables accessible to the current user. These statistics are gathered for a table only if you have called the DBMS_REPCAT.REGISTER_STATISTICS
procedure.
DBA_REPRESOLUTION_STATISTICS
lists information about successfully resolved update, uniqueness, and delete conflicts for all replicated tables in the database.USER_REPRESOLUTION_STATISTICS
lists information about successfully resolved update, uniqueness, and delete conflicts for all replicated tables owned by the current user.
Lists the members of each replication group accessible to the current user.
DBA_REPSITES
lists the members of each replication group in the database.USER_REPSITES
lists the members of each replication group owned by the current user.
The DBA_REPSITES
view has the following additional columns:
This view contains global information about each deployment template in the database, such as the template name, template owner, what refresh group the template objects belong to, and the type of template (private or public).
Its columns are the same as those in ALL_REPCAT_REFRESH_TEMPLATES
. For detailed information about this view and its columns, see ALL_REPCAT_REFRESH_TEMPLATES
.
The DBA_REPCAT_TEMPLATE_OBJECTS
view contains the individual object definitions that are contained in all deployment templates in the database. Individual objects are added to a template by specifying the target template in REFRESH_TEMPLATE_NAME
.
Its columns are the same as those in ALL_REPCAT_TEMPLATE_OBJECTS
. For detailed information about this view and its columns, see ALL_REPCAT_TEMPLATE_OBJECTS
.
Parameters defined in the object DDL for all templates in the database are stored in the DBA_REPCAT_TEMPLATE_PARMS
table. When an object is added to a template, the DDL is examined for variables. Any found parameters are automatically added to this view.
Its columns are the same as those in ALL_REPCAT_TEMPLATE_PARMS
. For detailed information about this view and its columns, see ALL_REPCAT_TEMPLATE_PARMS
.
The DBA_REPCAT_TEMPLATE_SITES
view provides the DBA with information about the current status of template instantiation for all the sites of a enterprise network. This view contains information about instantiation sites for all deployment templates in the database. Specifically, the DBA can monitor the installation and deletion of templates at specific sites. Its columns are the same as those in ALL_REPCAT_TEMPLATE_SITES
.
The DBA_REPCAT_USER_AUTHORIZATIONS
view lists the authorized users for all templates in the database specified for private use. Users listed in this view have the ability to instantiate the specified template. Users not contained in this view cannot instantiate the template. Its columns are the same as those in ALL_REPCAT_USER_AUTHORIZATIONS
.
The DBA_REPCAT_USER_PARM_VALUES
view describes the template parameters for all deployment templates in the database. The DBA has the option of building a table of user parameters prior to distributing the template for instantiation. When a template is instantiated by a specified user, the values stored in the DBA_REPCAT_USER_PARM_VALUES
table for the specified user are used automatically.
Its columns are the same as those in ALL_REPCAT_USER_PARM_VALUES
. For detailed information about this view and its columns, see ALL_REPCAT_USER_PARM_VALUES
.
The DBA_REPCATLOG
view at each master site contains the interim status of any asynchronous administrative requests and any error messages generated. All messages encountered while executing a request are eventually transferred to the DBA_REPCATLOG
view at the master site that originated the request. If an administrative request completes without error, then ultimately all traces of this request are removed from the DBA_REPCATLOG
view. Its columns are the same as those in ALL_REPCATLOG
.
The DBA_REPCOLUMN
view lists the replicated columns for all the tables in the database. Its columns are the same as those in ALL_REPCOLUMN
.
The DBA_REPCOLUMN_GROUP
view lists all the column groups each replicated table in the database. Its columns are the same as those in ALL_REPCOLUMN_GROUP
.
The DBA_REPCONFLICT
view displays the name of each table in the database on which a conflict resolution method has been defined and the type of conflict that the method is used to resolve. Its columns are the same as those in ALL_REPCONFLICT
.
The DBA_REPDDL
contains the DDL for each replication object in the database. Its columns are the same as those in ALL_REPDDL
.
The DBA_REPEXTENSIONS
view contains information about current operations that are adding new master sites to a master group without quiescing the master group.
See Also:
"Adding New Master Sites Without Quiescing the Master Group" for information about the procedure that adds new master sites to a replication environment |
The DBA_REPGENOBJECTS
view describes each object in the database that was generated to support replication. Its columns are the same as those in ALL_REPGENOBJECTS
.
The DBA_REPGROUP
view describes all of the replication groups in the database. The members of each replication group are listed in a different view, DBA_REPOBJECT
. The DBA_REPGROUP
view's columns are the same as those in ALL_REPGROUP
.
The DBA_REPGROUP_PRIVILEGES
view contains information about the users who are registered for privileges in replication groups. Shows all replication groups in the database. Its columns are the same as those in ALL_REPGROUP_PRIVILEGES
.
The DBA_REPGROUPED_COLUMN
view lists all of the columns that make up the column groups for each table in the database. Its columns are the same as those in ALL_REPGROUPED_COLUMN
.
The DBA_REPKEY_COLUMNS
view describes the replication key column(s) in each table in the database. Its columns are the same as those in ALL_REPKEY_COLUMNS
.
The DBA_REPOBJECT
view contains information about the objects in each replication group in the database. An object can belong to only one replication group. A replication group can span multiple schemas. Its columns are the same as those in ALL_REPOBJECT
.
In addition to the information contained in the DBA_REPRESOLUTION
view, the DBA_REPPARAMETER_COLUMN
view contains information about the columns that are used to resolve conflicts for each replicated table in the database. These are the column values that are passed as the list_of_column_names
argument to the ADD_
conflicttype
_RESOLUTION
procedures in the DBMS_REPCAT
package. Its columns are the same as those in ALL_REPPARAMETER_COLUMN
.
The DBA_REPPRIORITY
view contains the value and priority level of each priority group member in each priority group in the database. Priority group names must be unique within a replication group. Priority levels and values must each be unique within a given priority group. Its columns are the same as those in ALL_REPPRIORITY
.
The DBA_REPPRIORITY_GROUP
view describes the priority group or site priority group defined for each replication group in the database. Its columns are the same as those in ALL_REPPRIORITY_GROUP
.
The DBA_REPPROP
view indicates the technique used to propagate operations on each replicated object to the same object at another master site. These operations may have resulted from a call to a stored procedure or procedure wrapper, or may have been issued against a table directly. This view shows all objects in the database. Its columns are the same as those in ALL_REPPROP
.
The DBA_REPRESOL_STATS_CONTROL
view describes statistics collection for conflict resolutions for all replicated tables in the database. Its columns are the same as those in ALL_REPRESOL_STATS_CONTROL
.
The DBA_REPRESOLUTION
view indicates the methods used to resolve update, uniqueness, or delete conflicts for each table in the database that is replicated using row-level replication for a given schema. Its columns are the same as those in ALL_REPRESOLUTION
.
The DBA_REPRESOLUTION_METHOD
view lists all of the conflict resolution methods available in the database. Initially, this view lists the standard methods provided with the advanced replication facility. As you create new user functions and add them as conflict resolution methods for an object in the database, these functions are added to this view. Its columns are the same as those in ALL_REPRESOLUTION_METHOD
.
The DBA_REPRESOLUTION_STATISTICS
view lists information about successfully resolved update, uniqueness, and delete conflicts for all replicated tables in the database. These statistics are only gathered for a table if you have called the DBMS_REPCAT.REGISTER_STATISTICS
procedure. The DBA_REPRESOLUTION_STATISTICS
view's columns are the same as those in ALL_REPRESOLUTION_STATISTICS
.
The DBA_REPSITES
view lists the members of each replication group in the database.
This view has the following additional columns that are not included in the ALL_REPSITES
and USER_REPSITES
views:
Except for these additional columns, its columns are the same as those in ALL_REPSITES
.
The DBA_REPSITES_NEW
view lists the new replication sites that you plan to add to your replication environment.
See Also:
"Adding New Master Sites Without Quiescing the Master Group" for information about the procedure that adds new master sites to a replication environment |
This view contains global information about each deployment template owned by the current user, such as the template name, template owner, what refresh group the template objects belong to, and the type of template (private or public).
Its columns are the same as those in ALL_REPCAT_REFRESH_TEMPLATES
. For detailed information about this view and its columns, see ALL_REPCAT_REFRESH_TEMPLATES
.
The USER_REPCAT_TEMPLATE_OBJECTS
view contains the individual object definitions that are contained in each deployment template owned by the current user. Individual objects are added to a template by specifying the target template in REFRESH_TEMPLATE_NAME
.
Its columns are the same as those in ALL_REPCAT_TEMPLATE_OBJECTS
. For detailed information about this view and its columns, see ALL_REPCAT_TEMPLATE_OBJECTS
.
Parameters defined in the object DDL for all templates owned by the current user are stored in the USER_REPCAT_TEMPLATE_PARMS
table. When an object is added to a template, the DDL is examined for variables; any found parameters are automatically added to this view.
Its columns are the same as those in ALL_REPCAT_TEMPLATE_PARMS
. For detailed information about this view and its columns, see ALL_REPCAT_TEMPLATE_PARMS
.
The USER_REPCAT_TEMPLATE_SITES
view provides the user with information about the current status of template instantiation amongst the sites of a enterprise network. This view contains information about instantiation sites for deployment templates that are owned by the current user. Specifically, the user can monitor the installation and deletion of templates at specific sites. Its columns are the same as those in ALL_REPCAT_TEMPLATE_SITES
.
The USER_REPCAT_USER_AUTHORIZATION
view lists the authorized users for all of the templates that are owned by the current user and specified for private use. Users listed in this view have the ability to instantiate the specified template. Users not contained in this view cannot instantiate the template. Its columns are the same as those in ALL_REPCAT_USER_AUTHORIZATIONS
.
The USER_REPCAT_USER_PARM_VALUES
view describes the template parameters for all deployment templates owned by the current user. The DBA has the option of building a table of user parameters prior to distributing the template for instantiation. When a template is instantiated by a specified user, the values stored in the USER_REPCAT_USER_PARM_VALUES
view for the specified user are used automatically.
Its columns are the same as those in ALL_REPCAT_USER_PARM_VALUES
. For detailed information about this view and its columns, see ALL_REPCAT_USER_PARM_VALUES
.
The USER_REPCATLOG
view at each master site contains the interim status of any asynchronous administrative requests and any error messages generated. All messages encountered while executing a request are eventually transferred to the USER_REPCATLOG
view at the master site that originated the request. If an administrative request completes without error, then ultimately all traces of this request are removed from the USER_REPCATLOG
view.
This view contains asynchronous administrative requests and error messages that are owned by the current user. Its columns are the same as those in ALL_REPCATLOG
.
The USER_REPCOLUMN
view lists the replicated columns for all the tables owned by the current user. Its columns are the same as those in ALL_REPCOLUMN
.
The USER_REPCOLUMN_GROUP
view lists the column groups for each replicated table owned by the current user. Its columns are the same as those in ALL_REPCOLUMN_GROUP
.
Note: The |
The USER_REPCONFLICT
view displays the name of each table owned by the current user on which a conflict resolution method has been defined and the type of conflict that the method is used to resolve. Its columns are the same as those in ALL_REPCONFLICT
.
Note: The |
The USER_REPDDL
contains the DDL for each replication object owned by the current user. Its columns are the same as those in ALL_REPDDL
.
The USER_REPGENOBJECTS
view describes each object owned by the current user that was generated to support replication. Its columns are the same as those in ALL_REPGENOBJECTS
.
The USER_REPGROUP
view describes all of the replication groups owned by the current user. The members of each replication group are listed in a different view, USER_REPOBJECT
. The USER_REPGROUP
view's columns are the same as those in ALL_REPGROUP
.
The USER_REPGROUP_PRIVILEGES
view contains information about the users who are registered for privileges in replication groups. Shows only those replication groups owned by the current user. Its columns are the same as those in ALL_REPGROUP_PRIVILEGES
.
The USER_REPGROUPED_COLUMN
view lists all of the columns that make up the column groups for each table. Its columns are the same as those in ALL_REPGROUPED_COLUMN
.
Note: The |
The USER_REPKEY_COLUMNS
view describes the replication key column(s) in each table owned by the current user. Its columns are the same as those in ALL_REPKEY_COLUMNS
.
The USER_REPOBJECT
view contains information about the objects owned by the current user in each replication group. An object can belong to only one replication group. A replication group can span multiple schemas. Its columns are the same as those in ALL_REPOBJECT
.
In addition to the information contained in the USER_REPRESOLUTION
view, the USER_REPPARAMETER_COLUMN
view contains information about the columns that are used to resolve conflicts for each replicated table owned by the current user. These are the column values that are passed as the list_of_column_names
argument to the ADD_
conflicttype
_RESOLUTION
procedures in the DBMS_REPCAT
package. Its columns are the same as those in ALL_REPPARAMETER_COLUMN
.
Note: The |
The USER_REPPRIORITY
view contains the value and priority level of each priority group member in each priority group owned by the current user. Priority group names must be unique within a replication group. Priority levels and values must each be unique within a given priority group. Its columns are the same as those in ALL_REPPRIORITY
.
Note: The |
The USER_REPPRIORITY_GROUP
view describes the priority group or site priority group defined for each replication group owned by the current user. Its columns are the same as those in ALL_REPPRIORITY_GROUP
.
The USER_REPPROP
view indicates the technique used to propagate operations on each replicated object to the same object at another master site. These operations may have resulted from a call to a stored procedure or procedure wrapper, or may have been issued against a table directly. This view shows objects owned by the current user. Its columns are the same as those in ALL_REPPROP
.
The USER_REPRESOL_STATS_CONTROL
view describes statistics collection for conflict resolutions for all replicated tables owned by the current user. Its columns are the same as those in ALL_REPRESOL_STATS_CONTROL
.
Note: The |
The USER_REPRESOLUTION
view indicates the methods used to resolve update, uniqueness, or delete conflicts for each table owned by the current user that is replicated using row-level replication for a given schema. Its columns are the same as those in ALL_REPRESOLUTION
.
Note: The |
The USER_REPRESOLUTION_METHOD
view lists all of the conflict resolution methods available in the database. Initially, this view lists the standard methods provided with the advanced replication facility. As you create new user functions and add them as conflict resolution methods for an object in the database, these functions are added to this view. Its columns are the same as those in ALL_REPRESOLUTION_METHOD
.
The USER_REPRESOLUTION_STATISTICS
view lists information about successfully resolved update, uniqueness, and delete conflicts for all replicated tables owned by the current user. These statistics are only gathered for a table if you have called the DBMS_REPCAT.REGISTER_STATISTICS
procedure. The USER_REPRESOLUTION_STATISTICS
view's columns are the same as those in ALL_REPRESOLUTION_STATISTICS
.
Note: The |
The USER_REPSITES
view lists the members of each replication group owned by the current user. Its columns are the same as those in ALL_REPSITES
.
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|