Waiting for CPU: what exactly does that mean?

Hi all

I worked on this database (11.2.0.3 on AIX 6.1) try to improve the performance of certain lots of an ERP system developed by my company. These are all processes that work very well in other environments, but here the clock times are horrible for the load and I was seeing 10% CPU, 90% CPU waiting for almost every process. This is the last section of a very long trace file where you can see the invisible "wait."

I know not how to do this: if I run something in the OS with a higher priority than to Oracle, what I will get. "Lack of processor" according to me, is the name for it. My question is: what else can cause this? If the OS say that nothing was on the computer, how can I study the root cause?
OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS

call     count       cpu    elapsed       disk      query    current        rows
------- ------  -------- ---------- ---------- ---------- ----------  ----------
Parse   762529      3.24      16.60          0          3          0           0
Execute 8334641   5593.35   51349.14     344238    2115862   12349440     1341634
Fetch   7048666   1142.66    5978.90     385152   58108531       2068     7944263
------- ------  -------- ---------- ---------- ---------- ----------  ----------
total   16145836   6739.25   57344.65     729390   60224396   12351508     9285897

Misses in library cache during parse: 734
Misses in library cache during execute: 731

Elapsed times include waiting on following events:
  Event waited on                             Times   Max. Wait  Total Waited
  ----------------------------------------   Waited  ----------  ------------
  db file sequential read                    620864        0.62       4858.21
  Disk file operations I/O                       42        0.00          0.00
  latch: shared pool                              8        0.04          0.06
  asynch descriptor resize                        6        0.00          0.00
  direct path write temp                          2        0.01          0.01
  direct path read temp                          94        0.03          0.57
  db file scattered read                       2129        0.44         23.90
  log file switch completion                     15        0.12          0.98
  latch: cache buffers lru chain                  2        0.00          0.00
  resmgr:cpu quantum                             15        0.00          0.03
  latch: object queue header operation            2        0.00          0.00

 8180  user  SQL statements in session.
  609  internal SQL statements in session.
 8789  SQL statements in session.
  288  statements EXPLAINed in this session.
********************************************************************************
Trace file: dbkpv_ora_811258_ARREC_BXA_AUTOMATICA.trc
Trace file compatibility: 11.1.0.7
Sort options: prsela  fchela  exeela  
       1  session in tracefile.
    8180  user  SQL statements in trace file.
     609  internal SQL statements in trace file.
    8789  SQL statements in trace file.
     754  unique SQL statements in trace file.
     288  SQL statements EXPLAINed using schema:
           KIPREV.prof$plan_table
             Default table was used.
             Table was created.
             Table was dropped.
 25357662  lines in trace file.
   57345  elapsed seconds in trace file.

marcusrangel wrote:
don't you think that it is possible that tracing would cause such a huge head?

