Oracle 视图 ALL_POLICIES 官方解释,作用,如何使用详细说明
本站中文解释
【Oracle视图 ALL_POLICIES】
ALL_POLICIES 视图包含Oracle数据库中已创建的全部策略。该视图的列摘要如下:
– POLICY_NAME:策略的名称。
– OWNER:策略的拥有者。
– POLICY_GROUP_NAME:策略组的名称。
– POLICY_FUNCTION:绑定到策略的函数或存储过程。
【用途及使用】
ALL_POLICIES 视图主要用于查询策略信息。例如,可以使用该视图查询指定拥有者的策略信息:
SELECT * FROM all_policies WHERE owner = ‘SCHEMA’;
官方英文解释
ALL_POLICIES
describes all Oracle Virtual Private Database (VPD) security policies for objects accessible to the current user. A security policy is a list of security requirements and rules that regulate row level access to those database objects.
Related Views
-
DBA_POLICIES
describes all Oracle Virtual Private Database (VPD) security policies in the database. -
USER_POLICIES
describes all Oracle Virtual Private Database (VPD) security policies associated with objects owned by the current user. This view does not display theOBJECT_OWNER
column.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
Owner of the synonym, table, or view |
|
|
|
Name of the synonym, table, or view |
|
|
|
Name of the policy group |
|
|
|
Name of the policy |
|
|
|
Owner of the policy function |
|
|
|
Name of the package containing the policy function |
|
|
|
Name of the policy function |
|
|
|
Indicates whether the policy is applied to queries on the object ( |
|
|
|
Indicates whether the policy is applied to |
|
|
|
Indicates whether the policy is applied to |
|
|
|
Indicates whether the policy is applied to |
|
|
|
Indicates whether the policy is enforced for index maintenance on the object ( |
|
|
|
Indicates whether the check option is enforced for the policy ( |
|
|
|
Indicates whether the policy is enabled ( |
|
|
|
Indicates whether the policy is static ( |
|
|
|
Policy type:
|
|
|
|
Indicates whether the policy function can return a maximum of 32 KB of predicate ( |
|
|
|
Indicates whether the policy is applied and enforced in all application PDBs ( |
|
|
|
Indicates whether the policy is inherited from the root ( |
See Also:
-
“DBA_POLICIES”
-
“USER_POLICIES”
-
Oracle Database Security
Guide for more information about security policies -
The
DBMS_RLS
package in Oracle Database PL/SQL
Packages and Types Reference for information on administering security policies