Documente Academic
Documente Profesional
Documente Cultură
Predefined RM plans
Benefits:
Distribute CPU as per priority.
Limit degree of parallelism, active sessions, undo usage.
Manage multiple workload environment.
Control idle/inactive sessions.
Handle runaway queries.
Resource Plan
A collection of rules or directives that specifies how resources are allocated to
consumer groups.
Client_os_user
Client_program
Client_machine
Client_id
Module_name
Module_name_action
Service_module
Service_module_action
CPU
Degree of Parallelism Limit
Parallel Target Percentage
Parallel Queue Timeout
Active Session Pool with Queuing
Undo Pool
Idle Time Limit
Automatic Consumer Group Switching
Canceling SQL and Terminating Sessions
Example:
SQL> BEGIN
DBMS_RESOURCE_MANAGER.CREATE_SIMPLE_PLAN(SIMPLE_PLAN =>
'EXAMPLE_SIMPLE_PLAN',
CONSUMER_GROUP1 => 'HIGH_PRIORITY',GROUP1_PERCENT => 70,
CONSUMER_GROUP2 => 'LOW_PRIORITY',GROUP2_PERCENT => 30);
END;
/
Map Sessions to
Administer RM privilege
Consumer Groups
Create Resource
Submit Pending Area
Consumer Groups
Consumer Group Level1 CPU Level2 CPU Level3 CPU Maximum Utilization Limit
HIGH_PRIORITY 80% - -
LOW_PRIORITY - 80% -
OTHER_GROUPS - - 100%
PRIORITY_BASED_PLAN
IMP_USERS SMALL_USERS
80% CPU 20% CPU
ORA$AUTOTASK_SUB_PLAN - 25% 90
ORA$DIAGNOSTICS - 5% 90
SYS_GROUP -
V$RSRC_SESSION_INFO
Monitor sessions
V$RSRCMGRMETRIC
Provides real time metrics to track sessions in terms of CPU utilization etc.
Q&A panel
3
Send your question
2
Ask: ALL PANELLIST leave default!
1
type your question here
Note:
Click column headings to sort
Hover on Webcast Title for more
information
Recordings available within 48
hours
Advisor Webcast Questions on a
webcast or ask questions via the
Questions? link
https://community.oracle.com/thread/
3699418