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

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.

  • Resource manager and images being rewritten in the project root

    Hi everybody,
    I began using the Resource Manager, and I created two folders, one with HTML files (topics), and another one with pictures present in those topics.
    As I transferred the topics to the HTML shared folder the pictures references remained the old ones, i.e. the ones inside the project folder, right?
    Therefore I began reassigning the pictures to the ones copied in the pictures shared folder, and here begins to be a little bit illogical and difficult.
    I deleted the pictures from the original project folder as I want to save the space and have, of course, the pictures only in the shared folder, however after I reassign the pictures to one of the topics, and I sync it, the pictures I deleted appear in the root folder of the project.
    I wanted to have the "common" pictures (they appear in 2 different projects) only in the shared folder (declared as pictures folder in Resource Manager) because if I do a modification of one picture, I would like to have this modification propagated in the second project, right?
    And also save some space, as it does not make any sense to me to have the same pictures in 2 places (double space consumed) when I can have them in only one folder.
    I would like to know how I can avoid this recopying of the picture files in my project folder, if possible.
    The procedure I used was:
    1. Found out which are the common topics for the 2 projects and copied them in the Resource Manager shared folder for HTML files.
    2. Found out which pictures were on those topics and copied them in the Resource Manger shared folder for pictures
    3. I included the shared topics into the project, and reassigned the pictures to the ones that are in the Resource Manager shared pictures folder
    4. I saved the topic, and did a sync in the Resource Manger
    Did I do something wrong here?
    Thank you.

    The repository has all the images you may want to use in any of your projects or elsewhere.
    Each time you link in a project, that image only is copied to the project, not the whole repository. If either copy changes, you are notified. You then have the choice of updating the out of date copy or breaking the link because for some reason you now want the difference.
    Your statement "I saw that if I use an external directory to the actual project where I have pictures, RoboHelp will copy those into the project's folder" is not correct. The Resource pod will show all the images available in the repository but only the ones in used in the project are copied locally.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Resource Manager and Images

    Hi,
    I upgraded to RH9 (from RHX5) and very happily started to use both the Snippet and Resource Manager functionality.
    I seem to have hit a mental block despite reading the help and looking up this forum regarding updating images in the resource manager .....
    I have multiple projects and the same image is used throughout the projects - sometimes only once in a project and sometimes multiple times in the same project.
    Lets say this image is called Picture1.gif - due to program re-design I now need to update Picture1.gif.
    Picture1.gif is stored in Resource Manager and as it is linked then a copy is also stored in my project.
    I delete the old image, create a new image, rename it to the original name Picture1.gif and drag it to Shared Resources and then drag it back again so that it is linked.
    Despite the back and forth steps this does in fact work - the image is updated in other projects as expected.
    However, if an image appears in a project multiple times then I have to change it everywhere before I can rename it,  etc. etc.
    I feel quite sure that I am missing something here and that the whole process should be simpler!!
    I would have expected somehow to be able to update the image in the resource manger and then sync.
    TIA
    Morven

    Hi Morven
    In my own experience, it really shouldn't matter where you update the image, as the Resource Manager is a two way street. If you update in RoboHelp, it should be sensed and the updated image copied from your project to replace and update the centralized image. And likewise, if you update the centralized image, Resource Manager should update your project to match the updated centralized image.
    Again, I woudn't want to first delete the image followed by saving a new one using the same name. I would either open one of them (centralized or project) and edit as needed. Or edit a copy, make edits, then save using the same file name so the existing image is replaced.
    To the best of my knowledge, Resource Manager should sense the change as the date/time stamp should be different as well as possibly the size. Then the automation should kick in to update the image's counterpart and synchronize everything nicely. The only fly in this ointment would be if the new image were different in size from the pixel measurement standpoint. If the new image is wider or taller or narrower or shorter, you would need to ensure that you reset the sizes in your project so they match the new dimensions. Otherwise they will be a bit skewed and have the fun house effect. I believe RoboHelp supplies a script for this.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Resource Management and Solaris Zones Developer Guide

    Solaris Information Products ("Pubs") is creating a
    developer guide for resource management and Solaris Zones.
    The department is seeking input on content from application
    developers and ISVs.
    We plan to discuss the different categories of applications
    that can take advantage of Solaris resource management
    features, and provide implementation examples that discuss
    the particular RM features that can be used.
    Although running in a zone poses no differences to most
    applications, we will describe any possible limitations and
    offer appropriate workarounds. We will also provide
    information needed by the ISV, such as determining
    the appropriate system calls to use in a non-global zone.
    We plan to use case studies to document the zones material.
    We would like to know the sorts of topics that you would
    like to see covered. We want to be sure that we address
    your specific development concerns with regard to these
    features.
    Thank you for your comments and suggestions.

    Hi there, i'm using solaris resource management in a
    server with more thant 2thousand acounts.
    Created profiles for users, defaul, staff, root and
    services.Seeing the contents of your /etc/project file could be helpful.
    But while using rctladm to enable syslog'ing, I set up
    global flags of "deny" and "no-local-action" in almos
    everything.The flags on the right hand side of the rctladm(1M) output are read-only:
    they are telling you the characteristics of the resource control in question (what
    operations the system will allow the resource control to take).
    Now, many aplications don't work because they are
    denied enough process.max-stack-size and
    process.max-file-descriptor for them to work.
    Applications such has prstat.If prstat(1) is failing due to the process.max-file-descriptor control value, that's
    probably a bug. prstat(1) is more likely bumping into the limit to assess how many file
    descriptors are available, and then carrying on--you're just seeing a log message since
    prstat(1) tested the file descriptor limit, and you've enabled syslog for that control. Please
    post the prstat(1) output, and we'll figure out if something's breaking.
    I don't find a way to disable the global flags. You can't. I would disable the syslog action on the process.max-stack-size control first;
    there is an outstanding bug on this control, in that it will report a false triggering event--
    no actual effect to the process. (If you send me some mail, I will add you as a call record
    on the bug.)
    Can anyone tell me:
    how to disable global flags?
    how to disable and enable solaris resource management
    all together?You could raise all of the control values, but the resource control facility (like the resource
    limit facility it superseded) is always active. Let's figure out if you're hitting the bug I mentioned,
    and then figure out how to proceed.
    - Stephen
    Stephen Hahn, PhD Solaris Kernel Development, Sun Microsystems
    [email protected]

  • Oracle 10g database as Resource manager and heuristic transaction decision

    Hi,
    I have read in documents about distributed tarnsaction that resource manager like oracle databasecthat are involved in distributed transaction can take heuristic decision(unilateral decision) and can either rollback or commit the transaction associated with itself without having confirmation from the transaction manager.
    I want to know how a resource manager take this unilateral decision and can we set this as parameter either in resource manager or in application server.
    Thanks in advance

    Hi,
    Following are some links to documents.
    Handling Heuristic Completions
    http://edocs.bea.com/wls/docs81/ConsoleHelp/jta.html
    A heuristic completion (or heuristic decision) occurs when a resource makes a unilateral decision during the completion stage of a distributed transaction to commit or rollback updates. This can leave distributed data in an indeterminate state. Network failures or resource timeouts are possible causes for heuristic completion. In the event of an heuristic completion, one of the following heuristic outcome exceptions may be thrown:
    HeuristicRollback—one resource participating in a transaction decided to autonomously rollback its work, even though it agreed to prepare itself and wait for a commit decision. If the Transaction Manager decided to commit the transaction, the resource's heuristic rollback decision was incorrect, and might lead to an inconsistent outcome since other branches of the transaction were committed.
    HeuristicCommit—one resource participating in a transaction decided to autonomously commit its work, even though it agreed to prepare itself and wait for a commit decision. If the Transaction Manager decided to rollback the transaction, the resource's heuristic commit decision was incorrect, and might lead to an inconsistent outcome since other branches of the transaction were rolled back.
    HeuristicMixed—the Transaction Manager is aware that a transaction resulted in a mixed outcome, where some participating resources committed and some rolled back. The underlying cause was most likely heuristic rollback or heuristic commit decisions made by one or more of the participating resources.
    2. Understanding EJB Transaction
    http://www2.sys-con.com/itsg/virtualcd/Java/archives/0504/tyagi/index.html
    Unilateral Decisions
    The transaction manager allows certain heuristic or speculative decisions to be made based on the state of all participating resources in a transaction and the underlying two-phase commit protocol. A heuristic decision occurs when one of the resources in the transaction unilaterally decides to commit or roll back the transaction without permission from the transaction manager
    3. Oracle® Containers for J2EE
    http://download.oracle.com/docs/cd/B31017_01/web.1013/b28958.pdf
    Heuristics
    To achieve consensus, two-phase commit is a blocking protocol. This means that, if a coordinator fails before delivering the final phase messages, the participants must remain blocked, holding onto resources. Modern transaction systems add heuristics to two-phase commit, which allows such participants to make unilateral decisions about whether they will commit or rollback. If a participant makes a choice that turns out to be different from the one taken by other participants, then non-atomic behavior occurs.
    I got this problem while trying to do a distributed J2EE tarnsaction with two XA (one MQ and other Oracle 10g database XA) and one non-xa (oracle 10g database). According to above docs a resource manager can decide tarnsaction final state unilaterally and that can result in unatomic transaction.
    Do oracle also make such decision and if yes then on what ground it takes decision? Can we change this according to our requirement either always rollback/commit anywhere as parameter setting?
    Thanks

  • 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

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

  • CRM 7 Marketing Resource Management and BI

    Hello Gurus,
    we want to use the scenario for marketing resource management with integrated BI.
    Unfortunately in customizing and SAP Help only the connection to SAP BI BPS is described.
    As far as I know BPS is an old tool. What about the use of BI-IP or BPC?
    If you any information on that, I would be happy if you share it with me.
    Thanks a lot and kind regards
    Hannes

    Yes, Marketing resource management (MRM) is about managing all the resources required in marketing - money/budgets, time and resources (people, assets, etc.) and improving efficiency.
    Defined by analysts as "a set of processes and capabilities that aim to enhance a company's ability to coordinate and optimize the use of internal and external marketing resources. MRM applications facilitate planning and budgeting, they coordinate execution and measure the impact of marketing efforts."
    So, it goes beyond scenario planning and also includes budgeting, digital asset management, workflows, etc.
    Refer to this link for documentation:
    [http://help.sap.com/saphelp_crm70/helpdata/en/e0/4017b12a414e50bde6eb17b4b1233e/frameset.htm|http://help.sap.com/saphelp_crm70/helpdata/en/e0/4017b12a414e50bde6eb17b4b1233e/frameset.htm]
    Let me know if you need any additional information.
    Anik

  • 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

  • Resource management and information about material.

    The system enables the management of resources and information about materials, vendors and stocks in the data base quickly. How is this made?
    I.   Through individual researches of Purchase Orders.
    II.  Through the display or issue of reports and/or analysis (monitoring the PO history and stocks balance).
    III.  Through the invoice Verification process.

    Hi,
    Probably all of mentioned in some extent - depends, which data system needs.
    regards,
    wojciech

Maybe you are looking for

  • Events created in iPhone not showing up in iCal

    The reason for the problem is that Tiger and Leopard used different places to store iCal calendar information only clearing out BOTH and starting fresh will ensure no old calendars from Tiger get in to corrupt the new Leopard ones. Tiger stored calen

  • Pipes, host function

    Hello, I upgraded a app from 4.5 to 10g, where oracle pipes was used to execute OS operation, now i've to replace it with host function, does anyone knows where i can gather some documentation, information with this topics. Please help, it's very urg

  • Firefox is not reproducing the colors of a JPG correctly (IE is fine)

    I'm designing a website, so I care about this. The problem is the display of a critical background on the site which is based on a smoothly dithered JPG image. I have 4 test cases for this particular dithered jpg image: 1) Win 7 64-bit Firefox (v5.0

  • FireFox directedme to buy "Win 7 Anti-virus 2011" because it was infected; did I became a victim of a scam?

    I am using Windows & Firefox 4 A series of warning flashed (bearing a shield logo with '4 -colors') says Firefox was hijacked and infected with virus , and has 14(?) Trojan and cannot be cleared until I register (pay $59) to activate "Win 7 Anti-Viru

  • Career Path & Competency Profile

    Hi All .... I want to ask : 1. How I can Define Career Path in Oracle ? 2. Why we are use Career Path ? 3. Consider this Secnario: I link specific position to a specific competency using competene requirment but: A) Why i cant see attach any grade on