Heavy CPU consumer/user in Oracle 10g

Hi,
OS linux
DB 10g
How do I find the program/user that eats a lot of CPU inside the oracle engine process?
I tried to run "top" linux command, and I saw the my CPU usage is 100% and the user was the oracle kernel.
I been monitoring the performance of our DB server Linux using "top" command, and I got this monitor dislay:
top - 22:43:43 up 52 days,  1:57,  6 users,  load average: 0.99, 0.49, 0.30
Tasks: 549 total,   2 running, 547 sleeping,   0 stopped,   0 zombie
Cpu(s): 12.8% us,  0.5% sy,  0.0% ni, 86.5% id,  0.2% wa,  0.0% hi,  0.0% si
Mem:   8309152k total,  8225644k used,    83508k free,     3752k buffers
Swap: 10482308k total,  1993040k used,  8489268k free,  3575124k cached
  PID USER      PR  NI %CPU    TIME+  %MEM  VIRT  RES  SHR S COMMAND
12778 oradev2   25   0  100   1:57.33  1.7 1165m 135m 101m R oracle
14329 applprod  15   0    5   2:09.04  0.1 46300 7780 4204 S httpd
12960 appldev   16   0    1   0:00.25  0.0  2620 1304  784 R top
13945 oraprod   16   0    0   0:00.49  0.2 1119m  17m  15m S oracle
15100 oraprod   16   0    0   0:05.16  0.9 1121m  69m  65m S oracle
    1 root      16   0    0   0:22.47  0.0  3504  508  432 S initI can see that oradev2 has a very hi CPU utilization, I am suspecting there is an untuned sql program inside it :(
How do I find the culprit program at (Oracle Level) who is hugging all the CPUs?
Thanks a lot

oradev2 is not the program, it is the LINUX oracle user id.
the process is under the 'command' column and is 'oracle' - this usually means an oracle server process ( i don't know what you mean by an oracle 'kernel' incidentally)
if you do a ps listing for the process - e.g
$ ps -ef | grep 12778
you will get a start time for the process which MAY give you a clue.
otherwise you must use your documentation to find out about the sys view v$process - usually the SPID column is the LINUX process id - in your case, 12778
you usually link v$process to v$session. Best of luck.
johnnie d

Similar Messages

  • Default users in oracle 10g

    Hi,
    how can we check the default users in oracle 10g which were created at the time of database creation??

    Hello...
    Please find the user and its usage in 10G:::
    User Purpose
    =========================
    SYS      Oracle Data Dictionary/ Catalog
    SYSTEM The default DBA user name (please do not use SYS)
    OUTLN Stored outlines for optimizer plan stability
    DBSNMP Oracle Intelligent agent
    DIP Generic user account DIP for processing events propagated by DIP.
    TSMSYS User for Transparent Session Migration (TSM) a Grid feature
    ORACLE_OCM Owner of packages used by Oracle Configuration Manager
    Please make your thread answered!!!!

  • Is it possible to rename a user in Oracle 10g

    Hi all,
    Is it possible to rename a user in Oracle 10g?
    Thanks & Cheers
    Antony

    No, you can't rename user directly.
    similar post
    Re: How to rename a database user?
    and here
    Re: Can I rename a user?

  • Create a new user for oracle 10G ASM instance with sysdba system privilege

    Hi,
    In our Golden Gate Project, we require the SYS user credential to connect to the Oracle 10g  ASM instance to read the database transaction logs.But our client is not providing the SYS user credential to  connnect to ASM instance.
    I'm getting the error message "ORA-01109:  database not open",When I tried to create a new user using the  below the steps in oracle 10g ASM instance
    1. Login using "sqlplus / as sysdba"
    2. Create user <username> identified by <password>;
    But in oracle 11g ASM instance, I'm able to create new  user  by connecting the ASM instance with SYSASM role without issues.
    Is there is any workaround to create a new user with sysdba system privilege in oracle 10g ASM instance?.
    Thanks in advance .

    Hi,
    Recreate the password file for the ASM instance as follows:
    Unix:
    orapwd file=<ORACLE_HOME>/dbs/PWD<SID> password=<sys_password>
    Windows:
    orapwd file=<ORACLE_HOME>/database/PWD<SID>.ora password=<sys_password>
    Now sys password is reset, we are ready to use sys for ASM management. I decided to create another user ASMDBA as I tried above.
    SQL> create user ASMDBA identified by test01;
    User created.
    SQL> grant SYSASM, SYSOPER to ASMDBA;
    Grant succeeded.
    SQL> select * from v$pwfile_users;
    USERNAME SYSDBA SYSOPE SYSASM
    SYS TRUE TRUE TRUE
    ASMDBA FALSE TRUE TRUE
    Please see this link : http://orachat.com/how-to-change-asm-sys-password-creating-sysasm-user-11g/
    Thank you

  • No of maximun users in oracle 10g express edition

    what is the maximum number of concurrent users (session) in oracle 10g express edition.
    coz right now, we have one server with oracle 10g express edition, and a front end application of asp.net (.net 1.1)

    The only limit that Oracle places on the number of concurrent users on an XE database is through the limit of 1GB of RAM. You can have as many concurrent sessions as you can open in 1GB of RAM.

  • What is the version of grant alter table, drop table to user in Oracle 10g?

    Hi,
    Oracle support "grant alter table and drop table" before, but I get the "invalid privilege" error in Oracle 10g. Oracle 10g have the "DROP ANY TABLE" and "Alter any table". Is these two means can drop and alter tables belonging to other users? How do I grant the total control (CRUD) of tables in the owner's schema to the owner in Oracle10g?
    Thanks,
    Jiang

    CREATE TABLE privilege grants complete control on owner's tables :
    SYS@db102 SQL> create user test01 identified by test01;
    User created.
    SYS@db102 SQL> grant create session, create table to test01;
    Grant succeeded.
    SYS@db102 SQL> alter user test01 quota unlimited on users;
    User altered.
    SYS@db102 SQL> conn test01/test01
    Connected.
    TEST01@db102 SQL> create table test(a number);
    Table created.
    TEST01@db102 SQL> alter table test add(b varchar2(100));
    Table altered.
    TEST01@db102 SQL> drop table test purge;
    Table dropped.
    TEST01@db102 SQL>                                                      

  • Top SQL by DB user in Oracle 10g DB Console

    Is there a way to filter Top SQLs on 10g DB Console by a specific DB User? I know you can get all the SQLs by a specific user from Search Sessions, but it doesn't rank them by CPU usage. Any help is greatly appreciated.

    nice idea, because SQL itself doesn't contain info about session executing it.
    See Top SQL/Consumers
    in OEM 10: goto Perfomance - Top Activity - here you can see Top SQLs (left side) and Top Sessions (right side) and ! if click on SQL ID from Top SQL you can see sessions executing it on Activity page.

  • No of concurrent users on oracle 10g

    Hi Guru's,
    We have a requirement where 200 + user will have a connection to our database at a point of time. We have windows 2008 + oracle 11.1 in our envirnment.
    Now my question is ..What steps do i need to take that all connection are taken care by databse and no connection gets failure message.I tried this by 100 connnection but after 100 it is giving error .(listener error..)
    Please let me know in case any more detail is required from my side.
    Thanks
    Vivek

    As you never posted what listener error you got, my guess is you hit ora-12500, which usually means the maximum number of threads for the Oracle process is reached.
    You can configure the maximum number of threads in Windows, but I do not know from the top of my head how, so I suggest you visit http://technet.microsoft.com
    Sybrand Bakker
    Senior Oracle DBA

  • Regarding accessing SQL query issued by any user in Oracle 10g

    Hi all,
    i want to know the queries issued by various users accessing a database...
    But the in view DBA_AUDIT_TRAIL,I was getting empty value...(in SQLTEXT column) ...how can i get this value...
    Thanx
    in advance..

    Straight from the documentation :
    The SQL_BIND and SQL_TEXT columns are only populated if the AUDIT_TRAIL initialization parameter is set to db,extended.In addition, you have to make sure you issued the AUDIT command on the objects you would like to AUDIT access on.
    [Configuring and Administering Auditing|http://download.oracle.com/docs/cd/B19306_01/network.102/b14266/cfgaudit.htm]

  • Changing password of Sysman and DBSNMP users in Oracle 10g (10.2.0.3.0)

    Hi,
    When i changed my sysman and dbsnmp password, these users are frequently locking.
    For sysman password change i do the following steps.
    1) emctl stop dbconsole
    2) change password of sysman and dbsnmp from sql
    3) Post sysman password change to emoms.properties file
    4) Post DBSNMP password change in targets.xml
    5) emctl start dbconsole.
    DBSNMO AND SYSMAN users were locked.
    Stop dbconsole again
    Unlock the user sysman and dbsnmp
    then again restart dbconsole
    Sysman user locked
    Another thing do we need to have same password for dbsnmp and sysman
    Regards,
    irfanb146

    Now Sysman and DBSNMP users are unlocked after i made the password of sysman change again and they are not locking.
    Following is the message in the browser
    Enterprise Manager is not able to connect to the database instance. The state of the components are listed below.
    Browser is showing All the components are up like instance, Agent and Listener with green arrows upward
    Message was edited by:
    user605066

  • Oracle 10g Lite Database User Creation

    Hi,
    I am using Oracle 10g Lite Database Release 3, I Like to Know How to Create a user in Oracle 10g Lite Database through Command ,Any Advice
    Thanks U
    SHAN

    Shan,
    In the same way you create user in any other oracle database. I recommned to check following Oracle Lite Sql reference document for creating user from command line.
    http://download.oracle.com/docs/cd/B19188_01/doc/B15917/sqcmd.htm#sthref487
    or
    sql> CREATE USER liteuser IDENTIFIED BY "litepassword"; -- And add required privs to the user.
    Regards

  • Iconic file in oracle 10g forms

    hii,,
    i am a new user in oracle 10g form,,,here i am running a form & placing all the icons in a folder,after that i changed the iconic file path in the default.env file,the path is same where the icons are kept,,but still i am unable to see the icons at the run time,,,,,
    do i need to modify some other file or the icons will be kept at some particaular place????
    plzzzz help.....

    hi
    1 How to Display Iconic Images Using Forms 9.0.x/ 10.x?
    When running an Oracle Forms 9i/10g application the icon files used must be in a web enabled
    format such as JPG or GIF (GIF is the default format) (This is unlike older versions of forms running in client-server mode when the file format is .ico.)
    Icon image files can either be retrieved by Forms as individual files on the filesystem or from a Java Archive (JAR file).
    If an application uses lots of icon images it is recommended that they are stored in a JAR file to reduce the number of HTTP round trips.
    Reference:Note 232413.1 How to Deploy Iconic Images via a JAR File in Forms 9i/10g?
    The example below details steps to configure iconic images as individual gif or jpeg files.
    It is a first approach recommended for initial testing and understanding.
    Example:
    ========
    This document has been written for use with both Windows and UNIX operating systems: Windows will use the "\" character to delimit directories and UNIX uses the "/" character. Any other differences are noted in the document.
    1) Determine the physical location of the icons on your web server. For this example, assume that the icons are stored in D:\Myfiles\icons.
    2) Create the virtual directory in the forms90.conf file that point to the location of your Forms 9i/10g icons. This file is located in:
    $ORACLE_HOME\forms90\server\forms90.conf
    To define a virtual directory forms90/icons, use the following syntax:
    # Virtual path for ICONS (used to show icons in a form ) AliasMatch ^/forms90/icons/(..*) "D:\Myfiles/icons/$1"
    Below is an example of the forms90.conf after it has been modified to include the /forms90/icons virtual directory.
    # Virtual path mapping for Forms Java jar and class files (codebase) AliasMatch ^/forms90/java/(..*) "E:\IASR2\APP/forms90/java/$1" # Virtual path for JInitiator downloadable executable and download page AliasMatch ^/forms90/jinitiator/(..*) "E:\IASR2\APP/jinit/$1" # Virtual path for runform.htm (used to run a form for testing purposes) AliasMatch ^/forms90/html/(..*) "E:\IASR2\APP/tools/web90/html/$1"
    # Virtual path for ICONS (used to show icons in a form ) AliasMatch ^/forms90/icons/(..*) "D:\Myfiles/icons/$1"
    ( For 10g use instead of "forms90" -> "forms")
    3) Direct forms to use the /forms90/icons or /forms/icons virtual directory when running on the web by modifying the Registry.dat file in the $ORACLE_HOME\forms90\java\oracle\forms\registry or $ORACLE_HOME\forms\java\oracle\forms\registry
    directory. Note that for UNIX, both the path name and file name are case sensitive. You must specify "Registry.dat".
    Modify the default.icons.iconpath entry as follows: default.icons.iconpath=http:///forms90/icons/ or default.icons.iconpath=http:///forms/icons/
    If the URL used to bring up forms on the web is: http://abc.oracle.com:7778/forms90/f90servlet or http://abc.oracle.com:7778/forms/frmservlet
    Then the entry required for the Registry.dat will be: default.icons.iconpath=http://abc.oracle.com:7778/forms90/icons or default.icons.iconpath=http://abc.oracle.com:7778/forms/icons default.icons.iconextension=gif
    4) Now use EM Website to: a) Restart the OC4J-BI-Forms Instance b) Restart the BI-FORMS HTTP Server Instance.
    5) Verify that the virtual directory has been defined properly and that the icons can be viewed in a browser.
    Assuming that exeqry.gif exists in the D:\Myfiles\icons directory, the following URL should show the icon:
    http://abc.oracle.com:7778/forms90/icons/exeqry.gif or http://abc.oracle.com:7778/forms/icons/exeqry.gif
    6) Check the form : http://abc.oracle.com:7778/forms90/f90servlet?form=D:\Testcases\F90\ICON_CHECK_IASR2.fmx or http://abc.oracle.com:7778/forms/frmservlet?form=D:\Testcases\F10g\ICON_CHECK_IASR2.fmx
    CHECKLISTS
    =============
    Icons do not appear in the browser using the URL:
    o Verify that you are using the correct machine name and port for the OC4J_BI_Forms object.
    o Check the virtual directory name to make sure that there are no typographical errors. o Check for typographical errors in the forms90.conf or forms.
    conf for the virtual directory. o Check the name of the icon on the file system. If the file is saved as Exeqry.gif, then it will not be found using the URL http://abc.oracle.com:7778/forms90/ Close all your browser sessions and open a new browser window.
    Execute the URL to bring up from the Form Builder runtime or from the browser.
    ( For 10G use "forms" instead of "forms90")USEFUL REFERENCES:==================
    [PDF] Oracle9iAS Forms Services Deployment Guide (P/N B10170-01)Configuring Oracle9iAS Forms Services ->
    Deploying Icons and Images Used by Oracle9iAS Forms Services http://otn.oracle.com/products/forms/pdf/B10170_01.pdf
    [PDF] Oracle9iForms Services - How to Deploy Iconshttp://otn.oracle.com/products/forms/pdf/webicons.pdf
    sarah

  • Oracle 10g as Resource in IDM 5.5

    Hi,
    We started adding Oracel 10g Databases to our IDM-Resources.
    When provisioning users into Oracle 10g Resource we get the following Exception:
    com.waveset.util.WavesetException:
    Error trying to update Oracle user 'G2814' ORA-30041:
    Cannot grant quota on the tablespace
    java.sql.SQLException: ORA-30041:
    Cannot grant quota on the tablespace Since we already removed the oracleTempTSQuota-Attribute I assume that the adapter overwrites null values internally.
    Any hints how to solve this problem?
    Thanks in advance...
    Oracle-Docs:ORA-30041: Cannot grant quota on the tablespace
    Cause: User tried to grant quota on an undo or temporary tablespaceIDM_Technical_Reference_2005Q3M1 refernces Oracle 10g as supported resource

    There is no need to give quota on temporary tablespace, because you will never create objects on a temporary tablespace
    It is a wrong assumption to think that your temporary space usage will be limited by a quota.
    The fact that you can "grant" quota on a temporary tablespace is rather a bug, which is fixed in 10gR2
    Re: Cannot grant quota on tablespace
    This bug is not fixed in IDM 6.0 SP1.

  • Audit in Oracle 10g

    Hello,
    Just a quick question,
    I setup the audit for one oracle user on Oracle 10G :
    AUDIT ALL BY myuser BY ACCESS;
    AUDIT SELECT TABLE, UPDATE TABLE, INSERT TABLE, DELETE TABLE BY myuser BY ACCESS;
    AUDIT EXECUTE PROCEDURE BY myuser BY ACCESS;
    now, Where can I found the information about the audit? in which views?
    Thanks all,;

    SQL> show parameter audit
    NAME                                 TYPE        VALUE
    audit_file_dest                      string      /u01/app/oracle/admin/TEST/adump
    audit_syslog_level                   string     
    audit_sys_operations                 boolean     FALSE
    audit_trail                          string      NONE
    SQL>

  • Free download of Oracle 10g & JDeveloper 10g(10.1.2.1)

    I am a new user of Oracle 10g.After downloading oracle10g from ur site,i was not able to access it on my desktop.The message i see on screen is 'to open this file windows needs to know what programme created it.'
    I run Microsoft Windows Xp 2002 version on my system.I thought i should download JDeveloper 10g(10.1.2.2) maybe it might open the file but whot i see on my screen after i have completed the download & i try to open is 'fail to load main-class manifest attribute from c:\documents & settings\....(name of file).'
    Pls tell me the procedures/tools that i need to enable Oracle 10g to successfully run on my system.
    Thanks for your anticipated assistance.

    The files you download from OTN are zip files, so you'll need to unzip them. One thing to make sure is that you unzip keeping the sub-directory structure.
    If you are just starting out with JDeveloper - start with JDeveloper 10.1.3 - there is no reason to start with an older version of JDeveloper.

Maybe you are looking for

  • Problem in using setDataBuffer( ) in vc2005

    Help!!! I have following code that is trying to insert two rows data at a time. I use setDataBuffer( ) function to pass the data. However, I got exception when it runs to the first statement of setDataBuffer( ). The error message is Unhandled excepti

  • Plsql interview question

    HI, this is a interview question, being a fresher i couldn't guess the correct answer and the reason for it, please guide me with this question : there is a procedure named p1 and it belongs to schema X and schema X has given execute permission on pr

  • AAF linking to external media

    hi we are an audio post production house. we're working on a drama series where we need to retain sound file metadata in the AAF/OMF when it is exported from FCP, so we can auto-link to the sound recordists rushes in Pro Tools. the only way metadata

  • GPU accelerated performance

    Hi, Further to the recent posts regarding GPUs, Will only Adobe-certified GPUs work with Mercury Playback Engine, for accelerated performance? Or is the certified list only a list of GPUs that are garanteed to work, but some other GPUs not listed may

  • IMac - Need help deciding.

    Hello Forumers. Bit of a dilema here, I was so chuffed to see the new iMacs untill I realised they dont support "Target input" from PS3 or TV etc .. Well correction they do but only through Thunderbolt, which there is no adapter that allows this conn