0% found this document useful (0 votes)
15 views13 pages

Chapter 17

The document discusses Oracle database consumer groups and resource management plans. It explains that the DEFAULT_CONSUMER_GROUP is assigned if no group is specified. The ALTER SYSTEM QUIESCE RESTRICTED statement puts the database in a restricted state allowing only DBA transactions. Resource allocation parameters like MGMT_MTH emphasis and ratio control resource distribution. Plans define settings like degree of parallelism, session pools, and activation queues. Views provide information about consumer groups and plans in command line interface mode.

Uploaded by

Khan Bahi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views13 pages

Chapter 17

The document discusses Oracle database consumer groups and resource management plans. It explains that the DEFAULT_CONSUMER_GROUP is assigned if no group is specified. The ALTER SYSTEM QUIESCE RESTRICTED statement puts the database in a restricted state allowing only DBA transactions. Resource allocation parameters like MGMT_MTH emphasis and ratio control resource distribution. Plans define settings like degree of parallelism, session pools, and activation queues. Views provide information about consumer groups and plans in command line interface mode.

Uploaded by

Khan Bahi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 13

Click on consumer group, here u can see already available consumer groups:

If we create user and we does not specify its group then “DEFAULT_CONSUMER_GROUP”

Is allocated to it.
Groups with “ORA$” are assigned to background processes;

When we log in with

Sys, system, sysoper or with some dba, then their group would be “sys_group”

Low_group:

Is allocated to user like scott, hr, which have to perform no recovery and backup operations;
Creating Consumer groups:

Scheduling Policy:

Round robin : is time sharing , if 8 users login and all users run query. Time would be shared
between them.

Run to completion:

First come, first serve.


Now we have created group.

Next

We allocate this group to some user;


Now we edit another user “oranet”
Click APPLY BUTTON;
NOW: we move towards plans;

Default plan: if any group have no plan then its default


plan. This is usually allocated to sys group;
Quiescing a Database
Occasionally you might want to put a database in a state that allows only DBA transactions, queries,
fetches, or PL/SQL statements. Such a state is referred to as a quiesced state, in the sense that no
ongoing non-DBA transactions, queries, fetches, or PL/SQL statements are running in the system.

ALTER SYSTEM QUIESCE RESTRICTED;

Create new plan:

Resource Allocation:
There is a parameter MGMT_MTH: emphasis, ratio
Emphasis: define levels
Ratio: is percentage

Degree of parallelism:

Session Pool:

Activation queue: For how much time it should wait for login:
Max idle time(sec) = if user performs no activity
Max idle if blocking = if user use DML(insert, update, delete) , and commit or roll back, then kill
this session.

Show SQL:
Views for information in CLI mode:

You might also like