Oracle 视图 V$RSRC_PLAN 官方解释,作用,如何使用详细说明
本站中文解释
_INFO
Oracle视图V\$RSRC_PLAN_INFO用于存储并显示数据库中的资源计划,以及资源对每个资源的配置信息。
V\$RSRC_PLAN_INFO视图可以用来验证资源管理器配置的合法性,并可以查看每个资源管理器的配置及其状态。此外,V\$RSRC_PLAN_INFO还能够显示资源计划采用的计划调度方式和登录名。
要使用V\$RSRC_PLAN_INFO视图,可以执行如下SQL语句:
SELECT *
FROM V\$RSRC_PLAN_INFO;
上述查询将显示当前所有资源计划的信息,以及每个资源配置情况。
官方英文解释
V$RSRC_PLAN
displays the names of all currently active resource plans.
Column | Datatype | Description |
---|---|---|
|
|
Resource plan ID (a unique number, consistent across database shutdowns and startups). This is also the data dictionary object ID. |
|
|
Name of the resource plan |
|
|
Indicates whether the resource plan is the current top plan ( |
|
|
Indicates whether the resource plan has parameters that specify a policy for how the Resource Manager should schedule sessions to manage CPU usage ( |
|
|
Reserved for future use |
|
|
Indicates whether instance caging is enabled ( |
|
|
Total number of active parallel servers on the instance |
|
|
The value of |
|
|
State of parallel statement queuing:
For an Oracle RAC database, only the instance running as master Database Resource Manager (DBRM) shows the correct state of parallel statement queuing. All other instances default to the value |
|
|
The ID of the container to which the data pertains. Possible values include:
|
|
|
The type of directive used by this PDB:
|
|
|
Resource allocation for this PDB, expressed in shares |
|
|
Maximum percentage of the container’s resources allowed for this PDB |
|
|
Maximum percentage of the parallel target the PDB can use before queuing subsequent parallel queries |
|
|
The percentage of Exadata Smart Flash Cache and Exadata PMEM cache that is guaranteed to the PDB This percentage is based on the total amount of space allocated to the CDB for Exadata Smart Flash Cache and Exadata PMEM cache. See Oracle Exadata System Software User’s Guide for more information. |
|
|
The maximum percentage of Exadata Smart Flash Cache and Exadata PMEM cache that the PDB can use This percentage is based on the total amount of space allocated to the CDB for Exadata Smart Flash Cache and Exadata PMEM cache. See Oracle Exadata System Software User’s Guide for more information. |
|
|
The value of the |
|
|
Value of the |
|
|
Value of the |
The resource plan with CON_ID=ROOT
is the CDB resource plan.
See Also:
-
“DBA_RSRC_PLANS” for a listing of all plans in the database
-
“DBA_CDB_RSRC_PLANS” for information about CDB resource plans
-
“DBA_CDB_RSRC_PLAN_DIRECTIVES” for information about CDB resource plan directives
-
“DB_PERFORMANCE_PROFILE”
-
Oracle Database
Administrator’s Guide for information on resource plans -
Oracle Database PL/SQL
Packages and Types Reference for information on defining resource allocation methods for consumer groups with theDBMS_RESOURCE_MANAGER
package