2026-03-12 20:23:15
This commit is contained in:
25
timhall/12c/cdb_resource_profile_directives.sql
Normal file
25
timhall/12c/cdb_resource_profile_directives.sql
Normal file
@@ -0,0 +1,25 @@
|
||||
-- -----------------------------------------------------------------------------------
|
||||
-- File Name : https://oracle-base.com/dba/12c/cdb_resource_profile_directives.sql
|
||||
-- Author : Tim Hall
|
||||
-- Description : Displays CDB resource profile directives.
|
||||
-- Requirements : Access to the DBA views.
|
||||
-- Call Syntax : @cdb_resource_profile_directives.sql (plan-name or all)
|
||||
-- Last Modified: 10-JAN-2017
|
||||
-- -----------------------------------------------------------------------------------
|
||||
|
||||
COLUMN plan FORMAT A30
|
||||
COLUMN pluggable_database FORMAT A25
|
||||
COLUMN profile FORMAT A25
|
||||
SET LINESIZE 150 VERIFY OFF
|
||||
|
||||
SELECT plan,
|
||||
pluggable_database,
|
||||
profile,
|
||||
shares,
|
||||
utilization_limit AS util,
|
||||
parallel_server_limit AS parallel
|
||||
FROM dba_cdb_rsrc_plan_directives
|
||||
WHERE plan = DECODE(UPPER('&1'), 'ALL', plan, UPPER('&1'))
|
||||
ORDER BY plan, pluggable_database, profile;
|
||||
|
||||
SET VERIFY ON
|
||||
Reference in New Issue
Block a user