DBA Data[Home] [Help]

VIEW: SYS.DBA_RSRC_PLAN_DIRECTIVES

Source

View Text - Preformatted

select plan, group_or_subplan, decode(is_subplan, 1, 'PLAN', 'CONSUMER_GROUP'),
decode(mgmt_p1, 4294967295, 0, mgmt_p1),
decode(mgmt_p2, 4294967295, 0, mgmt_p2),
decode(mgmt_p3, 4294967295, 0, mgmt_p3),
decode(mgmt_p4, 4294967295, 0, mgmt_p4),
decode(mgmt_p5, 4294967295, 0, mgmt_p5),
decode(mgmt_p6, 4294967295, 0, mgmt_p6),
decode(mgmt_p7, 4294967295, 0, mgmt_p7),
decode(mgmt_p8, 4294967295, 0, mgmt_p8),
decode(mgmt_p1, 4294967295, 0, mgmt_p1),
decode(mgmt_p2, 4294967295, 0, mgmt_p2),
decode(mgmt_p3, 4294967295, 0, mgmt_p3),
decode(mgmt_p4, 4294967295, 0, mgmt_p4),
decode(mgmt_p5, 4294967295, 0, mgmt_p5),
decode(mgmt_p6, 4294967295, 0, mgmt_p6),
decode(mgmt_p7, 4294967295, 0, mgmt_p7),
decode(mgmt_p8, 4294967295, 0, mgmt_p8),
decode(active_sess_pool_p1, 4294967295, to_number(null), active_sess_pool_p1),
decode(queueing_p1, 4294967295, to_number(null), queueing_p1),
decode(parallel_server_limit,
       4294967295, to_number(null),
       parallel_server_limit),
decode(parallel_degree_limit_p1,
       4294967295, to_number(null),
       parallel_degree_limit_p1),
switch_group,
decode(switch_for_call, 4294967295, 'FALSE', 0, 'FALSE', 1, 'TRUE'),
decode(switch_time, 4294967295, to_number(null), switch_time),
decode(switch_io_megabytes, 4294967295, to_number(null), switch_io_megabytes),
decode(switch_io_reqs, 4294967295, to_number(null), switch_io_reqs),
decode(switch_estimate, 4294967295, 'FALSE', 0, 'FALSE', 1, 'TRUE'),
decode(max_est_exec_time, 4294967295, to_number(null), max_est_exec_time),
decode(undo_pool, 4294967295, to_number(null), undo_pool),
decode(max_idle_time, 4294967295, to_number(null), max_idle_time),
decode(max_idle_blocker_time, 4294967295, to_number(null),
       max_idle_blocker_time),
decode(max_utilization_limit, 4294967295, to_number(null),
       max_utilization_limit),
decode(parallel_queue_timeout, 4294967295, to_number(null),
       parallel_queue_timeout),
case when (switch_time = 4294967295) then to_number(null)
     when (switch_for_call = 1) then switch_time
     else to_number(null) end,
decode(switch_io_logical, 4294967295, to_number(null), switch_io_logical),
decode(switch_elapsed_time, 4294967295, to_number(null), switch_elapsed_time),
decode(parallel_server_limit,
       4294967295, to_number(null),
       parallel_server_limit),
decode(max_utilization_limit, 4294967295, to_number(null),
       max_utilization_limit),
decode(parallel_stmt_critical, 1, 'BYPASS_QUEUE', 'FALSE'),
description, decode(status,'ACTIVE',NULL,status),
decode(mandatory, 1, 'YES', 'NO')
from resource_plan_directive$
where sys_context('userenv', 'con_id') <> 1
View Text - HTML Formatted

