1. Trang chủ
  2. » Công Nghệ Thông Tin

Oracle Built−in Packages- P145 pot

5 116 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 5
Dung lượng 88,89 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

missingresolution −23343 Reference conflict resolution method does not existmissingschema −23306 Schema does not exist missingvalue −23337 Missing value used internally nonmasterdef −233

Trang 1

missingresolution −23343 Reference conflict resolution method does not exist

missingschema −23306 Schema does not exist

missingvalue −23337 Missing value (used internally)

nonmasterdef −23312 Site is not a master definition site

nonsnapshot −23314 Site is not a snapshot site

paramtype −23325 Invalid parameter type (used internally)

referenced −23332 Attempt to drop column group used for conflict resolution

statnotreg −23345 Conflict resolution statistics not registered (used internally)

typefailure −23319 Attempt to replicate nonsupported datatype

16.1.3 DBMS−REPCAT Nonprogram Elements

In addition to programs and exceptions, the DBMS_REPCAT package defines the following constant used for conflict resolution:

VARCHAR2S

PL/SQL table of VARCHAR2(60) indexed by BINARY INTEGER

16.1.4 Data Dictionary Views

Oracle provides a number of data dictionary views that are useful for analyzing the status and volume of conflicts, as listed in Table 16.3

Table 16.3: Data Dictionary Views Associated with Conflict Resolution

DBA_REPCOLUMN_GROUP Contains information about column groups

DBA_REPCONFLICT Contains information about all conflict resolution methods that

have been defined

DBA_REPGROUPED_

COLUMN

Contains information about all columns that are members of column groups

DBA_REPPARAMETER_COLUMN Contains information about columns that are designated to

resolve conflicts These columns have been passed in the list_of_column_names parameter of

DBMS_REPCAT.ADD_<conflicttype>_RESOLUTION

DBA_REPPRIORITY Contains information about every value and priority that has been

defined for all priority groups and site priority groups

DBA_REPPRIORITY_GROUP Contains information about all priority groups and site priority

groups

DBA_REPRESOLUTION Contains information about the conflict resolution technique that

has been defined for all conflict types

DBA_REPRESOL_STATS_CONTROL Contains information about statistics that have been gathered for

conflict resolution

DBA_REPRESOLUTION_METHOD

Trang 2

Contains information about all available conflict resolution methods

DBA_REPRESOLUTION_STATISTICS If resolution statistics are being collected, contains information

about the execution of conflict resolution handlers

Tables 16−4 through 16−14 describe the contents of these views

Table 16.4: Columns in DBA_REPCOLUMN_GROUP View

Column Name Description

sname Schema that owns table oname

oname Name of the replicated table

group_name Name of the column group

group_comment Comment for the column group

Table 16.5: Columns in DBA_REPCONFLICT View

Column Name Description

sname Schema that owns table oname

oname Name of the replicated table

conflict_type Type of conflict the resolution method resolves

reference_name For DELETE conflicts, the table name For UNIQUENESS conflicts, the unique constraint

name For UPDATE conflicts, the column group name

Table 16.6: Columns in DBA_REPGROUPED_COLUMN View

Column Name Description

sname Schema that owns table oname

oname Name of the replicated table

group_name Name of the column group

group_comment Comment for the column group

Table 16.7: Columns in DBA_REPPARAMETER_COLUMN View

Column Name Description

sname Schema that owns table oname

oname Name of the replicated table

conflict_type Type of conflict the method resolves

reference_name For DELETE conflicts, the table name For UNIQUENESS conflicts, the unique

constraint name For UPDATE conflicts, the column group name

sequence_no Order in which the method is attempted 1 is first

