Wait Time / Timeout Time in waiting events

Hi,
From manual, I came to know that some of waiting events having wait time or time out duration. I have not understood, what happens if it has reached timeout. What happens next ? ( Will you explain in more detail ). It saysl it will renew wait event. ( I have not understood what does mean "RENEW", Or what steps will be taken by Oracle, what happens if again reached timeout ) ?
Thanks for clearing my doubt in detail.
regards
pjp

Please read the FAQ and learn how to enclose your listings in tags so we can read them.
I can't help you at this time because I can not read what you posted.                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Metrics "Database Time Spent Waiting (%)" is at ... for event class "Commit

    Hi guys
    I'm getting this warning every 20 minutes from Enterprise Manager 10g: Metrics "Database Time Spent Waiting (%)" is at 67.62891 for event class "Commit". My database is an Oracle 10g 10.2.0.4 (Linux x84_64) with dataguard, one physical and one standby networked at 100Mbit. I have 3 groups of 50M redo log with a low volume of transaction for now. Here are some metrics numbers:
    SQL> select sum(seconds_in_wait),event from v$session_wait group by event;
    SUM(SECONDS_IN_WAIT) EVENT
    121210 SQL*Net message from client
    0 Streams AQ: waiting for messages in the queue
    18 wait for unread message on broadcast channel
    6 LNS ASYNC end of log
    30 jobq slave wait
    37571 rdbms ipc message
    384 smon timer
    35090 pmon timer
    I tune the my listerners for Dataguard using the documentation. I don't know what to tune anymore, is someone has a clue.
    Thanks,
    Chris

    cprieur wrote:
    Metrics "Database Time Spent Waiting (%)" is at 67.62891 for event class "Commit"
    I'am also getting this message at a regular time:
    Metrics "Database Time Spent Waiting (%)" is at 64.09801 for event class "Network"
    The report, I was sent only to indicate the time spent on: SQL*Net message from client
    I believe that these metrics are explained here (near the bottom of the page):
    http://download.oracle.com/docs/cd/B19306_01/em.102/b25986/oracle_database.htm
    There are only two wait events in the Commit class (on 11.1.0.7):
    log file sync
    enq: BB - 2PC across RAC instances
    log file sync waits happen when sessions issue a COMMIT or ROLLBACK. Sessions will wait on this event until LGWR completes its writes to the redo logs (LGWR will likely wait on the event log file parallel wriite while waiting for the write to complete). I believe that your DataGuard configuration may contribute to the long waits experienced by LGWR, and it may be made worse by the network connection.
    http://download.oracle.com/docs/cd/B28359_01/server.111/b28294.pdf
    "Maximum availability - This protection mode provides the highest level of data protection that is possible without compromising the availability of a primary database. Transactions do not commit until all redo data needed to recover those transactions has been written to the online redo log and to at least one standby database."
    So, if Maximum availability is configured, the sessions will have to wait for the redo to be applied to the remote database.
    At the system-wide level you will almost always be able to ignore the SQL*Net message from client wait events. At the session level this wait event has a more significant meaning - the client computer is not actively waiting on a response from the database instance - the client is either sitting idle, or performing client-side processing.
    Sybrand, if he joins this thread, will likely be able to provide a more complete answer regarding DataGuard's contribution to the Commit wait class.
    Charles Hooper
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

  • Waiting (%)     Metrics "Database Time Spent Waiting (%)" is at 69.64818 for event class "Commit"

    Hi,
    Can any one help me on this warning, i got this warning on ORACLE ENTERPRISE MANAGER
    Waits by Wait Class
    Database Time Spent Waiting (%)
    Metrics "Database Time Spent Waiting (%)" is at 69.64818 for event class "Commit"
    Below are our environment details:
    RDBMS: 10.2.0.4
    Oracle E-Business suite: 12.0.6
    OS: Oracle Sun 10
    Please suggest.
    Thank you.

    Please see the following docs.
    How to Disable Alerts for The Database Time Spent Waiting (%) Metric? (Doc ID 1500074.1)
    "Database Time Spent Waiting (%)" at 100 for Event Class "Other" when Database is not Under Load (Doc ID 1526552.1)
    Thanks,
    Hussein

  • Metrics "Database Time Spent Waiting (%)" is at 23,02268 for event class "C

    Hi,
    on 10g,
    I have this alerte in DB control home page :
    Metrics "Database Time Spent Waiting (%)" is at 23,02268 for event class "Commit"
    Should I do any action/correction ?
    Thank you.

    user522961 wrote:
    Thank you.
    Here is the result :
    SQL> select sid, event, p1, p2, p3 from v$session_wait where event not in ('SQL*Net message from client', 'rdbms ipc message', 'pipe get', 'PL/SQL lock timer',
    'pmon timer');
    SID EVENT                                                                    P1         P2      P3
    163 jobq slave wait                                                           0          0       0
    165 Streams AQ: waiting for messages in the queue                          8808  875118900       5
    166 SQL*Net message to client                                        1413697536          1       0
    167 wait for unread message on broadcast channel                      865275080  865241852       0
    169 Streams AQ: qmn slave idle wait                                           0          0       0
    170 Streams AQ: waiting for time management or cleanup tasks                  0          0       0
    179 Streams AQ: qmn coordinator idle wait                                     0          0       0
    194 smon timer                                                              300          0       0
    8 rows selected.Regards.As per above result, it seems there was no critical wait event or something occurs during frequent commits.
    If you know which application or batch processing caused this, for the best result, you should rerun this query during that workload.

  • Metrics "Database Time Spent Waiting (%)" is at 83.25965 for event class

    Hello,
    when i log into em console, i have alert below,
    "Metrics "Database Time Spent Waiting (%)" is at 83.25965 for event class "Commit"
    so, what do i need to do? i have no idea about this,
    is it a critical error? is there any solution?
    thank you
    Ugur

    Ugur MIHCI wrote:
    Hello,
    when i log into em console, i have alert below,
    "Metrics "Database Time Spent Waiting (%)" is at 83.25965 for event class "Commit"
    so, what do i need to do? i have no idea about this,
    is it a critical error? is there any solution?
    thank you
    UgurProbably what you would want to do in this case is to first determine which wait events are in that event class:
    {code}
    SELECT
    NAME
    FROM
    V$EVENT_NAME
    WHERE
    WAIT_CLASS='Commit';
    NAME
    log file sync
    enq: BB - 2PC across RAC instances
    {code}
    If you are not using RAC, the second of the above wait events probably does not apply. Next, you need to determine what the "log file sync" wait means, so you might do a Google search of the Oracle documentation. Assume that you are using Oracle Database 10.2.0.x - you would then search for:
    {code}
    site:download.oracle.com "log file sync" 102
    {code}
    In my search, the first link was a page from the Oracle Database Performance Tuning Guide:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/instance_tune.htm
    That page contained the following quote:
    "log file sync
    General area: I/O, over- committing
    Possible cause: Slow disks that store the online logs, Un-batched commits
    Look for: Check the disks that house the online redo logs for resource contention. Check the number of transactions (commits + rollbacks) each second, from V$SYSSTAT."
    Excessive waits for log file sync may also be caused by lack of available CPU time - an overloaded CPU.
    Charles Hooper
    Co-author of "Expert Oracle Practices: Oracle Database Administration from the Oak Table"
    http://hoopercharles.wordpress.com/
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

  • "Waiting for real-time target (RT PXI target) to respond" error when the program waits interrupts

    Hi there,
    I have developed an application to detect interrupts generated by a electronic card and act in consequence. The program has been developed in labview but it calls a dll; that was created with labwindows. The dll is programmed to open the visa communication, enable events and install the interrupt handler and when an interrupt is detected, it reads the value of the different registers of the card and returns it to labview to visualize them. 
    The problem is that when the program waits for an interrupt, a prompt appears with the message "Waiting for real-time target (RT PXI target) to respond" and the only option I have is to click on the button to disconnect from the pxi or just wait. If I wait and I generate an interrupt, the prompt disappears and the application visualize the data like it was expected. 
    To wait for the interrupt the following code has been programmed in the function:
                    while (flag == 0)
                                    Sleep (1000);
    When an interrupt occurs, the value of flag changes to 1 and the function continue without any problem. I am not really sure, but probably here is the problem and probably this is not the best way to wait for an interrupt because the sleep function suspends the thread for the configured time, but at least the computing load in the PXI is between 0% and 1%. I was wondering if somebody knows how to wait for an interrupt without "lost" the communication with the PXI and if there is a better way to do it. 
    Any answer will be welcome and thanks for them,
    Jaime
    Solved!
    Go to Solution.

    Hello Naity,
    First of all, in which thread runs the waiting process? Is it scheduled in another thread than the function setting the flag?
    It scheduled in the same thread that I use to configure the communications and configure the card. Anyway, here is the pseudo code of the function interrupt that I programmed under labwindows,.
    char* interrupt(void)
    1. Open visa communications
    2.Install handler interrupt --> status = viInstallHandler (instr, VI_EVENT_PXI_INTR, IntrHandler, VI_NULL);   // the function IntrHandler will be called when an interrupt occurs
    3. Enable event PXI interrupt
    4. Wait
    while (flag == 0)
                  Sleep (1000);
    5. Visualize the data coming from the interrupt (registers and values measured with the card)
    6. Uninstall handler interrupt
    7. Close visa session
    The interrupt handler function IntrHandler is called immediately when an interrupt occurs and the pseudo code is like this
    ViStatus _VI_FUNCH IntrHandler(ViSession instr, ViEventType etype, ViEvent event, ViAddr userhandle)
    1. Disable some functions of the card to avoid damages. 
    2. Read registers and put them in a buffer
    3. Change the value of flag ---> flag = 1;
    In labview, I call the function interrupt with a call library function node (see the capture attached) and the program reads and saves the data from returned from the function.
    Secondly, I am not sure this method is the most elegant. You could for example register an event with the function and, insteand of setting a flag to 1, trigger the event and schedule it in another thread (if the function is thread safe). This could reduce your CPU Load even more and seem a bit cleaner to me.
    I've never used events before in labwindows but I will try to do it in this way. But anyway, I suppose that I should; somehow, wait the event to occurs in labview while the waiting for the event is programmed inside the dll...and probably the same prompt that i am trying to avoid is going to appear again, because I am not returning the "control" to labview (I mean, labview executes the dll and waits for the event to occur. Then the execution of the labview program is stopped in the call library function node executing the dll)
    Third point, which environment of development are you using?
    I am working with LV 2010 sp1 and Labwindows cv 10.0.1 and with the real time module.
    I did also another test, I divided the program in different functions, one to initialize the communication, another to wait until a interrupt has been detected and the other to obtain the data from the interrupt and close communications. With labview I call first with the call library function node the function to initialize, later I call inside a while loop the wait function like this
    int waitAseconds (double seconds, short stop_waiting)
    if(flag==1 || stop_waiting == 1)
    flag = 1; //to detect the stop_waiting button
    printf("flagAA =1 stop waiting = %d time = %d\n", stop_waiting, clock());
    return flag;
    else
    SleepUS(seconds*1000000);
    //a++;
    printf("flag a= %d stop waiting = %d time = %d\n", flag, stop_waiting, clock());
    return flag;
     and when the program detects an interrupt, the function returns to labview the flag and stops the loop. Finally, it reads the values and close communications. 
    In this way, the prompt appears but after running the application for 10 or 20 minutes and also i checked that there is a time gap between the executions in the loop.
    Thanks for your reply and your help,
    Jaime
    Attachments:
    capture.png ‏40 KB

  • Hi, I can't load the videos from youtube or other sites for 2 days now. It waits a long time to open the videos, or waits until all the video is downloaded. It wasn't like that until 2 days ago. How can I fix this problem? Thanks in advance.

    can't watch videos, waits a long time to open it, or it never opens it.

    I have taken it back to the Apple store genius bar, but they say they don't see anything wrong. Well unless you use it all day and experience the problems when they happen, you wont see anything wrong. But there are lots wrong with it. But this would be the same store as I purchased the phone. And they backed up my old Iphone 4, but were not able to get anything to load back onto my new phone. So, I lost pretty much everything. But over time, some of my contacts have started showing up, although i am still missing over 800 of them.

  • If my iPhone was stolen and i want to reactive an old phone using that same number for the time being while i waited to see if I could get my iPhone back, would the iPhone still work while i was using a re-activated old phone of mine?

    If my iPhone was stolen and i want to reactive an old phone using that same number for the time being while i waited to see if I could get my iPhone back, would the iPhone still work while i was using a re-activated old phone of mine?

    If a new SIM is activated on the same account for the same number, any existing SIMs for that number are deactivated.
    Why exactly would you care if the SIM in the missing device still works or not?

  • ObjectInputStream's readInt method hangs after waiting a long time...

    Hi there, I have a multi-threaded application that makes massive use of ObjectInputStream/ObjectOutputStream... Basically what it does is that a client server sends a request to an other server who treats the request and once it's done sends back a return code. Until now, those requests were executed under 5 minutes. My app has been in production for a few years now without any problems... I started having problems when new kinds of requests were executed ( these new requests can take up to 3 hours to execute ). So, the client server waits all this time for the return code using the readInt() function. When the request is 2 hours or more, it seems as if the stream hangs and the readInt() method doesn't receive anything ( Even though the writeInt() method was indeed executed ). Even more bizarre, is that no exception what so ever is raised.
    Anybody has an idea of what is going on here?
    Thanks to all!

    Are you sure you are flushing the output after the writeInt() on the server?

  • Why does that entire thread goes to sleep when we put a wait function in time critical loop?

    why does that entire thread goes to sleep when we put a wait function in time critical loop but not when it is not time critical

    Norbert B wrote:
    Ujjval,
    in a RT system, priorities have (in general) increased effect on the execution of the application.
    It is recommended that you only have a single task in your RT program at "time critical". If you have two task "time critical" (that means you are running into issues caused by your quoted "feature"), you have a flaw in your application architecture.
    Since LV 7.1, it is recommended to work with Timed Loops in order to prioritize tasks on a RT system. Timed Loops are executed on priorities between "time critical" and "above normal". Each Timed Loop will execute its content in a single thread in order to keep a good overview of the timing (like finished late [i-1]). Using those structures (and according settings) in a reasoned manner will prevent your RT system to run into priority issues.
    Ujjval Shah wrote:
    [...]also i would really appreciate if i can get more documentations regarding how LV creates threads and assigns subvis to them[...]
    You will have a real hard time to go into this very deep. This is the feature of LV: you can just use multithreading (multicores) without the needed knowledge of scheduling and load balancing. This makes LV programming in general very easy in comparison to e.g. ANSI C (in regard of multithreading). So creation of threads, distribution of tasks to the threads are abstracted and most often not visible to the programmer.
    There are some switches and levers you can "play around" in order to make LV to behave differently in this matter. But this most often requires  deep LV knowledge and cannot be explained in a simple posting.....
    hope this helps,
    Norbert 
    Amen to that!
    The question can not be fully answered without digging into the internals of the OS LV is run on because LV works with the OS and lets it do the scheduling.
    Yes that note applies to pre- LV 7 RT. When run under RT the ONE Time Critical loop was guarenteed to stay determinisitic.
    Since then the Timed Loop was introduced that allowed multiple levels of priority and later allowed us to assign which CPU the code would run on.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Time out occurred while waiting for memory resources

    Team,
    I am have Microsoft SQL Server 2008 SP1( 10.0.2734.0) 64bit with application being SCCM 2007
    I am getting below error in SQL error log ::
    Error 8645: Severity 17, state 1
    A time out occurred while waiting for memory resources to execute the query in resource pool ‘internal’. Re-run the query.
    At first glance, i thought that it is issue of query not getting enough memory.
    Searched on google but could not get way to resolve it or issue creating factor.
    Chetan

    Well,
    Upgrade is what client is not willing to go for as of now.
    They have rebooted the server and as of now, their SCCM application is working fine ( Not sure how reboot has solve the issue). We are not getting the above mentioned error also in SQL Log.
    Looks like, rebooting server has cleared the memory jam.
    Chetan
    Restarting sql server service cleared buffer cache and any such query holding or requesting more memory so issue disappeared.  You just delayed the issue not solved it. Next time dont reboot find out the cause . If you want to check whether your SQL
    Server requires more memory have a look at below counters in link
    http://social.technet.microsoft.com/wiki/contents/articles/22316.sql-server-memory-and-troubleshooting.aspx#How_to_test_that_your_SQL_server_is_facing_memory_crunch
    If your say to business about what are drawbacks on running unsupported version I am sure they will apply SP3. There are loads of fixes and its quite possible your error may be related to any such fixed issue.
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • HT201274 My iphone4 is taking more than 5 hours to erase all the data still it is under process , still how much more time i have to wait for my mobile to ON

    My iphone4 is taking more than 5 hours to erase all the data still it is under process , still how much more time i have to wait for my mobile to ON ?

    I'm having this EXACT same problem with my iPhone 4, and I have the same computer stats (I have a Samsung Series 7)

  • Waiting for network time"?

    I thought I had set up Apple TV correctly, and paired it with my silver remote it came with, but whenever I turn it on now, the screen says "Waiting for network time". Has anyone else had this issue? I can't seem to find the answer online or in the manual of how to correct this.

    The "menu+down" reset did not help. It rebooted the Apple TV, but upon reboot it displayed the same message.
    Taking the device away from the hotel and to my in-laws house let me use it just fine while there. It recognized that it didn't have a network connection and I was able to tell it to join the WiFI and give it a password. I hoped at that point that when I took it back to the hotel that night it would have forgotten all about the hotel WiFi and let me configure it to join the ad-hoc network from the laptop. But no luck. The Apple TV still remembered the hotel WiFi and got stuck again.
    I guess the only way to make it forget a network once it's joined is the "restore" option, which reverts it to factory settings (meaning you'd have to re-apply the firmware update). I haven't done that yet, though I ought to while I'm at home and the thing is working, so I don't forget next time we take a trip to a Hampton inn and have it mess up again.
    It seems there ought to be a way to make it "forget" WiFi networks, like the iPad and Macs can. Of course it shouldn't get itself into a state where the remote doesn't function and the settings menu produces errors either.

  • Trying to download OSX Mountain Lion, but just says waiting all the time? Anyone know what this could be?

    Trying to download OSX Mountain Lion, but just says waiting all the time? Anyone know what this could be?

    You are not specific with your problem or errors but one thing that always throws people off is as follows:
    When entering you're login name you must use the entire login with carrier name such as [email protected] The field defults to just your name but not the carrier name.

  • After turning on, it takes much longer time to turn on. all the functions don't work.have to wait a long time

    After I turn on my macbook, it takes a much longer time to turn on. I can move around the arrow, but nothing works. I tried to click every app, no response. I have to wait a long time and then everything works. Did I do something wrong?
    Thanks

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