SELECT PLAN
, GROUP_OR_SUBPLAN
, DECODE(IS_SUBPLAN
, 1
, 'PLAN'
, 'CONSUMER_GROUP')
, DECODE(MGMT_P1
, 4294967295
, 0
, MGMT_P1)
, DECODE(MGMT_P2
, 4294967295
, 0
, MGMT_P2)
, DECODE(MGMT_P3
, 4294967295
, 0
, MGMT_P3)
, DECODE(MGMT_P4
, 4294967295
, 0
, MGMT_P4)
, DECODE(MGMT_P5
, 4294967295
, 0
, MGMT_P5)
, DECODE(MGMT_P6
, 4294967295
, 0
, MGMT_P6)
, DECODE(MGMT_P7
, 4294967295
, 0
, MGMT_P7)
, DECODE(MGMT_P8
, 4294967295
, 0
, MGMT_P8)
, DECODE(MGMT_P1
, 4294967295
, 0
, MGMT_P1)
, DECODE(MGMT_P2
, 4294967295
, 0
, MGMT_P2)
, DECODE(MGMT_P3
, 4294967295
, 0
, MGMT_P3)
, DECODE(MGMT_P4
, 4294967295
, 0
, MGMT_P4)
, DECODE(MGMT_P5
, 4294967295
, 0
, MGMT_P5)
, DECODE(MGMT_P6
, 4294967295
, 0
, MGMT_P6)
, DECODE(MGMT_P7
, 4294967295
, 0
, MGMT_P7)
, DECODE(MGMT_P8
, 4294967295
, 0
, MGMT_P8)
, DECODE(ACTIVE_SESS_POOL_P1
, 4294967295
, TO_NUMBER(NULL)
, ACTIVE_SESS_POOL_P1)
, DECODE(QUEUEING_P1
, 4294967295
, TO_NUMBER(NULL)
, QUEUEING_P1)
, DECODE(PARALLEL_SERVER_LIMIT
, 4294967295
, TO_NUMBER(NULL)
, PARALLEL_SERVER_LIMIT)
, DECODE(PARALLEL_DEGREE_LIMIT_P1
, 4294967295
, TO_NUMBER(NULL)
, PARALLEL_DEGREE_LIMIT_P1)
, SWITCH_GROUP
, DECODE(SWITCH_FOR_CALL
, 4294967295
, 'FALSE'
, 0
, 'FALSE'
, 1
, 'TRUE')
, DECODE(SWITCH_TIME
, 4294967295
, TO_NUMBER(NULL)
, SWITCH_TIME)
, DECODE(SWITCH_IO_MEGABYTES
, 4294967295
, TO_NUMBER(NULL)
, SWITCH_IO_MEGABYTES)
, DECODE(SWITCH_IO_REQS
, 4294967295
, TO_NUMBER(NULL)
, SWITCH_IO_REQS)
, DECODE(SWITCH_ESTIMATE
, 4294967295
, 'FALSE'
, 0
, 'FALSE'
, 1
, 'TRUE')
, DECODE(MAX_EST_EXEC_TIME
, 4294967295
, TO_NUMBER(NULL)
, MAX_EST_EXEC_TIME)
, DECODE(UNDO_POOL
, 4294967295
, TO_NUMBER(NULL)
, UNDO_POOL)
, DECODE(MAX_IDLE_TIME
, 4294967295
, TO_NUMBER(NULL)
, MAX_IDLE_TIME)
, DECODE(MAX_IDLE_BLOCKER_TIME
, 4294967295
, TO_NUMBER(NULL)
, MAX_IDLE_BLOCKER_TIME)
, DECODE(MAX_UTILIZATION_LIMIT
, 4294967295
, TO_NUMBER(NULL)
, MAX_UTILIZATION_LIMIT)
, DECODE(PARALLEL_QUEUE_TIMEOUT
, 4294967295
, TO_NUMBER(NULL)
, PARALLEL_QUEUE_TIMEOUT)
, CASE WHEN (SWITCH_TIME = 4294967295) THEN TO_NUMBER(NULL) WHEN (SWITCH_FOR_CALL = 1) THEN SWITCH_TIME ELSE TO_NUMBER(NULL) END
, DECODE(SWITCH_IO_LOGICAL
, 4294967295
, TO_NUMBER(NULL)
, SWITCH_IO_LOGICAL)
, DECODE(SWITCH_ELAPSED_TIME
, 4294967295
, TO_NUMBER(NULL)
, SWITCH_ELAPSED_TIME)
, DECODE(PARALLEL_SERVER_LIMIT
, 4294967295
, TO_NUMBER(NULL)
, PARALLEL_SERVER_LIMIT)
, DECODE(MAX_UTILIZATION_LIMIT
, 4294967295
, TO_NUMBER(NULL)
, MAX_UTILIZATION_LIMIT)
, DECODE(PARALLEL_STMT_CRITICAL
, 1
, 'BYPASS_QUEUE'
, 'FALSE')
, DESCRIPTION
, DECODE(STATUS
, 'ACTIVE'
, NULL
, STATUS)
, DECODE(MANDATORY
, 1
, 'YES'
, 'NO') FROM RESOURCE_PLAN_DIRECTIVE$ WHERE SYS_CONTEXT('USERENV'
, 'CON_ID') <> 1