Add consumer group to System Plan

I am trying to write a SQL statement that will do the following:
2. Add the APPUSER consumer group to the SYSTEM_PLAN resource plan. Change the level 3 CPU resource allocation percentages: 60% for the APPUSER consumer group and 40% for the LOW_GROUP consumer group.
SQL>BEGIN
DBMS_RESOURCE_MANAGER.CREATE_SYSTEM_PLAN (SYSTEM_PLAN => ‘system_plan’,
CONSUMER_GROUP1 => ‘APPUSER’, GROUP1_CPU3 => 60,
CONSUMER_GROUP2 => ‘LOW_GROUP’, GROUP2_CPU3 => 40);
END;
When executing the statement, I get the following error message:
Error message:
ERROR at line 2:
ORA-06550: line 2, column 23:
PLS-00302: component 'CREATE_SYSTEM_PLAN' must be declared
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
Can someone tell me what I am doing wrong?
I appreciate the help.

Yes, you are correct. I misunderstood what I was reading. I thought in the example they were naming the plan. I will revise and see what happen.
SQL>BEGIN
DBMS_RESOURCE_MANAGER.CREATE_SIMPLE_PLAN (SIMPLE_PLAN => ‘system_plan’,
CONSUMER_GROUP1 => ‘APPUSER’, GROUP1_CPU3 => 60,
CONSUMER_GROUP2 => ‘LOW_GROUP’, GROUP2_CPU3 => 40);
END;
When executing the statement, I get the following error message:
Error message:
ERROR at line 2:
ORA-06550: line 2, column 1:
PLS-00306: wrong number or types of arguments in call to 'CREATE_SIMPLE_PLAN'
ORA-06550: line 2, column 1:
PL/SQL: Statement ignored
Edited by: 976505 on Mar 6, 2013 1:53 PM

