Question about the Oracle database resource management

Good evening
I have a question about Oracle database Resource Management (DRM) for Oracle Database 10 g. I had an incident which, in a development/UAT environment (different instances, same box, don't ask), a developer wrote a wrong SQL statement that consumed 99% of the CPU. Currently, there is no limit of resources on two cases of db, and the developers don't want limits. However, my manager wants a method to prevent something like this does not happen. If I use the Oracle database resources management, create a consumer group (called "DevEnv") at 40% CPU usage, what will happen if a user of DevEnv runs a bad SQL statement that normally consumes 90% CPU again? Anyone would take a different approach? Thank you.

Sincerely,
Sho Fukamachi

782718 wrote:
If users in the case of "db_uat" use 60% CPU would be users who belongs to DevEnv pending 'db_test' cannot be used more than 40% CPU, so their queries become slower at their end? I would like to know if this behavior works the same in an environment of multiple instances. Thank you.

Yes, because the available processor would be 40%, they use more, while.

Tags: Database

Similar Questions

  • Question about the Oracle Client software

    Good afternoon

    The following statement appears in the day 2 DBA OBE for Chapter 4:

    >
    You must first install the Oracle database client software, which includes the Oracle Net software.
    >

    I downloaded the instant client, installed and everything works fine. However, the instant client does not include the Oracle Net software. I searched for a 'no snapshot' customer ;) he would understand, but did not find these clients. I tried to start the complete installation (downloaded from the Oracle site) and there is no option to install the client only.

    Question: There is another client that includes the Oracle Net software as described in the OBE? If Yes, where is it?

    Thank you for your help,

    John.

    Yes, the "full" client package is available in the downloads / database and has a name like this:

    Oracle Database 11 g Release 2 (11.2.0.1.0) Client for Microsoft Windows (32-bit)

    (and of course is available for different platforms)

  • question about the expansion of resources

    I have a general question concerning the allocation of resources CPU and expansion. If I put the number of CPU to 2, is it possible to allow CPU break this constraint while running? In fact my application server requires more CPU resources that appearing in Prime listening and I wish, it can be realized using any method VMware provides. Thank you!

    If you mean can you assign more vCPU virtual machine and remove dynamically, based on the demand for resources, then the answer is no. You can add vCPU virtual machine running - assuming that the operating system supports hot.

  • A question about the CREATE DATABASE LINK PUBLIC and ORA-12154 error

    Hi all


    I have a problem on the public database link creation and I would be grateful if you could kindly give me a helping hand. I have the following connection settings in my
    tnsnames.ora file:
    ...
    DGPAPROD.WORLD = 
         (DESCRIPTION = 
           (ADDRESS_LIST = 
            (ADDRESS = (COMMUNITY=tcp.world)
              (PROTOCOL=TCP)(HOST=ORASR001)(PORT=1521)
             ) 
           )
           (CONNECT_DATA = (SID = DGPAPROD))
        )
    ...
    Having the above mentioned parameters, I can connect to this remote database directly in a SQL * more shell:
    $ sqlplus username/[email protected]
    It works pretty well and the connection is established without any problem.

    Now, what I want to do is to create a public database of this remote database link to avoid the user/connection of switch for the visualization of the
    the content of this database. I proceeded in line with the syntax indicated in the Oracle online documentation:

    http://download.Oracle.com/docs/CD/B28359_01/server.111/b28286/statements_5005.htm#SQLRF01205

    This is why I run the following to create a public database link
    CREATE PUBLIC DATABASE LINK SR001_dblink CONNECT TO user IDENTIFIED BY password USING 'DGPAPROD.WORLD';
    Apparently there is no error and the link is created successfully. However, it cannot resolve the remote host and every time I run this query
    (myenterprise is the name of a table in the remote database)
    SELECT *
    FROM myenterprise@SR001_dblink
    
    ERROR at line 1:
    ORA-12154: TNS:could not resolve the connect identifier specified
    What causes this problem?

    Thanks in advance,


    Kind regards
    Dariyoosh

    You must have defined DGPAPROD. WORLD in tnsnames.oar on the server where DB is runnig.

  • Question about the game database and the UNICODE character

    Hello

    I have to configure a database for an IBM product where is a requirement:
    "Databases must be created using the UNICODE database and National characters as UTF8 games, AL32UTF8 or AL16UTF16 or."

    My current database character is: WE8MSWIN1252. Change the current database character set is not an option, so I have to create a new db for this requirement.

    My question is:
    (1) how to ensure that "databases must be created using the UNICODE database"?

    (2) to take care of character, I'll use in the database creation script:

    "
    create the db1 database...
    ..
    CHARACTER SET US7ASCII
    NATIONAL CHARACTER SET AL16UTF16
    .."
    who will take care of him?

    create the db1 database...
    ..
    UTF8 CHARACTER
    NATIONAL CHARACTER SET AL16UTF16

  • A question about the Oracle SQL Developer Oracle instance connection

    Hi all

    I would be grateful if you could kindly give me a helping hand.

    Recently, I installed the Oracle 11 g on Linux (ubuntu 8.10) database. I not create startup scripts. So here's how I start the server: (my linux user name is "dariyoosh", but in order to start the server I have connection on the terminal shell as user 'oracle')
    dariyoosh@alborz:~$ su oracle
    Password: 
    oracle@alborz:/home/dariyoosh$ cd
    oracle@alborz:~$ ORACLE_SID=database01
    oracle@alborz:~$ . oraenv
    ORACLE_SID = [database01] ? 
    The Oracle base for ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1 is /u01/app/oracle
    oracle@alborz:~$ sqlplus '/as sysdba'
    ...
    SQL> STARTUP NOMOUNT
    ORACLE instance started.
    ...
    SQL> ALTER DATABASE MOUNT;
    ...
    SQL> ALTER DATABASE OPEN;
    
    Database altered.
    Then I can work without any problems with my database and everything works pretty well. Today, I decided to install Oracle SQL Developer IDE as it makes it easier to modify the SQL code. My problem is that after reading the tutorial Oracle online, that I am still able to connect to my database. Firstly according to the method that I wrote, I have set up the Oracle instance. But then when I run Oracle SQL Developer I don't know what to choose for the user name and password? because since SQL * Plus shell as you can see I always write: "sqlplus 'virtue sysdba' and it does not prompt me for any password, I can access the database directly." Any idea? What password? What user name? for Oracle SQL Developer?

    Thanks in advance.

    When you connect "/ as sysdba", you actually connect as the user named SYS from the privileges of your operating system. SYS is the owner of the database and a privileged user. You really want to use this username for the day to day operations, but only for what can do only SYS. If you need a different user name. Several Oracle databases have a user named SCOTT who has a number of tables for use tutorial. By default, the password for SCOTT's "Tiger." You may also have other demo users, such as "HR". I admit that I forgot what is the password of the HR, but it doesn't really matter because SYS can change with this command:

    ALTER USER hr IDENTIFIED BY whateveryouwant;
    

    This command:

    SELECT USERNAME FROM ALL_USERS;
    

    lists all the users in your database. Understand that many of these users are there as owners of objects such as stored procedures and tables for Application Express, or TYPEs for Oracle Locator, not for general use. When you are ready to create your own objects, ask SYS create a username for them with

    CREATE USER myusername IDENTIFIED BY mypassword;
    

    and grant that user the privileges as necessary. You'll want to read before you get too far - I think that the developer of the Application Guide is a good starting point.

  • Question about the duplicate database active on 11 GR 1 matter?

    Hello

    I'm getting following error active creating duplicate data.


    From backup 17 April 11
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID = 129 type device = DISK
    channel ORA_DISK_1: from data file copy
    Enter a number of file datafile = 00001 name=+DATA/testdb/system.dbf
    RMAN-03009: failure of the backup command on the channel ORA_DISK_1 at 17/04/2011 17:55:09
    ORA-17629: unable to connect to the remote database server
    ORA-17627: ORA-12154: TNS: could not resolve the connect identifier specified
    ORA-17629: unable to connect to the remote database server
    continue other job steps, not a not working will not re-run
    channel ORA_DISK_1: from data file copy
    Enter a number of file datafile = name=+DATA/testdb/sysaux01.dbf 00003
    RMAN-03009: failure of the backup command on the channel ORA_DISK_1 at 17/04/2011 17:57:22
    ORA-17629: unable to connect to the remote database server
    ORA-17627: ORA-12154: TNS: could not resolve the connect identifier specified
    ORA-17629: unable to connect to the remote database server
    continue other job steps, not a not working will not re-run
    channel ORA_DISK_1: from data file copy
    Enter a number of file datafile = name=+DATA/testdb/undodbs1.dbf 00002
    RMAN-03009: failure of the backup command on the channel ORA_DISK_1 at 17/04/2011 17:59:26
    ORA-17629: unable to connect to the remote database server
    ORA-17627: ORA-12154: TNS: could not resolve the connect identifier specified
    ORA-17629: unable to connect to the remote database server
    continue other job steps, not a not working will not re-run
    channel ORA_DISK_1: from data file copy
    Enter a number of file datafile = name=+DATA/testdb/rman01.dbf 00004
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Db in dual at 17/04/2011 18:01:30
    RMAN-03015: an error has occurred in the script stored memory Script
    RMAN-03009: failure of the backup command on the channel ORA_DISK_1 to 17/04/2011 18:01:30
    ORA-17629: unable to connect to the remote database server
    ORA-17627: ORA-12154: TNS: could not resolve the connect identifier specified
    ORA-17629: unable to connect to the remote database server

    Thank you

    Check on MOS:

    Duplicate of Active database error: Ora-17627: Ora-12154: Tns: could not resolve the C [1144273.1 ID]

  • Question about the events of list management

    I searched in the circles of a response to this problem for a while now.

    Background information:

    I have an application that uses a number of listservs. However, some end users have complained about this particular control since you not only have select from the popup LOV, but you then have to click on the 'Add' button until the selected value will be submitted to the page. They would like me to display some callback types click on 'Add' when a value is selected, but not yet added.

    I found the names of the different elements of the list manager and created a simple javascript function to change the background color of the text box where the selected value is displayed and attached that work to the onchange event.

    My problem is that if something enter the text box fire the onchange event, by clicking on the 'Add' button does not work. In other words, I can put a red background (or whatever I end up doing) if they have not yet added value, but I can't put it right back when the user clicks on 'Add '. The best work around I came uses the list manager onmouseover event, but is not as clean as I like it.

    The 'Add' button has an onclick (obviously) the events that first calls a function "appendToList" and then deletes the text box.

    {color: #0000ff} & lt; "input type ="button"name =" "value ="Add"onclick =" appendToList (return [0].p_v99.value.toUpperCase (), return [0] .p_v04); return [0].p_v99.value = "" / & gt;

    {color} {color: #000000} The appendToList function is defined in the body of the page, just forward to the & lt; fieldset & gt; tag that creates the list manager, leading me to believe that there is a template somewhere.

    Question:

    Is it possible to edit the template for the list manager so that I can call my function when the user clicks on the button "add"?

    or

    Is it possible to redefine the function appendToList somewhere on this page, so I can place a call to function within this function?

    or

    Is there another way to restore the appearance of the text box when the user clicks on the button 'Add' that I thought not again?


    Thanks for any help you can provide. This is bugging me. {color}

    Hello

    I think that what follows may work for you.

    Suppose you have a component called P4_LIST_MANAGER list manager. Add the following code in the Footer area of the region setting:

    <script type="text/javascript">
    var lm = document.getElementById("P4_LIST_MANAGER_ADD");
    lm.onchange = function()
    {
     if (lm.value.length > 0)
     {
      lm.style.backgroundColor = 'red';
     }
    }
    var lmfs = document.getElementById("P4_LIST_MANAGER");
    lmfs.onclick = function()
    {
     if (lm.value.length == 0)
     {
      lm.style.backgroundColor = 'white';
     }
    }
    </script>
    

    The main problem you see is that for an input element onchange event is not raised when its value is changed via javascript on the page. The above assumes that the user has clicked in the area of field set to use either the Add or Remove buttons, and then resets the background color.

    Andy

    Published by: ATD 15 January 2009 19:02

  • A question about the capablities of Oracle Identity manager?

    Hello, everyone,

    Here is our environment,

    1 - we have user accounts in our database for students and employees in our academic Institute.

    2. we have a Microsoft active directory for employees only, that was created many years ago.

    3 - our web applications (weblogic server, ADF, other) use user accounts to database for authentication.

    We plan to create a server active directory for students, we thought about using Oracle identity manager (OIM) to do.

    is it possible to just directly sync & manage student accounts of microsoft oracle database active directory through IOM.

    Thank you.

    Hi mhaljasim ,

    By my understanding, looking for some sort of tool to create users (doing the commissioning) in a target (Active directory). If this is the case, yes IOM will be a great tool for you as it has connector AD that have this capability.

    Trying to help even more: research from the perspective of the solution, my understanding is you will make this workflow:

    (1) created in the Oracle database user. (2) then this user will be reconciled database of IOM, IOM DB connector (in other words, the user will be created in the table user IOM). (3) then IOM will be a process of supply to create this type of user in AD, using the connector of the IOM.

    But I would put another suggestion here:

    If you are looking for just a matter of authentication using the users of the database as well as users of the AD. I want to suggest to look deeper into the OVD (Oracle virtual directory) tool. It is a great tool that allows you to have views of the two targest(AD +DB) at the same time and make a simple Ldap authentication against this specific point of view once. By my understanding, this can be a good option in your solution as well. Please check more on these two IDM products to:

    http://www.Oracle.com/technetwork/middleware/ID-Mgmt/index-093158.html

    http://www.Oracle.com/technetwork/middleware/ID-Mgmt/Overview/index-098451.html

    I hope that this info below helps you a lot,

    Leoncio Thiago.

    http://thiagoleoncio.blogspot.com/

  • I have a question about the functionality of Oracle Identity Manager...?

    Hi friends
    I have a question about the features of Oracle Identity Manager.
    Here's my question:
    Self-management is possible network passwords (reset / unlock) with Oracle Identity Manager 9.1.0.2

    Very grateful.

    What Kevin suggested this means that you are managing accounts and their password by IOM. If your condition is the same then follow:

    Re: error during password reset using the self-service portal

  • Question about the database to use with ESX and Labmanager

    Hello

    Finally my company is buying a permit for Labmanager and ESX server using Labmanager to our tests.

    We had a question about the database that we use for the actual installation.

    Could we use MY - SQL? Or that we have the olbigation to install a SQL or Oracle DB for the whole system to work?

    We prefer to use MY_SQL because it is open-source and will cost less to use for us.

    Thanks in advance for the answer and please excuse my bad English, I'm french spoke first.

    Lafa91

    Montreal.

    Lab Manager installs SQL Express as part of the installation and use. If you install also Virtual Center as part of your deployment of Lab Manager (do not use an existing VC server), you can use the database SQL Express is included for small installations of ESX, but MY SQL is not an option. You can search the databases supported in the installation guide for what version you deploy.

  • A question about the observer managed by Grid Control

    Hello everyone

    My environment:

    Primary database:
    Single instance 11.1.0.7
    S.O.: SLES 10 SP2 x86_64

    Database pending:
    Single instance
    S.O.: SLES 10 SP2 x86_64

    Observer:
    Director of customer Oracle 11 g 1 material x86_64
    S.O.: SLES 10 SP2 x86_64

    Reading Oracle documentation, I found the documentation of Oracle Data Guard I have to install the Oracle Database 10g software package to manage the observer by Enterprise Manager.

    My question is that I have to install Oracle Database 10 g software to manage the observer by Oracle Grid Control 11 g?


    Thank you very much

    My question is that I have to install Oracle Database 10 g software to manage the observer by Oracle Grid Control 11 g?

    Always an observer should be third machine, which isn't yet primary/secondary.
    You have no need to install grid ORACLE_HOME, simply install the agent on the third server, so this Agent will download all the information on the GRID.
    That's what you're looking for?

  • An error occurred when DNS was questioned about the resource record (SRV) service location used to locate a domain controller Active Directory (AD DC) for the domain 'HAMI. LOCAL ".

    An error occurred when DNS was questioned about the resource record (SRV) service location used to locate a domain controller Active Directory (AD DC) for the domain 'HAMI. LOCAL ".

    The error was: "an existing connection was to be closed by the remote host".
    (0 x 00002746 WSAECONNRESET error code)

    The query was for the SRV record for _ldap._tcp.dc._msdcs. HAMI. LOCAL

    Hello

    Your question of Windows 7 is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the Forums TechNet Windows 7 Technet.

    Here is the link:
    http://social.technet.Microsoft.com/forums/en-us/w7itpronetworking/threads

    Hope this helps

  • Questions about the management of specific nodes in different hierarchies

    Hi all

    I have a question about the specific management of some particular set nodes, which are located in different hierarchies within a same version.

    I want to know if there is any editing made to certain properties of these specific nodes or if the nodes are deleted/moved/edited approval to be triggered for the data manager.

    or should not allow users to edit (adding/moving/deleting/changing property values) or those specific members.


    According to my understanding of the nodes of domain prevents the removal of nodes, but I don't want my Member prefix/suffix, domain is the only way to prevent the change.




    Thanks and greetings

    Madhu

    We have an obligation to not allow a node to remove or deleted without the approval of the admin, so I created a Boolean property AllowDelete is false, which is substitutable, default and is available only in a category of property Admin, for which most of the users do not have access.  Then, I created a validation of PropRemove with an error message that tells the user to contact a user admin to remove or delete the node.  The admin can change the AllowDelete to true, then can either remove himself or to allow the user to do.

  • What process in the database is high in the Oracle system resources

    Hello everybady,

    I am beginner.

    How can we control or analize what process in the database is high in the Oracle database system resources?

    Could you please help this issue?

    Thanks and greetings



    A tuba.

    Please read SQL and PL/SQL FAQ

    ------------------
    Sybrand Bakker
    Senior Oracle DBA

Maybe you are looking for

  • have lost my icon of fox persona since update to firefox 8.0

    I've lost my persona Fox icon in the lower right, since I updated to firefox 8.0. I can always access personas by clicking on tools at the top of the screen but don't have my icon foxface bit. I tried to check "add-ins" and made sure that it was acti

  • Reinstall the original software after Windows 10 update

    When I bought my HPE-180 t, it came with Adobe products already installed as part of the package I bought.  After the Windows 10 update, it became necessary to reinstall Adobe first Elements 8 and she asks a code that did not come with disks. What sh

  • Pro9000 canon printer problems

    For those who know Canon printer problems after upgrade to El Capitan, this is the site for you: https://goo.gl/Ga55aB specifically, I was getting crazy trying to reconfigure my Canon Pro9000 until I found this: https://goo.gl/naQKPl click on the box

  • Want only a table value

    Hello I am having some problems trying to get a single element of an array. As you can see I get a number of values of t and I am only interested in one highlight, or the one above 1.09E - 5. Is there an easy way to get only this? I tried a while loo

  • Loss of system sounds and the internet, speakers pass test.

    I have seen this issue a couple of times for its complete loss, but only once for my specific problem.  I am running Windows Vista 32 - bit OS with speakers Realtek High Definition Audio on a HP Pavilion Media Center m7760n.  I have run the diagnosti