method_name Name of the built−in resolution method, or `USER FUNCTION' for user defined

methods

Trang 3

function_name Name of the user defined function (if applicable).

priority_group Name of the priority group (if applicable)

parameter_table_name Name of the PL/SQL table containing columns that are passed to the resolution

method

parameter_column_name Name of the column passed to parameter_column_name in

ADD_<confllicttype>_RESOLUTION call

parameter_sequence_no Position of the column in the parameter_column_name parameter

Table 16.8: Columns in DBA_REPPRIORITY View

sname Name of the replicated schema Obsolete with Version 7.3 onwards; replace

by gname

priority_group Name of the priority group

priority Priority level (the higher the number, the higher the priority)

data_type Datatype of the priority group

fixed_data_length Maximum length for CHAR datatypes

char_value For CHAR priority groups, the value associated with the priority

varchar2_value For VARCHAR2 priority groups, the value associated with the priority

number_value For NUMBER priority groups, the value associated with the priority

date_value For DATE priority groups, the value associated with the priority

raw_value For RAW priority groups, the value associated with the priority

gname Name of the replication group

nchar_value (Oracle8 only) For NCHAR priority groups, the value associated with the priority

nvarchar2_value (Oracle8

only)

For NVARCHAR2 priority groups, the value associated with the priority

large_char_value (Oracle8

only)

For LARGE_CHAR priority groups, the value associated with the priority

Table 16.9: Columns in DBA_REPPRIORITY_GROUP View

Column Name Description

sname Name of the replicated schema Obsolete with Version 7.3 onwards; replace by gname.

priority_group Name of the priority group or site priority group

data_type Datatype of the priority group

fixed_data_length Maximum length for CHAR datatypes

priority_comment Comment for priority group

gname Replication group to which priority group belongs

Table 16.10: Columns in DBA_REPRESOLUTION View

Column Name Description

Trang 4

sname Schema that owns table oname.

oname Name of the replicated table

conflict_type Type of conflict the method resolves

reference_name For DELETE conflicts, the table name For UNIQUENESS conflicts, the unique

constraint name For UPDATE conflicts, the column group name

sequence_no Order in which the method is attempted 1 is first

method_name Name of the built−in resolution method, or USER FUNCTION for user−defined

methods

function_name Name of the user−defined function (if applicable)

priority_group Name of the priority group (if applicable)

resolution_comment Comment on the resolution method

Table 16.11: Columns in DBA_REPRESOL_STATS_CONTROL View

Column Name Description

sname Schema that owns table oname

oname Name of the replicated table

created Date statistics were first collected

status Current status of statistics collection (ACTIVE or CANCELLED)

status_update_date Date of last update to status

purged_date Date of last purge of statistics

last_purge_start_date Start Date passed to last call to PURGE_STATISTICS

last_purge_end_date End Date passed to last call to PURGE_STATISTICS

Table 16.12: Columns in DBA_REPRESOLUTION_METHOD View

Column Name Description

conflict_type Type of conflict the method resolves (UPDATE, UNIQUENESS, or DELETE)

method_name Name of the built in method, or name of user−supplied function

Table 16.13: Columns in DBA_REPRESOLUTION_STATISTICS View

Column Name Description

sname Schema that owns table oname

oname Name of the replicated table

conflict_type Type of conflict that Oracle resolved successfully (UPDATE, UNIQUENESS, or

DELETE)

reference_name For DELETE conflicts, the table name For UNIQUENESS conflicts, the unique

constraint name For UPDATE conflicts, the column group name

method_name Name of the built−in resolution method, or `USER FUNCTION' for user defined

methods

function_name Name of the user defined function (if applicable)

Trang 5

priority_group Name of the priority group (if applicable).

resolved_date Date Oracle resolved the conflict

primary_key_value Value of the primary key for the resolved row

15.6 DBMS_REPUTIL:

Enabling and Disabling

Replication

16.2 Column Groups with

DBMS_REPCAT

Copyright (c) 2000 O'Reilly & Associates All rights reserved.

Ngày đăng: 07/07/2014, 00:20

TỪ KHÓA LIÊN QUAN