Similar Messages

  • DBMS_RESOURCE_MANAGER - consumer group members?

    Hi,
    I am a beginner in DBMS_RESOURCE_MANAGER. I would like to make a multi level plan in this feautre. I make the consumer groups for the plans, but I don't know how can I define the members of these consumer groups?
    How does Oracle know which users are the members of these groups?
    Using simple database users and schema users too, I would like to take these users into these groups but I don't know how.
    Please help what is the method to do this! How can I write this?
    And another problem: Is it possible that a user is a member of two or more consumer group?
    Regards
    Steve

    Use dbms_resource_manager_privs.grant_switch_consumer_group,orcl> desc dbms_resource_manager_privs
    PROCEDURE GRANT_SWITCH_CONSUMER_GROUP
    Argument Name                  Type                    In/Out Default?
    GRANTEE_NAME                   VARCHAR2                IN
    CONSUMER_GROUP                 VARCHAR2                IN
    GRANT_OPTION                   BOOLEAN                 IN
    PROCEDURE GRANT_SYSTEM_PRIVILEGE
    Argument Name                  Type                    In/Out Default?
    GRANTEE_NAME                   VARCHAR2                IN
    PRIVILEGE_NAME                 VARCHAR2                IN     DEFAULT
    ADMIN_OPTION                   BOOLEAN                 IN
    PROCEDURE REVOKE_SWITCH_CONSUMER_GROUP
    Argument Name                  Type                    In/Out Default?
    REVOKEE_NAME                   VARCHAR2                IN
    CONSUMER_GROUP                 VARCHAR2                IN
    PROCEDURE REVOKE_SYSTEM_PRIVILEGE
    Argument Name                  Type                    In/Out Default?
    REVOKEE_NAME                   VARCHAR2                IN
    PRIVILEGE_NAME                 VARCHAR2                IN     DEFAULT
    orcl>and yes, a user can be in many groups but only one group membership is acitve at any time.

  • 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

  • I am planning on buying an iPad 4 16GB, So I wanted to ask that after taking out the storage consumed by the system and system apps, How much storage will I be left with?

    I am planning on buying an iPad 4 16GB, So I wanted to ask that after taking out the storage consumed by the system and system apps, How much storage will I be left with?

    16GB vs 32GB vs 64GB: Which new iPad storage capacity should you get?
    http://www.imore.com/2012/03/08/16gb-32gb-64gb-ipad-capacity/
    How much content will fit on my iPod or iPhone?
    http://support.apple.com/kb/HT1867
     Cheers, Tom

  • How to create a site and add security groups through code: scripts, csom, ... ?

    Hi,
    I'm new to CSOM and are looking for a way to create sites in SharePoint Office365 and especially add user to it with a specific role eg. 'visitor' or 'owner'.
    I use this code to add sites from a csv file, so far so good.
    But now I want to add security groups based on the csv file and assign a role. The security groups allready exists.
    and also how to add a user with a 'owner' role for some sites.
    That would make my life easier :-)
    so thank you in advance!
    # load assemblies
    #[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client")
    #[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client.Runtime")
    Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll"
    Add-Type -Path "c:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.Runtime.dll"
    # site collection
    $siteUrl = “https://mysharepoint.com”
    # admin
    $username = "[email protected]"
    $password = Read-Host -Prompt "Enter password" -AsSecureString
    # get clientcontext as object
    $ctx = New-Object Microsoft.SharePoint.Client.ClientContext($siteUrl)
    # assign credentials to clientcontext object
    $credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($username, $password)
    $ctx.Credentials = $credentials
    # create site from template 'teamsite' => STS#0
    $data = Import-Csv "c:\tools\CSOM\vakwerking_test.csv"
    foreach ($row in $data) {
    $webCreationInformation = New-Object Microsoft.SharePoint.Client.WebCreationInformation
    $webCreationInformation.Url = $row.vakwerkingurl
    $webCreationInformation.Title = $row.vakwerkingnaam
    $webCreationInformation.WebTemplate = "STS#0"
    $webCreationInformation.UseSamePermissionsAsParentSite = $false
    $newWeb = $ctx.Web.Webs.Add($webCreationInformation)
    Write-Host "Title" $newWeb.Title
    #send to sharepoint
    $ctx.Load($newWeb)
    $ctx.ExecuteQuery()

    Hi,
    The command above about creating a group only works for the root site of the site collection, because the scope of the user group is site collection level, these groups
    can be used in all the sites in this site collection.
    With the existing groups in the root site, we can add users into them and grant specific permissions of a specific sub site to these groups.
    Here is a demo about how to assign permission to a group using Client Object Model(though in C#) for your reference:
    http://www.c-sharpcorner.com/UploadFile/54db21/set-permission-to-group-in-sharepoint-2010-programmatically/
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • 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

  • Sun Cluster 3.0 Veritas Volume manager add a new file system

    Hello people recently in need add a new file system to my Solaris cluster installation ( with oracle 8), but I have some dudes about the correct procedure for this.
    I put the procedure:
    Ok:
    /etc/vx/bin/vxdisksetup -i c4t1d1
    /usr/sbin/vxdg -g space-dg adddisk space07= c4t1d1s2
    /etc/vx/bin/vxdisksetup -i c4t1d2
    /usr/sbin/vxdg -g space-dg adddisk space08= c4t1d2s2
    /usr/sbin/vxassist -g space-dg make vol3-space 70686720 layout=striped stripeunit=128 alloc="space07 space08"
    mkfs -F vxfs /dev/vx/rdsk/space-dg/vol3-space
    In this point I update my dginfo in the active node of my cluster
    scconf -c -D name=space-dg,sync
    Add in all node /etc/vfstab)
    /dev/vx/dsk/space-dg/vol3-space /dev/vx/rdsk/space-dg/vol3-space /space_mount/vol3-space vxfs 2 no     -
    Made the mount point in all nodes:
    mkfs /space_mount/vol3-space
    mount the file system in active node.
    mount /space_mount/vol3-space
    use sccheck.
    My dude is about is about Storage plus resource (space-grp:space-storageplus-res:FilesystemMountPoints) because this don�t have the new mount poing, if I must put the new mount point in this property using: scrgadm because my cluster has HAStorage-plus.
    What is the optimal form? If I must use scrgadm I can modify this property (FilesystemMountPoints) with
    (scrgadm -x FilesystemMountPoints =value) ??
    Or must recreate space-storageplus-res????
    Thanks for you time and sorry for my English.

    Thanks I made sucessuly.
    The final procedure:
    1 create the disks in vertias (not the volumen)
    2 if you add new disk, recreate the did
    scdidadm -L
    scdidadm -r (must exec in all nodes)
    scgdevs (in all nodes)
    3 Disable the resouces using scswitch -n -j (the resouce)
    in my case we disable all resouce but NOT the resouce group. (only exec in one node)
    Make the new file system. :-D. makefs. (in one node)
    4 make the new pount mount in all nodes.
    5 insert the new line in vfstab (remenber the mount at boot to set to no)
    scrgadm -pvv | grep "FilesystemMounPoints="
    6 You must put the "FilesystemMounPoints=" in same orden in vfstab
    I use the sunplex (more easy) ..
    Renable to online your resources.
    Test to switch over to another node.
    The new filesystem may be automaticaly mounted.
    Bye an thanks for the help

  • Add field group to Asset Master Data Screen Layout

    Hi Gurus !!
    Does anybody know how to add field group in SPRO(Define Screen Layout for Asset Master Data)?. I have created my layout by coping 1000, but then I need to add Fund Center in Time-Dependent data logical field group.
    Thanks a lot,
    Sasha

    I don't think you can add a funds center to the Time dependent tab.
    Instead you need to use Derivatuon strategy. Use tcode FMDERIVE for strategy and FMDERIVER for GL accounts to cost center and cost centers to asset numbers or number range. From here the system derives teh funds center.

  • How to add new group entry in Cisco Vpn using powershell

    I am working on a powershell script to connect cisco vpn using powershell, I am able to connect to vpn but not sure how to add new group to vpn. I am using the following script$vpn_profile = 'Test'
    $username = 'TestUser'
    $userPassword = ConvertTo-SecureString -String "Password" -AsPlainText -Force
    $credentials = new-object -typename System.Management.Automation.PSCredential -argumentlist
    $username,$userPassword
    $password = $credentials.GetNetworkCredential().Password
    Set-Location 'c:\Program Files (x86)\Cisco Systems\VPN Client'
    .\vpnclient.exe connect $vpn_profile user $username pwd $password
    Write-Host "You Are Connected"
    cd "C:\"

    Have you entered .\vpnclient.exe /? to see if it will return information about other switches you can use with this executable? Other than connect, I was able to track down a few without actually having the executable (http://www.scribd.com/doc/40108893/Cisco-VPN-Client-Command-Line).
    That said, I do not believe that there is a switch that will help you create a connection. These are either done manually through the GUI, or can be likely be added by supplying a properly formatted file in the proper place.
    If you're using the version of the Cisco VPN client I think you are, then your connection settings, or profiles, are stored in individual .pcf files somewhere on your computer (likely in the Cisco directory). These are simple, text-based files. Find one
    on your computer, save it with another name, and then modify it manually. If you really want to use PowerShell, then use this opportunity to learn how to create and edit basic text files using PowerShell. If you have a standard connection file, then you can
    put that file onto remote computers any number of ways. If a .pcf file exists in the proper place when the VPN client is opened, then it likely will not prompt for a new connection.
    Update: Added more info; clarified

  • 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

  • Change consumer group

    Hi,
    in 10g R2 on Win 2003 server
    I try to change the consumer group of user SCOTT :
    SQL> SELECT NAME from V$RSRC_CONSUMER_GROUP;
    NAME
    SYS_GROUP
    OTHER_GROUPS
    LOW_GROUP
    SQL> SELECT USERNAME,RESOURCE_CONSUMER_GROUP FROM V$SESSION where username='SCOTT';
    USERNAME                       RESOURCE_CONSUMER_GROUP
    SCOTT                          OTHER_GROUPS
    SQL> EXEC DBMS_RESOURCE_MANAGER.SWITCH_CONSUMER_GROUP_FOR_USER ('scott', 'LOW_GROUP');
    PL/SQL procedure successfully completed.But does not work :
    SQL> SELECT USERNAME,RESOURCE_CONSUMER_GROUP FROM V$SESSION where username='SCOTT';
    USERNAME                       RESOURCE_CONSUMER_GROUP
    SCOTT                          OTHER_GROUPSWhat is wrong in my action ?
    Many thanks.

    Thank SKU,
    SQL> SELECT * FROM DBA_RSRC_CONSUMER_GROUP_PRIVS;
    GRANTEE                        GRANTED_GROUP                  GRA INI
    PUBLIC                         DEFAULT_CONSUMER_GROUP         YES YES
    SYSTEM                         SYS_GROUP                      NO  YES
    PUBLIC                         LOW_GROUP                      NO  NONo he is not.
    What to do first then ?
    Finally we should do like this :
    SQL> SELECT USERNAME,RESOURCE_CONSUMER_GROUP FROM V$SESSION where username='SCOTT';
    USERNAME                       RESOURCE_CONSUMER_GROUP
    SCOTT                          OTHER_GROUPS
    SQL> EXEC DBMS_RESOURCE_MANAGER.CREATE_PENDING_AREA;
    PL/SQL procedure successfully completed.
    SQL> EXEC DBMS_RESOURCE_MANAGER.SWITCH_CONSUMER_GROUP_FOR_USER ('SCOTT', 'LOW_GROUP');
    PL/SQL procedure successfully completed.
    SQL> EXEC DBMS_RESOURCE_MANAGER.SUBMIT_PENDING_AREA;
    PL/SQL procedure successfully completed.
    SQL> EXEC DBMS_RESOURCE_MANAGER.CLEAR_PENDING_AREA;
    PL/SQL procedure successfully completed.
    SQL> SELECT USERNAME,RESOURCE_CONSUMER_GROUP FROM V$SESSION where username='SCOTT';
    USERNAME                       RESOURCE_CONSUMER_GROUP
    SCOTT                          LOW_GROUP

  • Oracle consumer group

    Hi, we are development one application with java and oracle. We have oracle 10G R2 SE. This application will be batch process in pl/sql every night, and some evenings. These proccess must be running in background, and we want priorize for online users. We don't want that plsql batch processes consum a high value of CPU and the online users can be slower. I read something about oracle consumer's group resources, but I don't understand very well.
    Anyone, know which is the better way for do that? It's recommed the user of oracle consumers or another method?
    How can I use it?
    Thanks you very much!!

    roberto1979es wrote:
    Hi, we are development one application with java and oracle. We have oracle 10G R2 SE. This application will be batch process in pl/sql every night, and some evenings. These proccess must be running in background, and we want priorize for online users. We don't want that plsql batch processes consum a high value of CPU and the online users can be slower. I read something about oracle consumer's group resources, but I don't understand very well.
    Anyone, know which is the better way for do that? It's recommed the user of oracle consumers or another method?
    How can I use it?In simplest terms, a session is associated with a consumer group. The resource manager is used to define plans which describe the resources available to each consumer group. The resource manager is then used to activate one specific plan.
    It is described in considerable detail in the DBA manual at http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/dbrm.htm#i1010776
    I am not sure whether this will help you in SE because according to the license manual the Resource Manager is only with EE. http://download.oracle.com/docs/cd/B19306_01/license.102/b14199/editions.htm#CIHDDBCG

  • Why can't I add Family Base to my plan?

    I have tried unsuccessfully many times to add Family Base to my plan. I have blocked numbers from calling/texting my son's phone, but it doesn't really help when he just calls them. I need to be able to block him from calling these people as well. He has a Motorola Droid 4 and I have a Samsung Galaxy S III Mini. I am told that the phones are compatible, but for some reason, I can't add this feature. I continue to get the same error message every time. What can I do?

        Csummers0321,
    This is very strange to hear! We may need to work a little magic on our end to get FamilyBase added. I've requested to follow you. Please accept, follow me back, and then use these steps http://vz.to/1cOOY6O to send me a Direct Message.
    SarahO_VZW
    Follow us on Twitter @VZWSupport

  • How to register add-on of edited system form in sap b1 9.0?.

    Hi all,
    I have a problem in SAP b1 9.0.
    Actually I added one field of BPCode to Employee master data, so I want to register an add-on of that system form in SAP b1 9.0.
    When I create file of .ard as we watch it in video of 
    Bryan Gomez
    Creating and Registering SAP Add-on - YouTube     it will be created correctly, But the problem is when I register that the file of .ard it gives error (Cannot create a file when that file already exists). Again when I create a file of .ard of any other User form it gives the same error (Cannot create a file when that file already exists).
    But when I create and register the add-on of Hello World in Sample folder of SDK it will be registered correctly.
    How can I solve that problem.
    Anyone can help me please.

    Hi pallavi p,
    That's good but as I said above when I add the reference of UI API Version 9.0 in the project which has the system form or user form of sap b1 it exactly gives errors in menu.vb of the project.
    So let me give you the way you can try.
    1. Open new project/ visual basic/ sap business one/ sap business one add-on project. and save it any where
    2. Right click on your project
    3. Add new item
    4. Sap Business One
    5. System form (Employee master data) or user form
    6. Add
    And then if your form is opened
    7. Go to add the reference of UI API Version 9.0
    8. Check errors found in menu.vb (or in OutPut)
    So if it's possible try to solve that problem.
    Please anyone can help me.

  • How to add Document group  in t code S_ALR_87012082 for dynamic selection.

    Hi Gurus,
    I Need to add  Document group  in t code S_ALR_87012082  for dynamic selection.
    Currently here two groups are showing , Vender and Comp Code. i need to add Document group  there. Kindly guide me in this.
    Thanks in advance.

    Hi
    Pls follow below report
    *S_ALR_87012103 - List of Vendor Line Items *
    In dynamic selections you can find Document number, there you can give the range
    Reg
    Vishnu

Maybe you are looking for

  • Exporting to a website

    I'm trying to get my instructional video to play on my company's website. I published the file as HTML, uploaded it, but when I click the link nothing comes up. I then uploaded the flash file by itself and it played, but the quality wasn't as good an

  • What is the right bios for Satellite A100-749?

    Hi I bought a A100-749 (PSAARE) in France and I would like to update a firmware. I found a firmware version 5.90 for model PSAAR (there is no PSAARE so i think this model match) and inside the archive there are two files: s10pm590.rom s10pm590.rom Wh

  • Help - problems with Credit Memo's

    Hi Can anyone help. We're running Financials 10.7 and have a problem. We've tried to create a credit memo to cancel an invoice. The credit memo and invoice tie up and are linked all through the line until the 'Invoice Installments' screen where there

  • Does Google  ignore the privacy settings of iOS ?

    In the privacy settings of iOS I have disabled access to my pictures for the Google+ App on my iPhone and on my iPad. However I still get emails from Google+ that it uploaded pictures I took with my iPhone. Is Google cheating here ?

  • How to download photoshop CS6

    I purchased a new laptop. How do I download Photoshop CS6 and Lightroom 4?