Database Resource Manager

Hello,
We're on Oracle 10.2.0.3.
I want the Resource Manager to map a specific machine in de 'LOW_GROUP'.
Therefore I've used the value of 'machine' from the following query
select sid, serial#, username, machine, resource_consumer_group
from gv$session
order by sid;
BEGIN
dbms_resource_manager.clear_pending_area();
dbms_resource_manager.create_pending_area();
dbms_resource_manager.set_consumer_group_mapping(
dbms_resource_manager.client_machine,
'CWZ\04-800-1330',
'LOW_GROUP'
dbms_resource_manager.submit_pending_area();
END;
When I connect to the database, the connection is in consumer_group 'OTHER_GROUPS'.
What can be the reason for that ?
Thanks for your help,
Sjang

Hello
I've found the same problem when setting up the USER mapping. It doesn't work! There is a bug with the PROGRAM mapping in that dbms_resource_manager uppercases the input program name, so if you have mixed case executable names, it won't work, but it seems to extend to the other attributes too.
To get round the problem, I've put together a logon trigger and several mapping tables and then do the switch manually i.e.
    BEGIN
        SELECT
            spm.consumer_group
        INTO
            ls_ConsumerGroup
        FROM
            resource_man.session_user_mapping spm
        WHERE
            spm.user_name = USER;
        dbms_resource_manager.switch_consumer_group_for_user
        (   USER,
            ls_ConsumerGroup
    EXCEPTION
        WHEN NO_DATA_FOUND THEN
            NULL;
    END;
    BEGIN
        SELECT
            spm.consumer_group,
            vs.sid,
            vs.serial#
        INTO
            ls_ConsumerGroup,
            ln_SessionId,
            ln_Serial
        FROM
            session_program_mapping spm,
            v$session vs
        WHERE
            vs.program = spm.program_name
        AND
            vs.audsid = TO_NUMBER(SYS_CONTEXT('USERENV','SESSIONID'));
        dbms_resource_manager.switch_consumer_group_for_sess
        (   ln_SessionId,
            ln_Serial,
            ls_ConsumerGroup
    EXCEPTION
        WHEN NO_DATA_FOUND THEN
            NULL;
    END;Not sure why the auto mapping bit doesn't work but the above code does work.
HTH
David

Similar Messages

  • DATABASE RESOURCE MANAGER ( ORACLE 8I NEW FEATURE )

    제품 : ORACLE SERVER
    작성날짜 : 2004-08-16
    DATABASE RESOURCE MANAGER ( ORACLE 8I NEW FEATURE )
    ===================================================
    SCOPE
    8i~10g Standard Edition 에서는 Database Resource Manager 를 지원하지 않는다.
    Explanation
    Database Resource Manager란 OS에서 제공하는 자원 (예 : CPU 자원 )에 대해 DB
    차원에서 계획을 세워, 세부 관리를 할 수 있도록 해 주는 서비스이다.
    예를 들어 주간에 batch 작업을 처리하더라도, OLTP 업무에는 지장을 주지 않아야
    할 경우 batch 작업에 CPU 자원을 적게 할당해 주는 것이 바람직 하며, Resource
    Manager를 활용하여 CPU 자원을 batch 작업과 OLTP 업무에 서로 다르게 할당해 줄
    수 있다. ( Oracle 8.1.6 까지는 Resouurce Manager에서 CPU 자원에 대해서만
    관리만 가능하다 )
    1. 용어
    1) Resource Consumer Group
    사용자 session들의 집합. Resource에 대한 요구사항에 따라 나뉘어진 그룹.
    2) Resource Plan
         Consumer Group에 자원을 할당 해 주기 위한 resource plan directive들을
    포함.
    3) Resource Allocation Method
         Resource Manager에서 자원을 할당해 주는 방법/정책.
    4) Resource Plan Directive
         Resource Plan에 대해 자원을 할당해 주는 세부 내역.
    2. Resource Consumer Group
    * 기본 group
         [ 사용자가 삭제, 수정할 수 없는 group ]
         OTHER_GROUPS : active plan schema에 속하지 않는 consumer group의 모든
    session
         DEFAULT_CONSUMER_GROUP : consumer group을 지정하지 않은 모든
    session.(default)
         [ 기본적으로 제공되나 사용자가 삭제하거나 변경할 수 있는 group ]
         SYS_GROUP : SYSTEM_PLAN에 대한 high priority consumer group
    SYSTEM, SYS user에 할당한다.
         LOW_GROUP : SYSTEM_PLAN에 대한 low priority consumer group
    3. Resource Plan
         Consumer group에 속하는 session들은 해당 group에 대한 resource plan에
    따라 자원 할당이 결정되며, 자원 할당에 대한 세부 사항은 resource plan에
    대한 resource plan directive에서 지정된다.
         Resource plan은 subplan을 둘 수 있다.
    4. Resource Allocation Method
         Round-robin Method : Consumer group 내에서 session들에 대한 CPU 할당
         Emphasis Method : Consumer group에 할당되는 CPU
         Absolute Method : Parallel degree 한계 ( 예 : Parallel Query에서의
    degree )
    5. Resource Plan Directive
         Resource Plan Directive에 지정된 내용들은 resource plan에 따라
    consumer group에 자원을 할당할 때 반영된다.
    6. 구현 예제
         MYDB PLAN +-> MAILDB PLAN +-> POSTMAN GROUP (40% Level 1)
         | (30% Level 1) |
         | +-> USERS GROUP (80% Level 2)
         | |
         | +-> MAILMAINT GROUP (20% Level 2)
         | |
         | +-> OTHER GROUP (100% Level 3)
         |
         +-> BUGDB PLAN  +-> ONLINE GROUP (80% Level 1)
         (70% Level 1) |
         +-> BATCH GROUP (20% Level 1)
         |
         +-> BUGMAINT GROUP (100% Level 2)
         |
         +-> OTHER GROUP (100% Level 3)
         위 예에서 MYDB PLAN에는 2개의 subplan ( MAILDB PLAN, BUGDB PLAN )이
         있으며 각각 30%와 70%의 CPU 자원을 할당하였다.
         Level 1, Level 2, Level 3 는 우선순위 레벨을 의미하며, 하나의
         resource plan에서 동일한 level의 합이 100%를 넘지 못한다.
         ( Level 은 1부터 8까지 지정할 수 있으며 level 1이 가장 우선순위가
         높으며 level 8이 가장 우선순위가 낮다 )
         예를 들어 전체 CPU 자원의 70%를 할당 받은 BUGDB PLAN은 다시
         ONLINE GROUP과 BATCH GROUP을 두고 있는데, 이 둘의 Level이 모두 1이며
         두개의 percentage의 합이 100%이다. 하지만, 즉, level 1인 ONLINE GROUP
    에 90%를 할당하였다면, level 1인 BATCH GROUP에는 10% 이상을 할당할 수
    없다.
    Example
         * 구현을 위한 코드
         BEGIN
         /* PLAN schema 작업 영역 생성 */
         DBMS_RESOURCE_MANAGER.CREATE_PENDING_AREA();
         /* BUGDB PLAN, MAILDB PLAN, MYDB PLAN 생성 */
         DBMS_RESOURCE_MANAGER.CREATE_PLAN(PLAN => 'bugdb_plan',
         COMMENT => 'Resource plan/method for bug users sessions');
         DBMS_RESOURCE_MANAGER.CREATE_PLAN(PLAN => 'maildb_plan',
         COMMENT => 'Resource plan/method for mail users sessions');
         DBMS_RESOURCE_MANAGER.CREATE_PLAN(PLAN => 'mydb_plan',
         COMMENT => 'Resource plan/method for bug and mail users sessions');
         /* CONSUMER GROUP 생성 */
         DBMS_RESOURCE_MANAGER.CREATE_CONSUMER_GROUP(CONSUMER_GROUP =>
    'Bug_Online_group', COMMENT => 'Resource consumer group/method for
    online bug users sessions');
         DBMS_RESOURCE_MANAGER.CREATE_CONSUMER_GROUP(CONSUMER_GROUP =>
    'Bug_Batch_group', COMMENT => 'Resource consumer group/method for
    bug users sessions who run batch jobs');
         DBMS_RESOURCE_MANAGER.CREATE_CONSUMER_GROUP(CONSUMER_GROUP =>
    'Bug_Maintenance_group', COMMENT => 'Resource consumer group/method
    for users sessions who maintain the bug db');
         DBMS_RESOURCE_MANAGER.CREATE_CONSUMER_GROUP(CONSUMER_GROUP =>
    'Mail_users_group', COMMENT => 'Resource consumer group/method for
    mail users sessions');
         DBMS_RESOURCE_MANAGER.CREATE_CONSUMER_GROUP(CONSUMER_GROUP =>
    'Mail_Postman_group', COMMENT => 'Resource consumer group/method for
    mail postman');
         DBMS_RESOURCE_MANAGER.CREATE_CONSUMER_GROUP(CONSUMER_GROUP =>
    'Mail_Maintenance_group', COMMENT => 'Resource consumer group/method
    for users sessions who maintain the mail db');
         /* BUGDB PLAN에 대한 DIRECTIVE 생성 */     
         DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(PLAN => 'bugdb_plan',
    GROUP_OR_SUBPLAN => 'Bug_Online_group',     COMMENT => 'online bug users
    sessions at level 1', CPU_P1 => 80, CPU_P2=> 0,
         PARALLEL_DEGREE_LIMIT_P1 => 8);
         DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(PLAN => 'bugdb_plan',
    GROUP_OR_SUBPLAN => 'Bug_Batch_group',      COMMENT => 'batch bug users
    sessions at level 1', CPU_P1 => 20, CPU_P2 => 0,
         PARALLEL_DEGREE_LIMIT_P1 => 2);
         DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(PLAN => 'bugdb_plan',
    GROUP_OR_SUBPLAN => 'Bug_Maintenance_group',COMMENT => 'bug
    maintenance users sessions at level 2', CPU_P1 => 0, CPU_P2 => 100,
         PARALLEL_DEGREE_LIMIT_P1 => 3);
         DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(PLAN => 'bugdb_plan',
    GROUP_OR_SUBPLAN => 'OTHER_GROUPS', COMMENT => 'all other users
    sessions at level 3', CPU_P1 => 0, CPU_P2 => 0, CPU_P3 =>
         100);
    (참고) CPU_P1 : cpu allocation for level 1
         /* MAILDB PLAN에 대한 DIRECTIVE 생성 */
         DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(PLAN => 'maildb_plan',
    GROUP_OR_SUBPLAN => 'Mail_Postman_group',COMMENT => 'mail postman at
    level 1', CPU_P1 => 40, CPU_P2 => 0, PARALLEL_DEGREE_LIMIT_P1 => 4);
         DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(PLAN => 'maildb_plan',
    GROUP_OR_SUBPLAN => 'Mail_users_group',     COMMENT => 'mail users
    sessions at level 2', CPU_P1 => 0, CPU_P2 => 80,
         PARALLEL_DEGREE_LIMIT_P1 => 4);
         DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(PLAN => 'maildb_plan',
    GROUP_OR_SUBPLAN => 'Mail_Maintenance_group',COMMENT => 'mail
    maintenance users sessions at level 2', CPU_P1 => 0, CPU_P2 => 20,
         PARALLEL_DEGREE_LIMIT_P1 => 2);
         DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(PLAN => 'maildb_plan',
    GROUP_OR_SUBPLAN => 'OTHER_GROUPS', COMMENT => 'all other users
    sessions at level 3', CPU_P1 => 0, CPU_P2 => 0, CPU_P3 =>
         100);
         /* MYDB PLAN에 대한 DIRECTIVE 생성 */
         DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(PLAN => 'mydb_plan',
    GROUP_OR_SUBPLAN => 'maildb_plan', COMMENT=> 'all mail users
    sessions at level 1', CPU_P1 => 30);
         DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(PLAN => 'mydb_plan',
    GROUP_OR_SUBPLAN => 'bugdb_plan', COMMENT => 'all bug users sessions
    at level 1', CPU_P1 => 70);
         /* PLAN schema 작업 내용을 저장 */
         DBMS_RESOURCE_MANAGER.VALIDATE_PENDING_AREA();
         DBMS_RESOURCE_MANAGER.SUBMIT_PENDING_AREA();
         end;
    7. CONSUMER GROUP에 사용자나 세션을 할당하는 방법
         먼저 인스턴스에서 사용할 TOP Level resource plan 을 지정한다.
    initSID.ora에 RESOURCE_MANAGER_PLAN = MRDB_PLAN 지정이나 아래와 같이
    session level에 ALTER SYSTEM command를 사용하여 지정한다.
         ALTER SYSTEM SET RESOURCE_MANAGER_PLAN = MYDB_PLAN;
         그리고 SCOTT 계정에 BUG_ONLINE_GROUP과 BUB_BATCH_GROUP 에 속할 수 있는
    권한을 부여     
    DBMS_RESOURCE_MANAGER_PRIVS.GRANT_SWITCH_CONSUMER_GROUP ('SCOTT',
    'BUG_ONLINE_GROUP', TRUE);
         DBMS_RESOURCE_MANAGER_PRIVS.GRANT_SWITCH_CONSUMER_GROUP ('SCOTT',
    'BUG_BATCH_GROUP', TRUE);
         * DBMS_RESOURCE_MANAGER.SET_INITIAL_CONSUMER_GROUP( user in
    varchar2, consumer_group in varchar2);
         예)
         DBMS_RESOURCE_MANAGER.SET_INITIAL_CONSUMER_GROUP('SCOTT',
    'BUG_ONLINE_GROUP');
         SCOTT 계정을 BUG_BATCH_GROUP에 할당
         * DBMS_RESOURCE_MANAGER.SWITCH_CONSUMER_GROUP_FOR_SESS (
                             session_id IN NUMBER,
                             session_serial IN NUMBER,
                             consumer_group IN VARCHAR2);
         예)
         DBMS_RESOURCE_MANAGER.SWITCH_CONSUMER_GROUP_FOR_SESS( 11, 2,
    'BUG_ONLINE_GROUP');
         * DBMS_RESOURCE_MANAGER.SWITCH_CONSUMER_GROUP_FOR_USER (
                             user IN VARCHAR2,
                             consumer_group IN VARCHAR2);
         예)
         DBMS_RESOURCE_MANAGER.SWITCH_CONSUMER_GROUP_FOR_USER('SCOTT',
    'BUG_BATCH_GROUP');
    8. 관련된 Dictionary
    DBA_RSRC_PLANS : Resource plan과 status
    DBA_RSRC_PLAN_DIRECTIVES : Resource plan directives와 status
    DBA_RSRC_CONSUMER_GROUPS : Consumer group과 status
    DBA_RSRC_CONSUMER_GROUP_PRIVS : 사용자에게 부여된 Consumer group
    DBA_USERS : INITIAL_RSRC_CONSUMER_GROUP라는 새로운 column이 추가
    V$SESSION : RESOURCE_CONSUMER_GROUP라는 새로운 column이 추가
    V$RSRC_PLAN : 새로운 view로 active resource plan을 보여준다
    V$RSRC_CONSUMER_GROUP : 새로운 view로 consumer group의 active session
    을 보여준다.
    Reference Ducumment
    ---------------------

    user1 is the schema present in DB1
    user2 is the schema present in DB2. I just have a DB link
    as below:
    create database link link_to_DB2 connect to user2 identified by user2 using 'DB2';---Connects from user1 of DB1 to user2 of DB2.
    Requirement is as below:
    CPU for DB2 - 25%
    Out of above 25%, CPU for user2 - 70%
    CPU for user1 30% -- whenever it conncts using the link)
    Please help me out.

  • Database Resource Manager CPU levels

    Hi,
    I'd like to employ the Database Resource Manager to limit some user's sessions to a certain amount of CPU. After reading the documentation and an Oracle white paper, I'm still not clear on the difference between splitting the CPU allocation at level 1 to 70% and 30% or splitting the CPU allocation 70% at level 1 and 100% at level 2.
    Any clarification would be greatly appreciated.
    Regards,
    Jure

    what white paper did you read ??
    did you had a chance to look at oracle docs ??
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/dbrm.htm#i1010776
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/ch23_os.htm#BABCAGGJ

  • Please Help with Database Resource Manager 10g

    I want to implement Database Resource Manager 10g on HP-UX server.
    But, before to implement, I want to test the functionnality and the stability.
    Does anyone have a "test case" or any comment about DRM 10g?
    Thanks
    Robin

    A bit more info: Here is the connection script as its defined in Dreamweaver: <?php
    # FileName="Connection_php_mysql.htm"
    # Type="MYSQL"
    # HTTP="true"
    $hostname_karen_product = "localhost";
    $database_karen_product = "karen";
    $username_karen_product = "root";
    $password_karen_product = "root";
    $karen_product = mysql_pconnect($hostname_karen_product, $username_karen_product, $password_karen_product) or trigger_error(mysql_error(),E_USER_ERROR);
    ?>
    Where is says mysql_pconnect, I changed the $hostname_karen_product etc to 'localhost', 'username', 'the password for the database')
    Do i need to do something different at $database_karen_product?
    I'm basically new at this and confused as to how to alter this connection script.
    Thanks
    Derek

  • Does Oracle Database Resource Manager work at all?

    I have been testing Oracle Database Resource Management...
    Environment: OS IBM AIX 5L 64 bit core, DB Oracle8i 8.1.7.4 Enterprise Edition.
    To test, I followed the procedure in the Oracle Metalink Bulletin Note:106948., Oracle8i: Database Resource Manager samples.
    But I was not able to reproduce any succes. There seems to be no difference running with at plan and not running with af plan enabled.
    Does anydody know of a problem with the combination of Oracle and AIX, or any other problems that could explain why it doesn't work?
    /Jørn Hansen

    if the cpu is 100% loaded then you can see any affects..
    this is the way how oracle database resource manager works..
    Message was edited by:
    mkocaer

  • Over of using Database Resource Manager

    Hi All,
    I am currently, doing a research on Database Resource Manager for implementing it in one of the Warehouse project database. Before, implementing it I would like to know few things. My Question is:
    Q. Does using Database Resource Manager cause any overhead? Any extra background process? any extra CPU Usage overhead? Any resource cost of using Database Resource Manager? Does it have any impact on resources and does it impact performance of the database?

    Hi Madrid,
    Thank you for your reply. Currently, we are looking into to implement Resource Manager in a dataware house environment because there are some ad-hoc users who execute really bad queries which puts lot of load on the database server which in turn slows down the performance. And there are few other reasons too. I not the primary for that environment though. This Resource Manager came up we thought that it might help us in controlling the ad-hoc users bad queries and also the environment.
    I have one more question in regards to resource manager. I have written a shell script which generates a report for stats of a resource plan from V$RSRC_CONSUMER_GROUP - which has stats data. But my concern is it stores historical stats too. For example, I have implemented resource manager and ran some queries and generated report and terminated all the sessions.
    Next day when I again run some queries and generate a report it gives stats combined with previous days stats. Is there any solution for this? So, that I can generate a report for stats at a point of time. For OEM I can reset the stats and get most current stats but this is not the case with the view I mentioned above. Please let me know if there is any other alternative for this. Hope you got my question.

  • Database resource manager and RAC

    Hello,
    This is probably is very simple question, but...
    I have a system with mixed workloads (OLTP and BATCH). As many before, I want to prevent BATCH processes from impacting OLTP. I read about RAC and DRM, and how each could be used to assign resources to services.
    Do I need RAC to be able to use DRM? Or can I do DRM without RAC? Are they the same thing?
    Thanks in advance for your help.

    DRM provides control over resource management decisions on both oracle standard and clustered databases.
    pecifically, using the Database Resource Manager, you can:
    * Guarantee certain users a minimum amount of processing resources regardless of the load on the system and the number of users
    * Distribute available processing resources by allocating percentages of CPU time to different users and applications. In a data warehouse, a higher percentage may be given to ROLAP (relational on-line analytical processing) applications than to batch jobs.
    * Limit the degree of parallelism of any operation performed by members of a group of users
    * Create an active session pool. This pool consists of a specified maximum number of user sessions allowed to be concurrently active within a group of users. Additional sessions beyond the maximum are queued for execution, but you can specify a timeout period, after which queued jobs will terminate.
    * Allow automatic switching of users from one group to another group based on administrator defined criteria. If a member of a particular group of users creates a session that executes for longer than a specified amount of time, that session can be automatically switched to another group of users with different resource requirements.
    * Prevent the execution of operations that the optimizer estimates will run for a longer time than a specified limit
    * Create an undo pool. This pool consists of the amount of undo space that can be consumed in by a group of users.
    * Limit the amount of time that a session can be idle. This can be further defined to mean only sessions that are blocking other sessions.
    * Configure an instance to use a particular method of allocating resources. You can dynamically change the method, for example, from a daytime setup to a nighttime setup, without having to shut down and restart the instance.
    * Allow the cancellation of long-running SQL statements and the termination of long-running sessions.
    http://download-west.oracle.com/docs/cd/B14117_01/server.101/b10739/dbrm.htm#i1007556

  • Database resource Manage in 11g

    Hi,
    I need to check whether the resource manager in in use or not if it is enabled .
    can you please provide me any sqls fro that.
    Thanks
    Vijay

    Check out this in the documentation for the RESOURCE_MANAGER_PLAN parameter.
    RESOURCE_MANAGER_PLAN specifies the top-level resource plan to use for an instance. The resource manager will load this top-level plan along with all its descendants (subplans, directives, and consumer groups). If you do not specify this parameter, the resource manager is off by default.

  • Database Resource Manager (DRM)

    Is DRM beneficial when implemented within a single database on a Solaris server hosting multiple databases?
    Here's the scenario. The Soaris server is a 4 server CPU box that hosts 5 Oracle 10.x databases. During month-end, the payroll application and associated database (dB-1) slows down considerably due to queries in a second database (dB-2) that are consuming CPU. If I implement DRM in dB-2 and limit CPU usage to say 50%, concurrent active sessions, etc., will that make a difference in dB-1? Or is DRM only effective in managing resources within a single database.
    Other considerations are that all DML in dB-2 are using a generic account (package app), so there's no way to effectively use account profiles to limit query times.
    Thank you.

    This link may help you:
    http://www.databasejournal.com/features/oracle/article.php/3296961

  • Problem with database resource manager.

    Hello to all,
    I am using 10.2.0.1
    I am enterprise manager to assign user scott and hr to 'appuser' consumer group. I created a plan which specifies that appuser consumer group will be switched to sys_group after executing for 1 minute, but it is not being switched. Can u pls tell me where am I wrong.
    My query is running since few minutes, active session column regarding each consumer group in em dbconsole is showing 0.
    Geetanjali
    Edited by: sonidba on Sep 21, 2011 2:55 PM

    I am pasting the extract from em dbconsole.
    Consumer Group Switching
    Group     Maximum Execution Time (sec)     Switch back to original group after call?     Action To Take     Use estimate?
    APPUSER     60           Switch to Group SYS_GROUP     
    MARKETING     120          Switch to Group SYS_GROUP     
    OTHER_GROUPS     UNLIMITED          
    SYS_GROUP     UNLIMITED          
    appuser has scott and hr.
    marketing has sh user.
    These user is also having switch privilege to sys_group.
    details of hr-------------extract from emdbconsole consumer group switching privilege
    Consumer Group     Admin Option
    APPUSER     
    DEFAULT_CONSUMER_GROUP     
    DEVLOPER     
    SYS_GROUP     
    Default Consumer Group appuser     
    scott and sh has also same groups. After runing query for few minutes, my session is getting hanged
    Edited by: sonidba on Sep 22, 2011 10:50 AM

  • Database Resource Management

    Where have you gone?

    782718 wrote:
    what would happen if a user in DevEnv runs a poorly SQL statement that would normally consume 90% of the CPU again?If there are other consumer groups with 60% of CPU utilization allowed and they are using 60% of the CPU then users who belongs to DevEnv cannot use CPU more then 40%, their queries will become slower at their end but will not use CPU more then 40%.
    But if the other consumer groups are not using all of 60% CPU, lets say they are using only 20% , then users in DevEnv group may use 80% of the CPU if they need.
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28310/dbrm006.htm#BABIIIDF
    You could also think of using Oracle User Profile to limit certain users if it suits you.
    The PROFILE has two resource parameters related to CPU (CPU_PER_SESSION , CPU_PER_CALL). These are limits of CPU time, not the percentage of CPU allocated to the user.
    http://www.orafaq.com/wiki/Profiles_and_password_management

  • Using the Database Resource Manager

    Hi,
    in 10g R2,
    I have never used DBMS_RESOURCE_MANAGER. I have some questions about it :
    1-once activated by setting RESOURCE_MANAGER_PLAN = mydb_plan, would it work automatically ?
    If not :
    2-when a DBA switch a user ?
    3-if he does it when a user consumes many CPU, how can DBA see that ?
    Thanks.
    Any link to articles explaining use of DBMS_RESOURCE_MANAGER would be appreciated.

    user522961 wrote:
    Hi,
    in 10g R2,
    I have never used DBMS_RESOURCE_MANAGER. I have some questions about it :
    1-once activated by setting RESOURCE_MANAGER_PLAN = mydb_plan, would it work automatically ?
    If not :
    2-when a DBA switch a user ?
    3-if he does it when a user consumes many CPU, how can DBA see that ?
    Thanks.
    Any link to articles explaining use of DBMS_RESOURCE_MANAGER would be appreciated.Overview,
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/mgmt_db.htm#sthref2259
    Administering and using,
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/dbrm.htm#ADMIN027
    Dbms package info,
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_resmgr.htm#i996751
    HTH
    Aman....

  • RESOURCE MANAGER IN E-BUSINESS SUITE DATABASE

    Hi All,
    I have little problem with database resource manager in E-Business database.
    I have set up some resource plan, assigned consumer group and user APPS to this consumer group (of course it is new initial consumer group for that user). At instance level I've set up RESOURCE_MANAGER_PLAN to new plan.
    When I'm on console and use sqlplus, or from my workstation use SQLNavigator and connect as APPS - its resource_consumer_group column from v$session is set to desired new consumer group, but when I start application most of sessions connected as APPS are in DEFAULT_CONSUMER_GROUP - please advice, anyone has any ideas ???
    Best Regards
    Radek

    EBS installs come with the database packaged with the install. You do not need a separate database install. Pl post EBS related issues in the EBS forums at http://forums.oracle.com/forums/category.jspa?categoryID=3
    HTH
    Srini

  • Resource Manager in Cloud Control 12c still available?

    Hi ,
    is the Resource Manager in Cloud Control 12c still available? The Resource Manager could be found in Grid Control 10g under the tab Database -> Administration.
    Rgds
    JH

    Yes, in EM 12c you can navigate to the "Getting Started with Database Resource Manager" page by selecting Resource Manager from the Administration drop-down list in a database homepage. I believe, in EM 10g the Resource Manager link is in the Server tab.
    Regards,
    - Loc

  • Oracle Resource Manager function with SAP BI7

    Hi,
    Have anyone considered or using Oracle Database Resource Manager (Oracle 10.2) feature for SAP BI application in your site? I dont see a single OSS hit on this feature.
    We have a SAP BI system that has few power users (who can run large STAR_TRANSFORMATION queries that analyzes large volume of data) and the main user community (our sales force > 3000+ users) who can run smaller queries of such nature or queries of different types.
    We want to see if there is any way we can control the resource utilization on the database server.
    Thanks in advance,
    Raj

    > Of course, this would require an additional specifications such as SERVICE in the TNS and Listener files.
    Yes - but I'm not sure if that would give the necessary effect. Once the statement reaches the database kernel engine, it gets processed, no matter if you limit the TNS/listener usage because TNS is no more involved when the statement reaches the OLAP engine.
    > In the BI environment, I'm thinking you need this db feature to control database resources when loads and reports overlaps or even several small and large queries run concurrently despite however many app server a system has, all these come to the database.
    I think SAPs answer is: Buy a bigger box (or use RAC to distribute the load)
    > The big question is whether SAP would support such a setup.
    The feature is not listed explicitly in note 105047 - Support for Oracle functions in the SAP environment. I'd make a call at BC-DB-ORA and ask what they think about that.
    I understand your problem very well but I doubt, that there's an easy way of accomplishing this with standard tools.
    Markus

Maybe you are looking for

  • Making 4:3 look good for both 4:3 and 16:9 screens

    Hi, Up until this point I have lived my life in a pleasant 4:3 world. I shot 4:3 footage, edited 4:3 in FCP, sent 4:3 to DVDSP, checked my work on a 4:3 television, and mailed 4:3 DVDs to my customers. My understanding from playing around with a frie

  • Dates for Diary

    Hi, new to this so I'd like to thank you in advance for the help: I need to lay out an entire diary for print that is divided in 16th - 32 pages each. As any diary the pages, but not all of them, will display the date in a similar format to "10 Sept.

  • Getting IP address of sender

    Hello all, I am using Java Mail API to connect to a IMAP mailbox and read messages. Is it possible to get the IP address of the sender for every received message? If yes, please tell me how can I do that? Ankit

  • Forms Recognition - Sizing

    Hi, Does any one have sizing metrics for Oracle Forms Recognition? I need to know how big has to be the server to process 12k pages per month (about 600 per day). Thanks, Fabio

  • Error running forms 10g with OC4J

    Hi everyone, I installed Oracle DB 10g and Developer Suite 10g (did not install Ap. Server) at the same machine (different homes), everything seemed to be OK, I use sqlplus with no problems, then I did this: 1) Created a table with just one field 2)