iSelfSchooling.com - Since 1999  References  |  Job Openings  |  Post Notes
    Home  | Search more  | Oracle Syntax  | Suggestions  | Computer Institute   | (Login or Register to access to all VIDEOS)
 

Copyright & User Agreement

    Email2aFriend  | Homepage us! |  Bookmark

Services

  Vision/Mission

  Services

  Biography

  Contact Us

 FREE Training

  Start...

  SQL

  PL/SQL

  Forms 

  Reports

  DBA Fundamentals

  Performance

  Prepare for OCP

...

  Acknowledgement

  Who is who

  University Directory

  Links...

 

 

 

FREE Online Oracle Training for beginners and advanced - The most comprehensive Oracle tutorial

The authors do not guarantee or take any responsibility for the accuracy, or completeness of the information.

BASICS

SQL | PL/SQL

DEVELOPERS

FORMS 2 | REPORTS | Other TOOLS

DBAs

FUNDAMENTALS 2 | PERFORMANCE | OEM

ADVANCE

APPLICATION SERVER | GRID CONTROL | ARTICLES 2 3 4

Advanced - Articles I

Lesson 01 | Lesson 02 | Lesson 03 | Lesson 04 | Lesson 05 | Lesson 06 | Lesson 07 | Lesson 08 | Lesson 09 | Lesson 10 | Lesson 11 | Lesson 12 | Lesson 13 | Lesson 14 | Lesson 15 | Lesson 16 | Lesson 17 | Lesson 18 | Lesson 19 | Lesson 20 | Lesson 21 | Lesson 22 | Lesson 23 | Lesson 24 | Lesson 25 | Lesson 26 | Lesson 27 | Lesson 28 | Lesson 29 | Lesson 30 | Lesson 31 | Lesson 32 | Lesson 33 | Lesson 34 | Lesson 35 |

Lesson 09

‘An eye for eye only ends up making the whole world blind.’ Gandhi

Database Resource Manager in the Oracle 10g database

Introduction

Oracle Database 10g introduces new features to the Resource Manager for managing your resources. For example: if you want that the PMON process kills sessions that are idle for longer than 600 seconds and kills sessions that are idle for more than 300 seconds and are blocking other sessions, then you should use the DBMS_RESOURCE_MANAGER package. We assumed that you have already defined your plan as ‘MY_DAY_PLAN’ and your group as ‘MY_FIRST_GROUP.’

SQL> BEGIN

DBMS_RESOURCE_MANAGER.create_plan_directive (

PLAN => ‘MY_DAY_PLAN’,

GROUP_OR_SUBPLAN => ‘MY_FIRST_GROUP’,

COMMET => ‘Limit user idle time’,

MAX_IDLE_TIME => 600,

MAX_IDLE_BLOCKER_TIME => 300);

END;

/

 

 

 

“In the end, we will remember not the words of our enemies, but the silence of our friends.” Martin Luther King Jr.

Questions:

Questions on

Database Resource Manager in the Oracle 10g database

Q: How to do you use the DBMS_RESOURCE_MANAGER package to tell the PMON process to kill sessions that are idle for longer than 600 seconds and kill sessions that are idle for more than 300 seconds and are blocking other sessions. We assumed that you have already defined your plan as ‘MY_DAY_PLAN’ and your group as ‘MY_FIRST_GROUP.’

 

 

 
 
Google
 
Web web site