Oracle 视图 ALL_GG_AUTO_CDR_TABLES 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图ALL_GG_AUTO_CDR_TABLES是Oracle GoldenGate表示自动检测可用来建立流量分发、同步和迁移的源和目标表的视图。可以用ALL_GG_AUTO_CDR_TABLES来检测哪些表可以被用来作为流量分发、同步和迁移的源和目标表,此视图反映了Oracle GoldenGate数据库定义自动识别表的Server端状态。
使用ALL_GG_AUTO_CDR_TABLES时,可以通过指定表名作为参数检索表信息,即可以使用如下语句检索ALL_GG_AUTO_CDR_TABLES视图中表tablename的详细信息:
select *
from ALL_GG_AUTO_CDR_TABLES
where tablename = ‘tablename’;
不止如此,还可以使用该视图检测数据库中已设定的自动识别表的状态及字段信息,以及与该表相关的其它表的字段信息,如将检测ALL_GG_AUTO_CDR_TABLES视图中的表tablename的字段信息如下:
select tablename, fieldname
from ALL_GG_AUTO_CDR_TABLES
where tablename = ‘tablename’;
最后,总结一下,可以使用ALL_GG_AUTO_CDR_TABLES视图来检测哪些表可以用来进行流量分发、同步和迁移,以及检测表的字段信息等。
官方英文解释
ALL_GG_AUTO_CDR_TABLES
provides details about tables configured for Oracle GoldenGate automatic conflict detection and resolution (CDR) that are owned by the current user.
Related View
DBA_GG_AUTO_CDR_TABLES
provides details about all the tables configured for Oracle GoldenGate automatic conflict detection and resolution (CDR).
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Owner of the table |
|
|
|
Table name |
|
|
Resolution granularity:
|
|
|
|
Extract fetchcols configuration:
|
|
|
|
Monitoring of conflicts:
|
|
|
|
Use of customized or automatic conflict handlers:
|
|
|
|
Indicates which row-level conflict resolution method to use when the old value of the logical change record (LCR) timestamp column is different from the timestamp column value in the table. Possible values:
|
|
|
|
When a conflict occurs between a delete operation and another operation, a |
|
|
|
When a conflict occurs between a target table change and a source table change, and |
|
|
|
Tombstone table name (if table has delete tombstoning enabled) |
|
|
|
|
Name of row-level timestamp column |
|
|
Indicates whether the table contains a hidden column named Possible values:
|
|
|
|
Timestamp to give existing rows when a new timestamp column is added |
Footnote 1 This column is available starting with Oracle Database 21c.
See Also:
“DBA_GG_AUTO_CDR_TABLES”