Note
This view is available starting with V3.1.2.
Purpose
This view displays the details of each group of resource plan instructions for the current tenant.
Columns
| Column | Type | Nullable | Description |
|---|---|---|---|
| PLAN | varchar(128) | NO | The name of the resource plan to which the instruction belongs. |
| GROUP_OR_SUBPLAN | varchar(128) | NO | The name of the resource group controlled by the instruction. |
| TYPE | varchar(14) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| CPU_P1 | decimal(10,0) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| CPU_P2 | decimal(10,0) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| CPU_P3 | decimal(10,0) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| CPU_P4 | decimal(10,0) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| CPU_P5 | decimal(10,0) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| CPU_P6 | decimal(10,0) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| CPU_P7 | decimal(10,0) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| CPU_P8 | decimal(10,0) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| MGMT_P1 | bigint(20) | NO | The maximum CPU share available in full-load scenarios. |
| MGMT_P2 | decimal(10,0) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| MGMT_P3 | decimal(10,0) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| MGMT_P4 | decimal(10,0) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| MGMT_P5 | decimal(10,0) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| MGMT_P6 | decimal(10,0) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| MGMT_P7 | decimal(10,0) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| MGMT_P8 | decimal(10,0) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| ACTIVE_SESS_POOL_P1 | decimal(10,0) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| QUEUEING_P1 | decimal(10,0) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| PARALLEL_TARGET_PERCENTAGE | decimal(10,0) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| PARALLEL_DEGREE_LIMIT_P1 | decimal(10,0) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| SWITCH_GROUP | varchar(128) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| SWITCH_FOR_CALL | varchar(5) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| SWITCH_TIME | decimal(10,0) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| SWITCH_IO_MEGABYTES | decimal(10,0) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| SWITCH_IO_REQS | decimal(10,0) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| SWITCH_ESTIMATE | varchar(5) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| MAX_EST_EXEC_TIME | decimal(10,0) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| UNDO_POOL | decimal(10,0) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| MAX_IDLE_TIME | decimal(10,0) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| MAX_IDLE_BLOCKER_TIME | decimal(10,0) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| MAX_UTILIZATION_LIMIT | decimal(10,0) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| PARALLEL_QUEUE_TIMEOUT | decimal(10,0) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| SWITCH_TIME_IN_CALL | decimal(10,0) | NO | This parameter is reserved for compatibility. Its value is always NULL. |
| SWITCH_IO_LOGICAL | decimal(10,0) | NO | This column is retained for compatibility. Its value is fixed to NULL. |
| SWITCH_ELAPSED_TIME | decimal(10,0) | NO | This column is retained for compatibility. Its value is fixed to NULL. |
| PARALLEL_SERVER_LIMIT | decimal(10,0) | NO | This column is retained for compatibility. Its value is fixed to NULL. |
| UTILIZATION_LIMIT | bigint(20) | NO | This column is retained for compatibility. Its value is fixed to NULL. |
| PARALLEL_STMT_CRITICAL | varchar(12) | NO | This column is retained for compatibility. Its value is fixed to NULL. |
| SESSION_PGA_LIMIT | decimal(10,0) | NO | This column is retained for compatibility. Its value is fixed to NULL. |
| PQ_TIMEOUT_ACTION | varchar(6) | NO | This column is retained for compatibility. Its value is fixed to NULL. |
| COMMENTS | varchar(2000) | YES | The remarks about the instruction. |
| STATUS | varchar(128) | NO | This column is retained for compatibility. Its value is fixed to NULL. |
| MANDATORY | varchar(3) | NO | This column is retained for compatibility. Its value is fixed to NULL. |
Sample query
Query the detailed information of each resource plan directive of the current tenant in the sys tenant.
obclient [oceanbase]> SELECT PLAN, GROUP_OR_SUBPLAN FROM oceanbase.DBA_RSRC_PLAN_DIRECTIVES;
The query result is as follows:
+---------+------------------+
| PLAN | GROUP_OR_SUBPLAN |
+---------+------------------+
| daytime | batch_group |
+---------+------------------+
1 row in set