Oracle 视图 ALL_STREAMS_TABLE_RULES 官方解释,作用,如何使用详细说明
本站中文解释
ALL_STREAMS_TABLE_RULES 视图包含客户端在正在运行的流表现有规则的摘要信息。 它以此用法提供了以下信息:
1.在流表中定义的一组列,用于检查数据一致性和“落地”(复制)数据的规则。
2.要消费的流表的对象ID。
3.要发布的前缀列表,用于根据关系发布数据。
4.确定哪些流表的变更会被跟踪的规则,以及变更的细节。
使用方法如下:
1.若要在Streams客户端中查看当前活动的规则,请使用ALL_STREAMS_TABLE_RULES视图。
2.若要查看某个流表中定义的规则,请在表和规则ID上使用ALL_STREAMS_TABLE_RULES视图进行过滤。
3.若要查看某个客户端中正在应用的具体规则,请在客户端ID上过滤ALL_STREAMS_TABLE_RULES视图。
官方英文解释
ALL_STREAMS_TABLE_RULES
displays information about several types of rules.
ALL_STREAMS_TABLE_RULES
displays information about these types of table and subset rules:
-
Table rules created for the capture processes that enqueue the captured changes into queues accessible to the current user
-
Table rules created for the propagations that have a source queue accessible to the current user
-
Table rules created for the apply processes that dequeue events from queues accessible to the current user
-
Subset rules created for the apply processes that have a source queue accessible to the current user
This view does not contain information about rules created using the DBMS_RULE_ADM
package.
Related View
DBA_STREAMS_TABLE_RULES
displays information about the table rules created for all capture processes, propagations, and apply processes in the database.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
Name of the Replication process or propagation |
|
|
|
Type of the Replication process or propagation:
|
|
|
|
Table owner in the rule condition. The rule evaluates to |
|
|
|
Table name in the rule condition. The rule evaluates to |
|
|
|
Type of the rule:
|
|
|
|
Row subsetting condition, if the rule is a subset rule |
|
|
|
DML operation for row subsetting in the rule condition, if the rule is a subset rule:
The rule evaluates to |
|
|
|
Indicates whether a redo entry or logical change record (LCR) with a non-NULL tag is considered for capture, propagation, or apply ( |
|
|
|
Source database in the rule condition. The rule evaluates to |
|
|
|
|
Name of the rule |
|
|
|
Owner of the rule |
|
|
First 4000 bytes of the system-generated rule condition evaluated by the rules engine |
See Also:
-
“DBA_STREAMS_TABLE_RULES”
-
Oracle Database PL/SQL
Packages and Types Reference for more information about theDBMS_RULE_ADM
package