Oracle® Database Administrator's Guide 11g Release 1 (11.1) Part Number B28310-01 |
|
|
View PDF |
The following sections provide reference information for Oracle Database Resource Manager (the Resource Manager):
Table 25-1 lists the resource plans and Table 25-2 lists the resource consumer groups that are predefined for each Oracle database.
Table 25-1 Predefined Resource Plans
Resource Plan | Description |
---|---|
|
Default plan for maintenance windows. See "About Resource Allocations for Automated Maintenance Tasks" for details of this plan. |
|
Basic default plan that prioritizes |
|
For disabling the resource manager. For internal use only. |
|
For quiescing the database. This plan cannot be activated directly. To activate, use the |
|
Example plan for a mixed workload that prioritizes interactive operations over batch operations. See "An Oracle-Supplied Mixed Workload Plan" for details. |
|
Default sub-plan for high-priority, automated maintenance tasks. This sub-plan is referenced by |
|
Default sub-plan for automated maintenance tasks. A directive to this sub-plan should be included in every top-level plan to manage the resources consumed by the automated maintenance tasks. This plan is a sub-plan of |
Table 25-2 Predefined Resource Consumer Groups
Resource Consumer Group | Description |
---|---|
|
Consumer group for batch operations. |
|
Initial consumer group for all sessions started by user accounts other than |
|
Consumer group for interactive, OLTP operations. |
|
Consumer group for low-priority sessions. |
|
Consumer group used by database processes that create diagnostic dumps when critical errors occur. |
|
Reserved for future use. Included in |
|
Consumer group for medium-priority maintenance tasks. |
|
Consumer group for Automatic Segment Advisor maintenance task. Included in |
|
Consumer group for Automatic SQL Tuning Advisor maintenance task. Included in |
|
Consumer group for optimizer statistics gathering maintenance task. Included in |
|
Consumer group for urgent maintenance tasks. |
|
Consumer group that applies collectively to all sessions that belong to a consumer group that is not part of the currently active plan, including sessions that belong to |
|
Consumer group for system administrators. It is the initial consumer group for all sessions created by user accounts |
Table 25-3 summarizes the procedures in the DBMS_RESOURCE_MANAGER
package. You must have the ADMINISTER_RESOURCE_MANAGER
privilege to run these procedures.
Table 25-3 DBMS_RESOURCE_MANAGER Package Procedures
Procedure | Description |
---|---|
|
Creates a simple resource plan, containing up to eight consumer groups, in one step. This is the quickest way to get started with Oracle Database Resource Manager. |
|
Creates a resource plan and specifies its allocation methods. |
|
Updates a resource plan. |
|
Deletes a resource plan and its directives. |
|
Deletes a resource plan and all of its descendents. |
|
Creates a resource consumer group. |
|
Updates a consumer group. |
|
Deletes a consumer group. |
|
Specifies the resource plan directives that allocate resources to resource consumer groups or subplans in a plan. |
|
Updates plan directives |
|
Deletes plan directives |
|
Creates a pending area (scratch area) within which changes can be made to a plan schema |
|
Validates the pending changes to a plan schema |
|
Clears all pending changes from the pending area |
|
Submits all changes for a plan schema |
|
Sets the initial consumer group for a user. This procedure has been deprecated. Oracle recommends that you use the |
|
Switches the consumer group of a specific session |
|
Switches the consumer group of all sessions belonging to a specific user |
|
Sets the current resource manager plan. |
|
Maps sessions to consumer groups |
|
Establishes session attribute mapping priorities |
See Also:
Oracle Database PL/SQL Packages and Types Reference for details on theDBMS_RESOURCE_MANAGER
PL/SQL package.Table 25-4 lists views that are associated with the Resource Manager.
Table 25-4 Resource Manager Data Dictionary Views
View | Description |
---|---|
|
|
|
Lists all resource consumer groups that exist in the database. |
|
|
|
Lists all resource plan directives that exist in the database. |
|
Lists all resource plans that exist in the database. |
|
Lists all of the various mapping pairs for all of the session attributes. |
|
Lists the current mapping priority of each attribute. |
|
Displays historical information about resource plan activation. This view contains AWR snapshots of |
|
Displays historical statistical information about consumer groups. This view contains AWR snapshots of |
|
|
|
Displays all available active session pool resource allocation methods. |
|
Displays all available parallel degree limit resource allocation methods. |
|
Displays all available queuing resource allocation methods. |
|
For each entry in the view |
|
Displays information about active resource consumer groups. This view can be used for tuning. |
|
Displays all available CPU resource allocation methods for resource consumer groups. |
|
Displays a history of resources consumed and cumulative CPU wait time (due to resource management) per consumer group for the past minute. |
|
Displays a history of resources consumed and cumulative CPU wait time (due to resource management) per consumer group for the past hour on a minute-by-minute basis. If a new resource plan is enabled, the history is cleared. |
|
Displays the names of all currently active resource plans. |
|
Displays all available CPU resource allocation methods for resource plans. |
|
Shows when Resource Manager plans were enabled or disabled on the instance. It helps you understand how resources were shared among the consumer groups over time. |
|
Displays Resource Manager statistics for each session. Shows how the session has been affected by the Resource Manager. Can be used for tuning. |
|
Lists session information for each current session. Specifically, lists the name of the resource consumer group of each current session. |
See Also:
Oracle Database Reference for detailed information about the contents of each of these views