Resource Manager Consumer Groups

I have implemented Database Resource Manager by creating new plan and new consumer groups. We are running oracle 9i. At database level it is active.
We are running 11.5.9 oracle applications. At the profile option "FND:Consumer Groups" of apps, in lov only two values are appearing but not those which I have created at the database level.
How to reflect these new consumer groups in 11i apps ?

Hi,
I have not tested it but i think a full db export/import (using data pump or traditional exp/imp) may help doing this (which might not be feasible for you to have full exp/imp) because full database mode exports/imports SYS schema objects also, so there is a chance that it will also import the resource group and resource plans.
Salman

Similar Messages

  • How to export resource manager consumer groups using Data Pump?

    Hi, there,
    Is there any way to export RM Consumer Groups/Mappings/Plans as part of a Data Pump export/import? I was wondering because I don't fancy doing it manually and I don't see the object in the database_export_objects view. I can create them manually, but was wondering whether there's an easier, less involved way of doing it?
    Mark

    Hi,
    I have not tested it but i think a full db export/import (using data pump or traditional exp/imp) may help doing this (which might not be feasible for you to have full exp/imp) because full database mode exports/imports SYS schema objects also, so there is a chance that it will also import the resource group and resource plans.
    Salman

  • 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.

  • Resource Consumer Group Change

    Hi,
    in 10g R2;
    scott is in LOW_GROUP :
    EXEC DBMS_RESOURCE_MANAGER.CREATE_PENDING_AREA;
      EXEC DBMS_RESOURCE_MANAGER.SWITCH_CONSUMER_GROUP_FOR_USER ('SCOTT', 'LOW_GROUP');
      EXEC DBMS_RESOURCE_MANAGER.SUBMIT_PENDING_AREA;
      EXEC DBMS_RESOURCE_MANAGER.CLEAR_PENDING_AREA;
      SELECT USERNAME,RESOURCE_CONSUMER_GROUP FROM V$SESSION where username='SCOTT';
    USERNAME                       RESOURCE_CONSUMER_GROUP
    SCOTT                          LOW_GROUPnow scott run the following long query from his sqlplus session :
    select * from sh.sales;And now :
      SELECT USERNAME,RESOURCE_CONSUMER_GROUP FROM V$SESSION where username='SCOTT';
    USERNAME                       RESOURCE_CONSUMER_GROUP
    SCOTT                          OTHER_GROUPSAny explanation ?
    Thank you.

    Hi,
    The Resource Manager can automatically switch a session to another consumer group when a certain condition is met.
    Automatic switching can occur when:
    A session attribute changes, causing a new mapping rule to take effect.
    A session exceeds the CPU or I/O resource consumption limits set by its consumer group.
    So i suppose in this case second condition might have fulfilled so you are seeing the change.
    Regards
    Anurag

  • Consumer Group/Resource Plan to use only one instance of a RAC

    What would be the way to create a Consumer Group/Resource Plan to use only one instance of a RAC? I have 10.1.0.5 database
    running on 10.1.0.5 RAC.
    Thanks,

    You should use "services" to limit workload to just one specific node of RAC:
    http://download.oracle.com/docs/cd/B14117_01/server.101/b10739/create.htm#sthref400

  • Automatic group switching and notification in Resource Manager

    We are creating resource plans that don't kill out-of-control processes, but automatically move them to a low-priority group for investigation. Is there a means by which a session which gets automatically switched can notify something else, like via a trigger, an email, or even just in an alert log message?
    Thanks in advance,
    Paul Hebert/SUNY ITEC

    Although this is an older message, I have been looking for the same type of behavior. In order to manage ad hoc queries, there is desire to monitor the behavior in order to fine tune the resource management. This is based on the really “bad” queries being stopped (KILLED).
    Of course this needs to be balanced with not preventing work from being done.
    Any thoughts or ideas are welcome.
    James

  • Resource Manager

    Hi All,
    I would like to implement resource manager via oracle service. Code is as follows:
    exec DBMS_RESOURCE_MANAGER.CREATE_PENDING_AREA();
    exec DBMS_RESOURCE_MANAGER.CREATE_PLAN(PLAN => 'my_plan',COMMENT => 'Resource plan/method for ERP Database');
    exec DBMS_RESOURCE_MANAGER.CREATE_CONSUMER_GROUP(CONSUMER_GROUP => 'normal',COMMENT => 'Resource consumer group/method for normal jobs');
    exec DBMS_RESOURCE_MANAGER.CREATE_CONSUMER_GROUP(CONSUMER_GROUP => 'adhoc',COMMENT => 'Resource consumer group/method for adhoc jobs');
    exec DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(PLAN => 'my_plan',GROUP_OR_SUBPLAN => 'normal', COMMENT => 'normal sessions');
    exec DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(PLAN => 'my_plan', GROUP_OR_SUBPLAN => 'adhoc', COMMENT => 'adhoc sessions');
    exec DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(PLAN => 'my_plan', GROUP_OR_SUBPLAN => 'OTHER_GROUPS', COMMENT => 'mandatory');
    EXEC DBMS_RESOURCE_MANAGER.SET_CONSUMER_GROUP_MAPPING(DBMS_RESOURCE_MANAGER.SERVICE_name , 'goslive', 'normal');
    EXEC DBMS_RESOURCE_MANAGER.SET_CONSUMER_GROUP_MAPPING(DBMS_RESOURCE_MANAGER.SERVICE_name , 'test', 'adhoc');
    exec dbms_resource_manager.set_consumer_group_mapping_pri(2, 7,1, 9, 8, 10, 5, 4, 3, 6);
    exec DBMS_RESOURCE_MANAGER.VALIDATE_PENDING_AREA();
    exec DBMS_RESOURCE_MANAGER.SUBMIT_PENDING_AREA();
    ALTER SYSTEM SET RESOURCE_MANAGER_PLAN = 'my_plan';
    But looks like it doesn't work. Any idea what i'm missing.
    Same code if I use with user name wise it works fine, as I can assign initial consumer group for the user. But not able to assign initial consumer group to the service.
    Please advice.
    Thanks,
    Hal.

    It seems that we need to grant the switch privileges with Oracle 10.2.
    If granting the switch privilege is not done, any connection is assigned to the OTHER_GROUPS resource consumer group.
    Here is my test case.
    Setup:
    bas002> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Prod
    PL/SQL Release 10.2.0.2.0 - Production
    CORE    10.2.0.2.0      Production
    TNS for 32-bit Windows: Version 10.2.0.2.0 - Production
    NLSRTL Version 10.2.0.2.0 - Production
    bas002>
    bas002> ALTER SYSTEM SET RESOURCE_MANAGER_PLAN = '';
    System altered.
    bas002> begin
      2  DBMS_RESOURCE_MANAGER.CREATE_PENDING_AREA();
      3  DBMS_RESOURCE_MANAGER.DELETE_PLAN_CASCADE('MY_PLAN');
      4  DBMS_RESOURCE_MANAGER.SUBMIT_PENDING_AREA();
      5  end;
      6  /
    PL/SQL procedure successfully completed.
    bas002> show errors
    No errors.
    bas002>
    bas002>
    bas002>
    bas002> alter system set service_names='TEST, GOSLIVE';
    System altered.
    bas002>
    bas002> begin
      2  DBMS_RESOURCE_MANAGER.CLEAR_PENDING_AREA();
      3  DBMS_RESOURCE_MANAGER.CREATE_PENDING_AREA();
      4  DBMS_RESOURCE_MANAGER.CREATE_PLAN(
      5          PLAN => 'MY_PLAN',
      6          COMMENT => 'Resource plan/method for ERP Database');
      7  DBMS_RESOURCE_MANAGER.CREATE_CONSUMER_GROUP(
      8          CONSUMER_GROUP => 'NORMAL',
      9          COMMENT => 'Resource consumer group/method for normal jobs');
    10  DBMS_RESOURCE_MANAGER.CREATE_CONSUMER_GROUP(
    11          CONSUMER_GROUP => 'ADHOC',
    12          COMMENT => 'Resource consumer group/method for adhoc jobs');
    13  DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(
    14          PLAN => 'MY_PLAN',
    15          GROUP_OR_SUBPLAN => 'NORMAL',
    16          COMMENT => 'normal sessions');
    17  DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(
    18          PLAN => 'MY_PLAN',
    19          GROUP_OR_SUBPLAN => 'ADHOC',
    20          COMMENT => 'adhoc sessions');
    21  DBMS_RESOURCE_MANAGER.CREATE_PLAN_DIRECTIVE(
    22          PLAN => 'MY_PLAN',
    23          GROUP_OR_SUBPLAN => 'OTHER_GROUPS',
    24          COMMENT => 'mandatory');
    25  DBMS_RESOURCE_MANAGER.SET_CONSUMER_GROUP_MAPPING(
    26          DBMS_RESOURCE_MANAGER.SERVICE_NAME , 'GOSLIVE', 'NORMAL');
    27  DBMS_RESOURCE_MANAGER.SET_CONSUMER_GROUP_MAPPING(
    28          DBMS_RESOURCE_MANAGER.SERVICE_NAME , 'TEST', 'ADHOC');
    29  DBMS_RESOURCE_MANAGER.VALIDATE_PENDING_AREA();
    30  DBMS_RESOURCE_MANAGER.SUBMIT_PENDING_AREA();
    31  end;
    32  /
    PL/SQL procedure successfully completed.
    bas002> show errors
    No errors.
    bas002>
    bas002> begin
      2  DBMS_RESOURCE_MANAGER_PRIVS.GRANT_SWITCH_CONSUMER_GROUP('O', 'NORMAL', false);
      3  DBMS_RESOURCE_MANAGER_PRIVS.GRANT_SWITCH_CONSUMER_GROUP('O', 'ADHOC', false);
      4  end;
      5  /
    PL/SQL procedure successfully completed.
    bas002> show errors
    No errors.
    bas002>
    bas002> ALTER SYSTEM SET RESOURCE_MANAGER_PLAN = 'MY_PLAN';
    System altered.Connection tests:
    bas002> select username, service_name, resource_consumer_group from v$session where username ='O';
    USERNAME
    SERVICE_NAME
    RESOURCE_CONSUMER_GROUP
    O
    TEST
    ADHOC
    bas002> select username, service_name, resource_consumer_group from v$session where username ='O';
    USERNAME
    SERVICE_NAME
    RESOURCE_CONSUMER_GROUP
    O
    goslive
    NORMAL.

  • RESOURCE MANAGER IN E-BUSINESS SUITE

    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

    ADF requires Java EE 5 compatible server - OC4J doesn't meet these requirements.
    You can upgrade your EBS to run on WebLogic, and then you can use the same server for both ADF and EBS.

  • 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 statistics

    Hi Gurus,
    i need to implement Resource Manager on a 10GR2 database. I will create 2 windows with a different resource manager plan to each of them. I have some questions about this:
    1. Is a default plan mandatory in the init.ora ?
    2. Is it the same to use an "alter system set resource_manager_plan= ..." or the function "switch_plan" to change the current plan ?
    3. When you change to a new plan, are statistics of the old plan saved ? and can we reuse them when we switch back to the old plan ?
    4. is the order "alter system set resource_manager_plan=''; reinitiate statistics to 0 ?
    5. are there some limits to the number of Resource Consumer Group, priority level, sub-plan ?
    Thank's so much.

    BlueR wrote:
    Hi Gurus,
    i need to implement Resource Manager on a 10GR2 database. I will create 2 windows with a different resource manager plan to each of them. I have some questions about this:
    1. Is a default plan mandatory in the init.ora ?
    2. Is it the same to use an "alter system set resource_manager_plan= ..." or the function "switch_plan" to change the current plan ?
    3. When you change to a new plan, are statistics of the old plan saved ? and can we reuse them when we switch back to the old plan ?
    4. is the order "alter system set resource_manager_plan=''; reinitiate statistics to 0 ?
    5. are there some limits to the number of Resource Consumer Group, priority level, sub-plan ?
    Thank's so much.1-2:
    {code}
    SQL> show parameter resource
    NAME TYPE VALUE
    resource_limit boolean FALSE
    resource_manager_cpu_allocation integer 1
    resource_manager_plan string
    SQL> BEGIN
    dbms_resource_manager.clear_pending_area();
    dbms_resource_manager.create_pending_area();
    dbms_resource_manager.create_plan( 'MYRESPLAN1', '');
    dbms_resource_manager.create_plan_directive(
    plan => 'MYRESPLAN1',
    group_or_subplan => 'OTHER_GROUPS',
    comment => '',
    cpu_p1 => NULL, cpu_p2 => NULL, cpu_p3 => NULL, cpu_p4 => NULL,
    cpu_p5 => NULL, cpu_p6 => NULL, cpu_p7 => NULL, cpu_p8 => NULL,
    parallel_degree_limit_p1 => NULL,
    active_sess_pool_p1 => NULL,
    queueing_p1 => NULL,
    switch_group => '',
    switch_time => NULL,
    switch_estimate => false,
    max_est_exec_time => NULL,
    undo_pool => NULL,
    max_idle_time => NULL,
    max_idle_blocker_time => NULL,
    switch_time_in_call => NULL
    dbms_resource_manager.submit_pending_area();
    END;
    PL/SQL procedure successfully completed.
    SQL> BEGIN
    DBMS_RESOURCE_MANAGER.CREATE_PENDING_AREA;
    DBMS_RESOURCE_MANAGER.SWITCH_PLAN(plan_name=>'myresplan1');
    DBMS_RESOURCE_MANAGER.CLEAR_PENDING_AREA;
    END;
    PL/SQL procedure successfully completed.
    SQL> show parameter resource
    NAME TYPE VALUE
    resource_limit boolean FALSE
    resource_manager_cpu_allocation integer 1
    resource_manager_plan string myresplan1
    {code}
    3-4: pls, what you mean statistics?

  • 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.

  • Switching Consumer Groups

    Dear All,
    I had already posted my query as below but had not got appropriate answer so i am asking this question again which is as follows :
    how can i give preference to a prticular SID ?
    e.g :
    SID = 76
    There are other many Session running simultaneoulsy. I want to allow SID = 76 to execute SQL first inspite of the other session running previous to SID 76.
    The reply that i got was
    <<
    You can do this two ways that I know.
    Firstly use resource consumer groups and switch your active process into a higher prio group.
    Secondly if you use Unix? Renice the process to a higher priority.
    >>
    I tried 1st option to switch the group from Oracle Enterprise Manager but it was giving me error.
    I still not clear whether you give switch group authority when you create the user or you can there is some other way.
    I also saw help in OEM but the concept is still not clear.
    Ultimately while executing the session that i select has to get the highest priorirty. If anyone can explain with an example it would be great.
    Thanking you in anticipation.
    Best regards,
    Devendra

    If you are using resource manager to do this in 10g R2 it is failing miserably as oracle agreed that its a problem. 11g it is working perfectly.

  • Sys_group and resource manager

    Hello.
    How much CPU % and at which level should I allocate to SYS_GROUP consumer group?
    1. Should I allocate 100% CPU to SYS_GROUP at level 1 and distribute CPU at level 2 to users
    2. Should I not mention SYS_GROUP in resource plan?

    In setting up a resource manager plan it is very important that you set the system DBA's in the highest priority group for situations where it is needed the most. If your database started to get hung due to extensive queries and you as the DBA want to go in and diagnose or monitor the database then you wouldn't want your diagnostic queries to wait for CPU allocation. If you are not in the higher group and all the machine resources are busy then even login to the database could take a lot of time yet alone trying to diagnose or kill any query.
    It is also important that if you set these accounts to the top most group then you should write very efficient SQL's to monitor your database (if you aren't using any standard product such as Enterprise Manager). Otherwise such could cause impact on the business queries.
    Now the question regarding how much to assign them - it all depends on your business requirements. You have to design your own resource management as per the business objectives. In some situations people configure them as follows:
    Level 1 - CPU 100% other directives UNLIMITED. Consumers SYS, SYSTEM, any other SYSDBA accounts and accounts like SYSMAN, DBSNMP
    Level 2 - CPU 100% other directives either UNLIMITED or CONSTRAINEd. Consumers all other accounts in the database.
    Or you can further split the users between Level 2 till last available level.
    IF you don't mention the SYS_GROUP in your plan it will be categorized by Oracle as OTHER_GROUPS and will be given the least priority.
    Edited by: syedleo on 12/07/2009 21:32

  • Resource Manager Understanding

    Hi DBA,
    While going through the documents of Oracle Resource Manager , I have a Resource Plan execution can be based on CPU or Forcefully. Means Once the CPU utilization reaches 100% only then resource plan comes into the picture or we can forced it even it is not 100%.
    My doubt is if I allocate a 100% CPU to resource manager plan by creating the consumer group and we are forcing that resource plan,
    If some other application is running on the servers what will be impact on that application, does that application get the CPU.What will the impact on internal system processing (Kernels). How the CPU is going to be distributed ?
    I understand that 100% CPU utilization on a server is different thing and that causes the performance issue.
    Regards
    Sourabh Gupta

    Hi,
    During the month end activity , In our Project CPU and IO utilization increases( Almost Doubled) , since some reports required by business fired.
    We want to implement resource plan for that users.
    Suppose I create two Consumer group Full_MONTH and Month_end and create a plan.
    If I assign 80% CPU to full_month consumer and 20% to Month_end Consumer and forcing this plan to run as mentioned yesterday .
    So I want to understand if I implement above plan in the Resource Manager , What will be the impact on Other application and Server Processing.
    Since I forcing to Give 100% CPU to my resource manager plan.
    Thanks and Regards
    Sourabh Gupta

  • Apps use of Resource Manager

    We have a client that would like to limit system resources utilized within the Apps (11.5.10.2) so that a group of users does not run a request that brings the system to a standstill. I know that the individual request should be setup to minimize this possibility, but I'm wondering if the database Resource Manager can be utilized to limit resource for users in Apps?
    Thanks,
    Brian

    You are supposed to be able to use the Database Resource Manager Integration for this, page 69 of Ahmed Alomari's Open World talk. When configured, set the FND: Resource Consumer Group profile option for certain responsibilities or users.
    Database Resource Manager Integration
    • Define Resource Consumer Groups and associate specific concurrent programs with a resource group.
    • Allows an administrator to constrain the amount of CPU resources used by a concurrent program.
    • Resource Groups can also be defined for online users and concurrent requests using the profile:
    • "FND: Resource Consumer Group".
    • Useful for Discoverer users or ad-hoc reporting users.
    Tuning Oracle E-Business Suite
    http://www28.cplan.com/cbo_export/PS_S281393_281393_139-1_FIN_v1.pdf
    Session Abstract:
    This presentation offers tips and techniques on tuning all the layers of the Oracle E-Business Suite stack, including the suite's various tiers, namely, the data server and the middle-tier services, such as Oracle Forms, Oracle's concurrent managers, Apache JServ, Oracle Java virtual machine, and Oracle Discoverer. The presentation also covers applications-level-tuning solutions, such as Oracle Workflow, Oracle Order Management, and Oracle Payroll.
    Speakers: Ahmed Alomari, Oracle
    Username: cboracle
    Password: oraclec6

Maybe you are looking for

  • L7680 not printing all the black, please help!

    I've got a HP L7680 that has original cartridges, in date etc etc but as of yesterday evening was missing bits of the black text when printing. The colour text was fine, but horizontally black bits were missing about a 1/3 and 2/3 of the way down, an

  • EXport Jitter for H.264

    I am hoping someone can help because I am baffled... I create a project in CS5 using P2 footage shot from an HVX200 camera - 1280x720 - 29.97fps. The footage appears as 960x720 in project. I finished the project and hit File-Export-Media. In the enco

  • How do I get custom hardware approval for iPad-app?

    Hi! The company I´m working at is in pre-production on an app project for which we would like to manufacture an optional hardware controller. We have read all the app store review guidelines, and we can´t see any reason as to why the project shouldn'

  • Report Painter Language Translation

    Hi, I have tried to taranslate a report painter from english to spanish using GRRT. When i executed GRRT, i have chosen my report as the translation object and it gave me a status message as "Operation performed successfully". But, the report is not

  • IPhone will not appear as device in iPhoto

    All of a sudden my iPhone 5 will no longer appear as a device in iPhoto 9.5.1 I just want to import photos to iPhoto from my iPhone - I've been doing this for years! Ideas?