Oracle 视图 ALL_STREAMS_SCHEMA_RULES 官方解释,作用,如何使用详细说明
本站中文解释
视图
Oracle ALL_STREAMS_SCHEMA_RULES 视图可以用来查询当前用户拥有的可以使用Streams集成的所有 schema 的规则。包括以下列的信息:schema名称、 rule_name、 source_object_name、 source_template_name、 source_type、 source_owner、 source_where_clause、 capture_type、 capture_sample_interval、 capture_sample_size、 capture_start_scn、 capture_min_scn、 capture_full_refresh_on_err、 apply_type、 apply_template_name、 apply_name、 apply_process、 apply_remote_schema、 apply_remote_database、 apply_integrity_enforcement、 transformation、 transformation_type、 transformation_eval_context。
使用方法:
可以使用以下SQL语句来查询ALL_STREAMS_SCHEMA_RULES视图:
SELECT *
FROM all_streams_schema_rules;
官方英文解释
ALL_STREAMS_SCHEMA_RULES
displays information about several types of schema rules.
ALL_STREAMS_SCHEMA_RULES
displays information about these types of schema rules:
-
Schema rules created for the capture processes that enqueue the captured changes into queues accessible to the current user
-
Schema rules created for the propagations that have a source queue accessible to the current user
-
Schema rules created for the apply processes that dequeue events from queues accessible to the current user
This view does not contain information about rules created using the DBMS_RULE_ADM
package.
Related View
DBA_STREAMS_SCHEMA_RULES
displays information about the schema 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:
|
|
|
|
Schema name in the rule condition. The rule evaluates to |
|
|
|
Type of the rule:
|
|
|
|
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_SCHEMA_RULES”
-
Oracle Database PL/SQL
Packages and Types Reference for more information about theDBMS_RULE_ADM
package