Your trace file contains 25 million lines, that is a significant amount of write operations, to be compared with the information that reads one-piece 620K consume dry 4858.
It is necessary to note that writing in the trace file leads to loss of time only when it is caused between measure of elapsed time from a visit to the database. But even if the write operation is due to the outside to measure the time of the call for a database (for example, information about a call, as FETCH #) it can be inside some call parent and will be included in the duration of the call of the mother.
If you are interested in the details of this process, I prepare an article on this topic in my blog.

I would therefore recommend to reproduce a similar load without follow-up.

Published by: Alexander Anokhin on 12.07.2012 22:07

Tags: Database

Similar Questions

  • "Bluetooth is not supported by any version of windows servers... what exactly does that mean?

    I am trying to set up a bluetooth connection between my mobile (Nokia X 6) and the new Acer lap top of page that is running windows 7.  In the past, when using Vista and my Samsung phone it was easy through "control panel."  With this new Windows7 however, it does seem to be an option to set up bluetooth.  There is however "help" a section ' how to set up bluetooth or other wireless connections, which begins by saying that you can transfer information via bluetooth and other wireless means, he then goes on to describe these "other" methods wireless, adding a note that "Bluetooth is is not supported by any version of windows server.  The lap top itself has a long side button Wi - Fi bluetooth button, which don't "turn on" or turn on when I press on it.  I'm not very technical interest and just use the computer for my music and photo organizing and other simple functions.  Apologies if it sounds ridiculous, but I think I'm getting conflicting information, is always available for use with windows bluetooth 7, if so does that mean say "he is not supported by windows servers?  I just want to know if I forget something really obvious or if I should stop trying altogether with all bluetooth and focuss on other file transfer methods?  All the advice in plain language or pointing me in the right direction will be so appreciated, thank you very much Frances

    Turn off the laptop and look at the bottom of this one.  If it doesn't have Bluetooth installed, there will be a white sticker with BLUETOOTH printed on it.

    You don't have an edition of Windows Server.  Those who would be Windows Server 2003, Windows Server 2003 R2, Windows Server 2008 and Windows Server 2008 R2 and a bit like Vista and Windows 7, they come in many varieties, Web, Standard, Enterprise, data and 32 and 64-bit editions.

    When you go into the Control Panel, you see an icon for Bluetooth?  Bluetooth does appear in Device Manager?

  • When the metric of attribute CONFIG = "TRUE", what exactly does that mean?

    I am confused with the explanation in the document < scalability of Oracle Enterprise Manager 10 g Release 4 (10.2.0.4) B40007-01 >, he said ' CONFIG: this is a special designation for CONFIGURATION settings that are downloaded
    differently by the EM framework. ». I mean what's the point when set CONFIG = "TRUE"? For example, how could I understand the code below.

    < Metric NAME = "MYSQL_MYSQL_DB_VAR" TYPE = "RAW" CONFIG = "TRUE" >
    < display >
    < NLSID label = "mmd_MYSQL_MYSQL_DB_VAR" > MYSQL_MYSQL_DB_VAR < / Label >
    < / display >
    < TABLE_NAME = "MGMT_EMX_MYSQL_DBVAR" TableDescriptor >
    < ColumnDescriptor NAME = "Nom_de_variable" COLUMN_NAME = "Nom_de_variable" TYPE = "STRING" IS_KEY = "TRUE" / >
    < ColumnDescriptor NAME = 'Value' COLUMN_NAME = "VALUE" TYPE = "STRING" IS_KEY = "FALSE" / >
    < / TableDescriptor >
    < ExecutionDescriptor >
    < NAME getTable = "MysqlVariables" / >
    < NAME GetView = "v_result" FROM_TABLE = "MysqlVariables" >
    < Column NAME = "Nom_de_variable" = "Nom_de_variable" TABLE_NAME COLUMN_NAME = "MysqlVariables" / >
    < Column NAME = 'Value' = 'Value' TABLE_NAME COLUMN_NAME = "MysqlVariables" / >
    < / GetView >
    < / ExecutionDescriptor >
    < / metric >

    Thank you

    Satine

    Hello Satine,.

    A brief response to your query '... ". When a metric is defined on CONFIG = TRUE, the wog is used only to record data and not used for the alert? "is - Yes.

    An explanation of detalied is:
    By definition, a configurable parameter should not trigger an alert. Alert is usually for surveillance and performance measures and not the configuration settings. This is one of the logic that drives the current design you see in MS. Yes, there are policies that can be set for these parameters.

    ECM framework allows you to save the configuration on a regular basis (collection frequency defined in the default collection file), save the configuration, display the history and compare configurations (for example, last configuration current configuration vs known OR saved the configuration of the target vs saved to target configuration B).

    Ragarding MySQL 'official' plug-in, the author (Alex) of the plug-in already posted a message on this thread. My recommendation is to take advantage of the existing range and provide your needs (assuming that is not available out-of-box via the plug-in). Of course, as you have said - it is something that is decided by someone else.

    Kind regards
    -Gaara

  • I have a purchased copy of PhotoShop Elements 9.  When I run it now I get an error message - error: 213:19.  What does that mean?  How to use the software I paid?  Thanks a lot for your help!

    I have a purchased copy of PhotoShop Elements 9.  When I run it now I get an error message - error: 213:19.  What does that mean?  How to use the software I paid?  Thanks a lot for your help!

    See here:

    In Photoshop Elements license error

  • When I connected to adobe photoshop for the first time with my adobe ID and password on my lap top, it couldn't connect and gave me "error 400".  What does that mean?

    When I connected to adobe photoshop for the first time with my adobe ID and password on my lap top, it couldn't connect and gave me "error 400".  What does that mean?

    Hello

    Please visit Adobe Creative Cloud connection errors

    Hope that helps!

    Kind regards

    Sheena

  • activate my membership and paid for it as well, but the creative cloud app shows only the trial versions of the programs? What does that mean? Cause I followed the installation steps, and when I try again it says my installation code has already been

    I activated my subscription and paid for it as well, but the creative application cloud shows only the trial versions of the programs? What does that mean? Cause I followed the installation steps, and when I try again it says my installation code has already been activated?...

    Kindly Contact customer and details of payment verified. [Make sure that you are connected to the Web site with the valid Adobe ID under which the product is licensed].



  • I have a subscription for photography (photoshop/lightroom) after a few days of testing, but the window of my creative cloud always tells me that I have 25 days to test and he should buy photoshop. What does that mean?

    I have a subscription for photography (photoshop/lightroom) after a few days of testing, but the window of my creative cloud always tells me that I have 25 days to test and he should buy photoshop. What does that mean?

    Hi Kai,

    Please check the help below document:

    Applications creative Cloud back in test mode after an update until 2015 for CC

    However, the Adobe ID on the forums has no active members under him. Please confirm the other Adobe Id under which the subscription can be.


    Kind regards

    Sheena

  • Why do I get a message saying 'you are running an operating system that InDesign can't. See the system requirements for a complete list of the supported platforms. » ? What does that mean?

    Why do I get a message saying 'you are running an operating system that InDesign can't. See the system requirements for a complete list of the supported platforms. » ? What does that mean?

    This means that your machine does not meet the requirements of system for InDesign.  Check the system requirements for InDesign against those of your machine to see where your machine is delivered in default.

    InDesign - http://helpx.adobe.com/indesign/system-requirements.html

  • Trying to submit a new podcast, I get the error "unable to analyze your diet." What does that mean?

    Trying to submit a new podcast, I get the error "unable to analyze your diet." What does that mean?

    There is nothing else with the error (I see references to problems with the exact lines of the RSS, but I don't get everything).  RSS feed works fine in a different podcast player.

    Here's the .xml file:

    http://www.iTunes.com/DTDs/Podcast-1.0.DTD"version ="2.0">

    Podcast of Mo

    http://psychicreform.com/mosports/

    http://psychicreform.com/mosports/mosports.xml"rel ="self"type =" application/rss + xml"/ >

    en - us

    ℗ & © 2016 MB Podcast

    Sport sports sportsman with the sportster sport doctor David Overbey

    Dr. David Overbey and Alan Miller

    Sports news weekly and reviews by a true fanatic with a souvenir terrifying sports Trivia.  Recorded without notes or internet for Dr Overey.  Seriously, no notes.

    This podcast addresses all kinds of sports, but especially of college sports with a focus on the United Kingdom and uofl's of baseball and basketball, Arizona Cardinals football and baseball for the St. Louis Cardinals.  Did I mention Mr. Overbey do not use notes or have a computer to access the internet?

    Podcast with Dr. David Overbey MB

    [email protected]

    http://psychicreform.com/mosports/160212-mosports_dave_itunes.jpg"/ >

    Yes

    MO Episode 6

    Podcast of Mo

    Podcast of MB 6 2/8/2016

    Dave fights on the screwing of the superbowl so exactly opposite prediction, more info on the uofl's basketball situation and tries to project a future for UK it is possible but unlikely.

    http://psychicreform.com/mosports/160208-006-MoSports.MP3' length = "4540370" type = "audio/mpeg" / >

    http://psychicreform.com/mosports/160208-006-MoSports.MP3

    Saturday, January 9, 2016 17:00:01 CEST

    01:07:10

    Super Bowl, sports, United Kingdom, University of kentucky, kentucky, University of louisville, u of l Cardinals, nfl, nba, mlb, basketball, football, baseball

    MO Episode 5

    Podcast of Mo

    Podcast of MB 5 5 2, 2016

    Dave establishes a uofl's rant for ages, UK is just not very good this year, and he predicted that the Panthers will win by 14.

    http://psychicreform.com/mosports/160205-005-MoSports.MP3' length = "32525946" type = "audio/mpeg" / >

    http://psychicreform.com/mosports/160205-005-MoSports.MP3

    Saturday, February 6, 2016 17:00:01 CEST

    00:34:45

    Super Bowl, sports, United Kingdom, University of kentucky, kentucky, University of louisville, u of l Cardinals, nfl, nba, mlb, basketball, football, baseball

    MO Episode 4

    Podcast of Mo

    Podcast of MB 4 1/12 / 2016

    Dave speaks of the NFL and NCAA playoffs.

    http://psychicreform.com/mosports/160112-004-MoSports.MP3' length = "57652357" type = "audio/mpeg" / >

    http://psychicreform.com/mosports/160112-004-MoSports.MP3

    Wednesday, January 13, 2016 17:00:01 CEST

    01:05:39

    NFL, sports, United Kingdom, University of kentucky, kentucky, University of louisville, u of l Cardinals, nfl, nba, mlb, basketball, football, baseball

    MO Episode 3

    Podcast of Mo

    Podcast of MB 3 1/4/2016

    Dave expects the United Kingdom including future lsu and alabama at clemson in hand picking the past.

    http://psychicreform.com/mosports/160104-003-MoSports.MP3' length = "46250012" type = "audio/mpeg" / >

    http://psychicreform.com/mosports/160104-003-MoSports.MP3

    Sunday, January 10, 2016 17:00:01 CEST

    01:01:15

    Sports, United Kingdom, University of kentucky, kentucky, University of louisville, u of l Cardinals, nfl, nba, mlb, basketball, football, baseball

    MO Episode 2

    Podcast of Mo

    Mo 2 Podcast 12/30/2015

    Dave has predicted the future in hand picking the past.

    http://psychicreform.com/mosports/151230-002-MOSports.MP3' length = "62485146" type = "audio/mpeg" / >

    http://psychicreform.com/mosports/151230-002-MOSports.MP3

    Sunday, January 10, 2016 17:00:01 CEST

    01:22:17

    Sports, United Kingdom, University of kentucky, kentucky, University of louisville, u of l Cardinals, nfl, nba, mlb, basketball, football, baseball

    MO Episode 1

    Podcast of Mo

    Mo 1 Podcast 12/25/2015 the Inaugural episode

    Dave and Alan are joined by the brother of Alan David talk UK v. uofl's and a few other sports.

    http://psychicreform.com/mosports/151225-001-MOSports.MP3' length = "35638537" type = "audio/mpeg" / >

    http://psychicreform.com/mosports/151225-001-MOSports.MP3

    Wednesday, December 30, 2015 17:00:01 CEST

    00:40:45

    Sports, United Kingdom, University of kentucky, kentucky, University of louisville, u of l Cardinals, nfl, nba, mlb, basketball, football, baseball

    Please always post the URL of your feed, not its content. I'm assuming that your workflow is the one mentioned in the tag "atom: link".

    http://psychicreform.com/mosports/mosports.XML

    Feed validators are complaining that this line contains a prefix of "independent". I think it's probably because in the second line, "rss.xlmns" it does not mention "atom", only "itunes" - the URL in this line indicates the feed reader RSS how to interpret the tags for this application. Without link for 'atom', the tag is meaningless to readers, and it is marked as an XML error, which is enough to cause the feed unreadable. There is no need to have this line (Atom is a very old RSS reader which I doubt anyone uses now) and you'd better remove that line altogether, either that or somehow insert the URL of the atom, which seems to be "xmlns:atom ="http://www.w3.org/2005/Atom"" so that the second line would read as follows: "

    http://www.iTunes.com/DTDs/Podcast-1.0.DTD"xmlns:atom ="http://www.w3.org/2005/Atom"version ="2.0">"

    You will need to take one or the other or the feed will continue to be unreadable.

  • What does that mean? No suitable decoder module:

    What does that mean?

    No suitable decoder module:

    VLC does not support the audio or video format "zizou." Unfortunately there is no way for you to solve this problem.

    It opens well and played - it was not all sounds.

    ===================================
    I think VLC should play the audio and video
    the file is possibly corrupted.

    And maybe convert the file to a different format
    would be the fix.

    There are to many converters available on the net...
    some free, some details... the following freeware is
    just an example:

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Freemake Free Video Converter (freeware)
    http://www.Freemake.com/free_video_converter/
    (Windows XP / Vista / 7)
    (* Read * all * the installation screens... it)
    may be a few items you want to unmark *)

    When you have installed Freemake... Open Freemake
    and drag and drop your video files on the main screen.

    Or... Click left on the video button and navigate to the
    your video files are saved in the folder.

    Select (highlight) the files you want to import into
    Freemake and left, click on the button 'open '.

    When video files are imported into Freemake,
    On the left, click the WMV icon at the bottom of the screen.

    The 'WMV output settings' screen opens.

    Choose a folder ' save in ', so you can find the
    converted files.

    On the left, click the "Convert" button and wait for the files
    to convert.

    That should do it...

  • The name of my email in thunderbird now has a display of Paddle lock on it. What does that mean? Can I go there?

    When I open thunderbird and get connected my Email at the top of my thunderbird email address name has a Paddle lock on it. What does that mean? Can I go there? I use a VERIZON email address. On the last 2 days I did not have down load one of my incoming emails. He keeps asking me my password I type in and then he said: its incorrect. After you return my password, I get an error message says 0012 # incorrect password. Is thunderbird is or has happened since the new update for version 31.1.2? I need help.

    The padlock indicates a secure server connection. You don't want to get rid of it.
    Please check with Verizon if something has changed on their end.
    https://support.Mozilla.org/en-us/KB/problems-sending-and-receiving-messages

  • Shuts off and won't come back on iPad. Just shows the Apple logo. Does that mean and what should I do now?

    When I woke up yesterday morning after charging my ipad I just couldn't turn my ipad until I plugged in the laptop... worked well

    Yet once, I woke up this morning it's the same thing, but now all I see is a dim apple logo and it will turn back not... do not update AFAIK.

    Does that mean and what should I do?

    Try a forced reboot and see if that fixes it. Hold on the sleep and home buttons at the same time for about 10 seconds until the Apple logo appears on the screen.

  • I am trying to download images from a compact flash player map, but every time my computer shows i/o device error. What does that mean?

    I am trying to download pictures from a card compact flash player map, but every time my computer shows i/o device error. What does that mean?

    Hi Richard,

    1. what version of Windows you are using on the computer?

    2. have you checked if the problem persists in a different USB port and in another computer?

    3 - is the card compact flash not detected in Device Manager?

    A Secure Digital or SD memory card is a device of small portable storage usually used on a digital camera or camcorder, cell phone, or computer system. When you use the card, you may sometimes experience an IO error. The term "i/o" is refers to an input/output error and may involve the SD itself card or the card reader you are using.

    Try these methods:

    Method 1: Try to run the hardware troubleshooter and check what the problem is and fix it accordingly.

    Follow the link below a convenience store opened.

    http://Windows.Microsoft.com/en-us/Windows7/open-the-hardware-and-devices-Troubleshooter

    Method 2:

    Eject the SD card in the card reader and check the writing on the side protection tab. This tab should be in the up position; otherwise, you will not be able to save all data on the card. Also check the connection between the computer and the SD card reader. If the card reader is not properly connected to the computer, you will receive error messages when you try to use the SD card or your computer does not recognize the card.

    Response with more information to help you. Back to us for any problem related to Windows. We will be happy to help you.

  • How to remove image files i've got duplicates when it says I can't do it because the file is open in another program? What does that mean?

    How to remove image files i've got duplicates when it says I can't do that because the folder is open in another program? What does that mean?

    Hello

    • What version of Windows are you using?
    • What were the changes made before the problem occurred?

    Follow the steps in this given link and check if that helps.

    Method 1: check out the link below and follow the steps

    Access the link for more information about the error you receive below:

    Why can't I delete a file or a folder?

    http://Windows.Microsoft.com/en-us/Windows7/why-cant-I-delete-a-file-or-folder

    Method 2: you can also try to remove the file getting mode without failure.

    Access the link below to learn more about Safe Mode:

    Start your computer in Mode safe:

    Method 3:
    Once you face this problem you can check in Manager tasks if there is an executed program attached to it.

    a. right-click on the taskbar and click Task Manager.
    b. in the Windows Task Manager window, go to 'Process' and check if there is no program associated with those files.


     
  • My computer has stopped downloading of updates due to an era 8007000 b. What does that mean?

    MY computer has stopped downloading of updates due to an era 8007000 b. What does that mean? Donald strickland

    Hello donaldstrickland,

    Thank you for using Microsoft answers Forums.

    Solution:

    Windows Update, Error 8007000 b

    If you receive the 8007000 b error when you try to install updates for Windows 7, the Windows file system transaction log is damaged. The transaction log is used by the Windows file system to recover when a file error occurs. To correct this error of update, you clear the log. Here's how:

    To clear the file system transaction log

    1. click on the Start button and in the search box, type command prompt.

    2. in the list of results, right-click Guest, and then click Run as administrator.  If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    3. at the command prompt, type the following command and press ENTER. (This command assumes that drive C is the drive where Windows 7 is installed. If Windows is installed on another drive, change the drive accordingly letter.)

    true fsutil resource setautoreset C:\

    4. you should see a message saying that the operation was completed successfully. If this is not the case, check your spelling and try again.

    5 Type Exit and press ENTER to close the administrator: command prompt.

    6. restart your computer.

    7. download and install the update again.

     

    That should solve the problem.


    Thank you.

     

    UDAY $012 please let me know that whether the solution worked or not, I thank you and appreciate your comments. URGO

Maybe you are looking for