Oracle 视图 V$RULE_SET 官方解释,作用,如何使用详细说明
Oracle 视图 V$RULE_SET 表示 Oracle 数据库实例中定义的所有规则集(Rulesets)的一个总结。用户可以查看每个规则集的属性,以及规则集所对应的数据库对象,以及规则集所包含的规则。
V$RULE_SET 视图中的用户可以查询的信息包括:规则集的核心属性(是否可用,执行深度,上次更新时间等)以及规则集支持的数据库对象和规则。
使用 Oracle 视图 V$RULE_SET 要点:
1. 在查询视图时,记得必须对视图许可权进行连接,以获得查询结果。
2. 查看某个特定的规则集的所有属性,只需将规则集的名称放入 WHERE 子句中,即可查询出该规则集的信息,例如:
SELECT * FROM V$RULE_SET WHERE RULESET_NAME = MyRuleSet
3. 查看某个特定规则集所支持的数据库对象,只需将规则集的名称和对象名称放入 V$RULE_SET_OBJECT 表中,即可查询出该规则集所支持的对象,例如:
SELECT OBJECT_NAME FROM V$RULE_SET_OBJECT WHERE RULESET_NAME = MyRuleSet
4. 查看某个特定规则集所包含的规则,只需将规则集的名称和规则名称放入 V$RULE_SET_RULE 表中,即可查询出该规则集包含的规则,例如:
SELECT RULE_NAME FROM V$RULE_SET_RULE WHERE RULESET_NAME = MyRuleSet
官方英文解释V$RULE_SET displays rule set statistics. This view has a row for every rule set loaded into shared memory.
Note:
Querying the V$RULE_SET view may have a negative impact on performance if a database has a large library cache.
Total elapsed time (in hundredths of a second) spent in evaluation of the rule set
Total elapsed time (in hundredths of a second) spent to load the rule set the last time it was loaded
Number of evaluations on the rule set which did not internally issue SQL to evaluate rules
Total number of fast (indexed) conditions processed during evaluation of the rule set
Total number of calls made to user-defined functions to retrieve variable values (specified by the variable_value_function field in RE$VARIABLE_TYPE) made during evaluation of the rule set
Total number of calls made to user-defined functions to retrieve variable method values (specified by the variable_method_function field in RE$VARIABLE_TYPE) made during evaluation of the rule set
Total number of calls made to user-defined evaluation functions (specified as the evaluation_function argument to the DBMS_RULE_ADM.CREATE_EVALUATION_CONTEXT procedure) made during evaluation of the rule set
0: This value is used for rows containing data that pertain to the entire CDB. This value is also used for rows in non-CDBs.
Oracle Database PL/SQL
Packages and Types Reference for more information about the DBMS_RULE_ADM.CREATE_EVALUATION_CONTEXT procedure
我想要获取技术服务或软件
服务范围:MySQL、ORACLE、SQLSERVER、MongoDB、PostgreSQL 、程序问题
服务方式:远程服务、电话支持、现场服务,沟通指定方式服务
技术标签:数据恢复、安装配置、数据迁移、集群容灾、异常处理、其它问题
本站部分文章参考或来源于网络,如有侵权请联系站长。
数据库远程运维 Oracle 视图 V$RULE_SET 官方解释,作用,如何使用详细说明
相关文章
- ORA-19377: no “SQL Tuning Set” with name like “string” exists for owner like “string” ORACLE 报错 故障修复 远程处理
- ORA-47407: ALWAYS AUDIT option set for Rule Set string ORACLE 报错 故障修复 远程处理
- ORA-55568: The maximum query length (mql) value should be atmost string based on the current _highthreshold_undoretention setting. ORACLE 报错 故障修复 远程处理
- 处理如何使用Oracle实现多表的并行处理(oracle多表并行)
- Oracle 视图 ALL_RULE_SET_RULES 官方解释,作用,如何使用详细说明
- 函数VL2 函数在Oracle中的应用使用Oracle中的NVL2函数优化SQL查询(oracle的nvl2)
- Oracle 视图 V$RULE_SET_AGGREGATE_STATS 官方解释,作用,如何使用详细说明
- Oracle数据库中字段类型探究 (oracle数据库字段类型)
- Oracle官方指南:学习实现数据库系统(oracle官方教程)
- Oracle 官方指南:完全指南(oracle官方手册)
- Oracle官方文档:免费下载(oracle官方文档下载)
- 利用Oracle新增表空间扩充存储空间(oracle新增表空间)
- 使用 Oracle 数据库实现数据表加密(oracle加密表)
- Oracle 触发器:类型与功能分析(oracle触发器类型)
- Oracle官方线上文档:完善您的技能(oracle在线官方文档)
- Oracle Fill: Simplifying Data Input and Management(oracle填充)
- Oracle客户端一键启动指南(oracle 客户端启动)
- Oracle数据库内存结构简介(oracle内存结构简介)
- Oracle表设计助力数据稳定性冻结表方案(oracle冻结表设计)
- Oracle把握今日时间戳的奥义(oracle 今日时间戳)
- Oracle中掌握SET语句让你如虎添翼(oracle中set语句)
- 方文档安装Oracle官方文档安装指南(oracle上官)
- Oracle XML乱码问题深思熟虑(oracle xml乱码)