Maybe you are looking for

  • Enterprise Manager can't show web-service in the web-services area

    I'm deploying my application(stateless web-service) it work's well, but Enterprise Manager show that it's not a web-service, it can't show application in the web-services area, this fuсking server have many-many-many bugs and errors (fuсking develope

  • Scale base value with price discrepancy credit note

    Hi gurus, I have a problem in which credit notes for price discrepancies are having direct effect over scale base value in structure S060. I tried to modify the update rules, but found out this is hard coded for this structure. The other solution wil

  • Is It possible to run Call of duty 4 on the 17 Macbook Pro Early2009?

    I'm having goodtime with DOOM3 playing on my 17' MacbookPro. But Mac gets really high temp and fan is noisy. When I run Call of Duty 4, what happened is everytime freezed in the 30 mitutes. Do I need to report to Apple or set some nice cooldown syste

  • ACROBAT XI DOWNLOAD QUESTION

    I tried to download the Acrobat XI trial offer, but it didn't complete.  Now all I have on my desktop is the icon for Adobe Download Assistant.  What do I need to do to complete the download?

  • Passing characters in URL

    Hi all Was just wondering if there is any way of getting past passing specific characters in the URL.. On my music website I have found that if a song has # or & or ( or ' in the title, the link will not work... for example if you navigate to the rel