How to resolve wait event

according to statspack report top five waits events are:-
Event Waits Time (s) Ela Time
db file sequential read 15,496 651 55.53
CPU time 470 40.09
control file parallel write 643 15 1.26
log file sync 518 13 1.14
db file parallel write 252 10 .85
But how can i resolve these events.Please help me. I am not well aware about tuning aspect.
Thanks in advance

You input is very restricted, no one can't really advice on this. You would have given more info.
As you can see, 'db file sequential read' is the top most wait event. Which mean, you are using wrong index or index doesn't required. Look at the top sqls in the stats pack nd tune them.
This also due to the fact the your index statsitics are not providing enough good info to optimizer.
Jaffar

Similar Messages

  • How to resolve SCOM event 1102

    i have deployed a test environment on my local machine and am using scom 2012 r2,it is throwing all 1102 error health service in bulk events rule\monitor cannot loaded,how can i resolve this issue,i  went through many forums but am unable to resolve
    the issue can someone help me out resolving this issue.
    Thanks &  Regards 
    Gaddam Suresh

    Hi,
    These events indicate that some of the workflows failed to load. If these are the core system workflows, these events could cause the issue.
    Please refer to the link below:
    Troubleshooting gray agent states in System Center Operations Manager
    http://support.microsoft.com/kb/2288515
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Monitor wait events thru OEM

    Hi,
    We have OEM (10.2.0.5) and how to monitor wait events thru OEM and where do we find them? I checked under performance tab and couldn't find.

    Go to: Database Instance > Server Tab > Statistics Management > Automatic Workload Repository
    Click "Run AWR Report" for any time period you want. It looks like Statspack report and has all the wait events in that period.
    Another way is to Go to Performance Tab > Top Activity and click on a session in Top Sessions. It has a summary of waits for that session. You can change the drop down "Show Aggregated Data" to "Show Raw Data" to see breakdown of waits for the session.

  • How to resolve Library Cache Pin waits?

    Hai All,
    I grant a select privilage on a table to another user. Then my session hangs. after 5 minutes a message present that is 'ORA-04021: timeout occurred while waiting to lock object....' etc.
    I query the v$session_wait and see a Library Cache pin wait present in my session. I copy the p1raw column from here and put into some x$ tables and v$session then I can identify one session using a application using that table. I kill that session . then my grant privilage query works..
    So what is library cache pin waits.. How to identify in application...How to resolve it? it resolve in database level or application level?
    Please Help..
    Shiju

    Most common cause of library cache pin wait event are
    -- Not use binding variables in the query
    -- Some one keeps modify the schema objects
    library cache pin
    This event manages library cache concurrency. Pinning an object causes the heaps to be loaded into memory. If a client wants to modify or examine the object, the client must acquire a pin after the lock.
    Wait Time: 3 seconds (1 second for PMON)
    Parameter Description
    handle address Address of the object being loaded
    pin address Address of the load lock being used. This is not the same thing as a latch or an enqueue, it is basically a State Object.
    mode Indicates which data pieces of the object that needs to be loaded
    namespace See "namespace"

  • How to resolve PL/SQL lock timer event

    We have EBS 11.5.10.2 on 9.2.0.8 db. the Accrual Reconciliation Rebuild Manager program always stuck on wait event PL/SQL lock timer. I want to know how to resolve the wait event. I use below query to identify wait
    SELECT vs.sid,vs.serial#,vs.inst_id,vs.osuser,vw.event,vw.p1,vw.p2,vw.p3 ,vt.sql_text , vs.program
    FROM gv$session_wait vw, gv$sqltext vt , gv$session vs
    WHERE vw.event = 'PL/SQL lock timer'
    AND vt.address=vs.sql_address
    AND vs.inst_id = vw.inst_id
    AND vs.sid = vw.sid;
    Thanks in Adv.

    Many concurrent managers in eBusiness Suite implement "sleeps" so that they they wake up to check fnd_concurrent_requests every N minutes.
    I would ignore this wait event (but i would check to see that the managers don't have very short sleeps and aren't scanning the requests queue too frequently and/or that there aren't too many manager processes doing such).
    Hemant K Chitale
    http://hemantoracledba.blogspot.com
    BTW: Are you very sure that the waits are in the program "Accrual Reconciliation Rebuild Manager" ? It seems to be a Manager to me.
    Edited by: Hemant K Chitale on Jul 31, 2009 12:08 AM

  • Wait events - how to read it

    Hi frnds,
    As, I'm beginner to performance tuning I dont know
    What action do i need to take?
    I mean how to read the output which I given below.
    this is the output suffering buffer busy waits.
    Could anyone please tell me
    CLASS TOTAL_WAITS TOTAL_TIME
    data block 93303 58711
    unused 0 0
    system undo header 12 232
    undo header 7847 6636
    3rd level bmb 0 0
    save undo header 0 0
    bitmap index block 0 0
    file header block 0 0
    free list 0 0
    undo block 68 207
    segment header 422 399
    extent map 0 0
    2nd level bmb 0 0
    system undo block 0 0
    sort block 0 0
    save undo block 0 0
    1st level bmb 1 17
    bitmap block 0 0
    Thanks, Muhammed Thameem. S

    Hello,
    "Buffer busy waits" is contention for a buffer (representing a specific
    version of a database block) within the Buffer Cache. So, in essence
    it is block contention and thus it is most likely something to do with
    the design of the tables and indexes supporting the application. A
    built-in bottleneck. On indexes, it could be the age-old problem of
    insertions into an index on a column with a monotonically-ascending
    data value (i.e. timestamps or sequence numbers) which tends to cause
    contention on the highest leaf node of the index. On tables, it might
    have to do with many concurrent insertions into a table in a
    freelist-managed tablespace where the table has only one freelist. It
    could also be due to a home-grown implementation of sequence-number
    generators (i.e. small table with one row, one column in which contains
    the "last value" of a sequence, etc) which lots of people use to avoid
    not being "portable across databases" which they think means not using
    Oracle sequences (yadda yadda yadda).
    I'd look for any SQL statement in the "SQL sorted by Elapsed Time"
    section of the AWR report which exhibits high elapsed time but
    relatively low CPU time, indicating a lot of wait time. Of course,
    there are something like 800 possible wait events in current releases
    of Oracle, of which "buffer busy waits" is only one, so this is just
    inference and not a direct causal connection to your problem. But,
    once I find such statements I'd check to see if they are
    accessing/manipulating tables within the CUBS_DATA tablespace, and then
    use "select * from table(dbms_xplan.display_awr('sql-id'))" to
    get the execution plan(s), and then look for something ineffective
    within the execution plan. You might find the script "sqlhistory.sql" helpful
    here as well, to get a "historical perspective" on the execution of the
    SQL statements over time, in case the buffer busy waits peaked at some
    point in the past
    Please refer to:
    http://www.pubbs.net/201003/oracle/51925-understanding-awr-buffer-waits.html
    Also
    http://www.remote-dba.net/oracle_10g_tuning/t_buffer_busy_waits.htm
    kind regards
    Mohamed

  • How to see the wait events info. after excute a select query

    Hi
    How to see the wait events info. after execute a select query. Are there any parameter to set for this option?
    And also wanna see the follwing info. in trace file. For this what are the parameters I have to set right?
    SELECT * FROM emp, dept
    WHERE emp.deptno = dept.deptno;
    call   count      cpu    elapsed     disk    query current    rows
    Parse      1     0.16      0.29         3       13       0       0
    Execute    1     0.00      0.00         0        0       0       0
    Fetch      1     0.03      0.26         2        2       4      14
    Misses in library cache during parse: 1
    Parsing user id: (8) SCOTT Regards
    Arpitha

    $ sqlplus scott/tiger
    SQL*Plus: Release 10.2.0.2.0 - Production on Wed Apr 20 15:29:33 2011
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> SHOW PARAMETER dump
    NAME                                 TYPE        VALUE
    background_core_dump                 string      partial
    background_dump_dest                 string      /user/oracle/app/oracle/admin/
                                                     orclsb/bdump
    core_dump_dest                       string      /user/oracle/app/oracle/admin/
                                                     orclsb/cdump
    max_dump_file_size                   string      UNLIMITED
    shadow_core_dump                     string      partial
    user_dump_dest                       string      /user/oracle/app/oracle/admin/
                                                     orclsb/udump
    SQL> ALTER SESSION SET EVENTS='10046 trace name context forever, level 12';
    Session altered.
    SQL> SELECT * FROM emp WHERE deptno=20;
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM
        DEPTNO
          7369 SMITH      CLERK           7902 17-DEC-80        800
            20
          7566 JONES      MANAGER         7839 02-APR-81       2975
            20
          7788 SCOTT      ANALYST         7566 19-APR-87       3000
            20
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM
        DEPTNO
          7876 ADAMS      CLERK           7788 23-MAY-87       1100
            20
          7902 FORD       ANALYST         7566 03-DEC-81       3000
            20Now
    $ pwd
    /user/oracle/app/oracle/admin/orclsb/udump
    $ ls -ltr|tail -5
    -rw-r-----   1 oracle   oinstall     622 Apr 20 11:35 orclsb_ora_949.trc
    -rw-r-----   1 oracle   oinstall     651 Apr 20 11:35 orclsb_ora_976.trc
    -rw-r-----   1 oracle   oinstall    1982 Apr 20 11:35 orclsb_ora_977.trc
    -rw-r-----   1 oracle   oinstall    1443 Apr 20 15:29 orclsb_ora_1251.trc
    -rw-r-----   1 oracle   oinstall  279719 Apr 20 15:30 orclsb_ora_1255.trc
    $ tkprof  orclsb_ora_1255.trc  orclsb_ora_1255.txt
    TKPROF: Release 10.2.0.2.0 - Production on Wed Apr 20 15:32:17 2011
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    $ ls -ltr|tail -5
    -rw-r-----   1 oracle   oinstall     651 Apr 20 11:35 orclsb_ora_976.trc
    -rw-r-----   1 oracle   oinstall    1982 Apr 20 11:35 orclsb_ora_977.trc
    -rw-r-----   1 oracle   oinstall    1443 Apr 20 15:29 orclsb_ora_1251.trc
    -rw-r-----   1 oracle   oinstall  279719 Apr 20 15:30 orclsb_ora_1255.trc
    -rw-r--r--   1 oracle   oinstall   26872 Apr 20 15:32 orclsb_ora_1255.txtThis orclsb_ora_1255.txt contains the required information.

  • How to pass data at 'wait' event ?

    Hello,
    I created a workflow starting from a form: the user can chose a production order number.
    Inside the workflow there's a step (= wait ) and the system wait until an event (BUS2005-DELETE) is raising.
    My requirement is:
    When the event BUS2005-DELETE is raising I have to finish the workflow but only if the event is raising for the
    production order number entered from the user.
    So, my question is:
    How to pass the production order number at the WAIT event ??
    Tks.

    Hello Roberto Baldassarre  !
                   To instantiate your BOR, release it and do the event binding at workflow and also the binding at wait step perfectly.
    Regards,
    S.Suresh

  • Can you please tell me how to find top 10 wait events

    Hi
    Can you please tell me how to find top 10 wait events and what actions need to be taken when there is a wait?
    Thanks
    Regards,
    RJ.

    hi,
    suggest you to use statspack !!!!!!! for the all tuning..else use the views
    * v$session_event
    * v$session_wait
    * v$system_event
    go through this for tuning tips
    http://www.dba-oracle.com/art_dbazine_waits.htm
    Thanks
    --Raman                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Wait events and locks monitoring /resolving scripts

    Looking for wait events and locks monitoring /resolving scripts /tips.

    Hi,
    Looking for wait events and locks monitoring /resolving scriptsHere is the collection of monitoring scripts that I
    use, and it has dozens of scripts for locking:
    http://www.oracle-script.com
    For one-off scripts, here is a script by Laurent Baylac to show locks in Oracle 10g:
    http://www.dba-village.com/village/dvp_scripts.ScriptDetails?ScriptIdA=3508
    SET LINESIZE 500
    SET PAGESIZE 1000
    COLUMN username FORMAT A15
    COLUMN machine FORMAT A25
    COLUMN logon_time FORMAT A20
    SELECT LPAD(' ', (level-1)*2, ' ') || NVL(s.username, '(oracle)') AS username,
    s.osuser,
    s.sid,
    s.serial#,
    s.lockwait,
    s.status,
    s.module,
    s.machine,
    s.program,
    TO_CHAR(s.logon_Time,'DD-MON-YYYY HH24:MI:SS') AS logon_time
    FROM v$session s
    CONNECT BY PRIOR s.sid = s.blocking_session
    START WITH s.blocking_session IS NULL;
    SET PAGESIZE 14
    -- Search for locked objects
    -- To be executed under the SYSTEM account
    -- Compatible with Oracle10.1.x and higher
    select
    distinct to_name object_locked
    from
    v$object_dependency
    where
    to_address in
    select /*+ ordered */
    w.kgllkhdl address
    from
    dba_kgllock w,
    dba_kgllock h,
    v$session w1,
    v$session h1
    where
    (((h.kgllkmod != 0) and (h.kgllkmod != 1)
    and ((h.kgllkreq = 0) or (h.kgllkreq = 1)))
    and
    (((w.kgllkmod = 0) or (w.kgllkmod= 1))
    and ((w.kgllkreq != 0) and (w.kgllkreq != 1))))
    and w.kgllktype = h.kgllktype
    and w.kgllkhdl = h.kgllkhdl
    and w.kgllkuse = w1.saddr
    and h.kgllkuse = h1.saddr
    Don Burleson
    Oracle Press author

  • How do I the interpret "Disk file operations I/O" wait event?

    I have a large and very busy batch database. All of a sudden the "Disk file operations I/O" wait event is in the top 5 in AWR.
    The manual page isn't very helpful:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17110/waitevents003.htm#insertedID40
    Disk file operations I/O
    This event is used to wait for disk file operations (for example, open, close, seek, and resize). It is also used for miscellaneous I/O operations such as block dumps and password file accesses.
    So here is my question: What exactly is going on when I see this wait event? Why doesn't it show up as one of the other I/O events? Can I make it go away? Should I make it go away?
    DR

    sb92075 wrote:
    All of a sudden the "Disk file operations I/O" wait event is in the top 5 in AWR.Top wait event
    In EVERY Top Wait Event list, one wait event will ALWAYS be on top as #1; by definition of the list.
    Simply because any item, even #1, appears on this list does not mean this is a problem & needs to be fixed.
    If the Top Wait Event accounts for only 5 seconds out of a 1 hour sample,
    then reducing it to ZERO won't measurably improve overall application performance.
    The actual Time Waited is required to determine if it is a problem or not.It's taking 20% of time in a 15 minute sample. Anything that takes 20% of deserves to be understood....So: What actually causes it?
    DR

  • How to resolve RESOURCE_SEMAPHORE and RESOURCE_SEMAPHORE_QUERY_COMPILE wait types

    We are trying to figure out root cause of slow running sql server queries hitting/fetching data from one of the database , size 300 GB, hosted on server with below configuration:
    Windows server 2003 R2, SP2, Enterprise Edition, 16 GB RAM , 12 CPU'S 32 Bit
    SQL server 2005, SP4, Enterprise Edition, 32 Bit.
    We have already informed business on the upgrade to 64 bit which would take over a month.
    But for the current issue, we are trying to gather the data if we can resolve the memory pressure or finally come to a conclusion to increase RAM.
    Action Completed: Re-indexing and update stats are proper for this DB.
    As shown below, we have been noticing the semaphore waittype for past 5 days, ran during the load hours:
    Few info after below queries: size of buffer= 137272
    SELECT SUM(virtual_memory_committed_kb)
    FROM sys.dm_os_memory_clerks
    WHERE type='MEMORYCLERK_SQLBUFFERPOOL'
    and semaphore memory= 644024 per below query
    SELECT SUM(total_memory_kb)
    FROM sys.dm_exec_query_resource_semaphores
    Below is some more info gathered from dm_exec_query_resource_semaphores and sys.dm_exec_query_memory_grants dmv's
    So from above info gathered and per SP_Blitz data Resource semaphore seems to be the problem.
    Is memory 'target_memory_kb' assigned for resource semaphore id's too low, as compared to 16 GB RAM available.
    Note* per analysis on 8 hours run 'target_memory_kb' is always under 1 GB, compared to 16 GB available?
    what could be the issue here and how to resolve, please suggest
    Thanks

    I've performed index tuning for those queries, like missing index , rebuilds and stats update.
    So is it going to be more worst, after that change of MAXDOP ?
    Index and query tuning goes hand-in-hand.  Proper indexes with updated stats alone won't improve performance if queries contain non-sargable expressions or are coded in a suboptimal way.  You need to examine the problem queries and execution
    plans in detail to see if performance opportunities exist.  Be aware that SQL Server may throw parallelism to address an issue like a non-sargable query predicate.  The query may run faster as a result but at the cost of more CPU utilization
    for the duration of the query that may impact other users.  I suggest changing MAXDOP after query tuning.  You may need to experiment for the most optimal value for your workload.
    However, concern would be this one query, which as per developer is just a part of filter in ssrs reports, i.e. small query for the larger query has multiple sessions open for almost a day now.
    By smaller query, are you referring to the number of rows returned?  Perhaps the reason is the number of rows actually touched.  Post the query, DDL and execution plan.
    Dan Guzman, SQL Server MVP, http://www.dbdelta.com

  • How to resolve deadlock in ssrs subscriptions

    Hi ,
    i have a subscription which is sending emails to my multiple clients ..
    subscription runs fine when there are only two recepients and gets errored as i list 3rd recepient in
    To  field.
    i found that 
    , it is deadlock issue 
    and when i create trace in SQL profiler on my server database and select deadlock graph event 
    and it is caught ..
    have a look on image ..
    but i dont understand how to resolves issue using this ...
    can anyone narrate this graph to identifiy ..
    Dilip Patil..

    Hi Dilip Patil,
    According to your description, you configured subscription to send emails to multiple users, it works fine when there are only recipients, if there are three recipients, you will get deadlock error.
    A deadlock occurs when two system server process IDs (SPIDs) are waiting for a resource and neither process can advance because the other process is preventing it from getting the resource.
    For Node 1, an exclusive (X) lock is being held by SPID 66 on an index KEY on the object. Node 2 shows that an exclusive (X) lock is being held by SPID 65 on an index key on the same object. For each node, is the Requested By section, which details any resource
    requests that cannot be granted, due to blocking. For Node 1, we can see that that SPID 66 is waiting for a shared read lock on the index key (it is blocked by the X lock held by SPID 65). For Node 2, we can see that SPID 65 is waiting to acquire a shared
    read on the index key (it is blocked by the X lock held by SPID 66).
    In this case, we need to kill one of the SPID to free the resources and allow the other SPID to continue.
    For detail information about Handling Deadlocks and Minimizing Deadlocks in SQL Server, please refer to the following document:
    https://www.simple-talk.com/sql/database-administration/handling-deadlocks-in-sql-server/
    https://technet.microsoft.com/en-us/library/ms191242(v=sql.105).aspx
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    Wendy Fu
    TechNet Community Support

  • What is ges reusing os pid wait event

    What is wait event "ges reusing os pid". In our RAC environment it is one of the top wait events. How to minimze it.

    This is a wait event in Oracle 10g for Global Enqueue Services (ges) waiting on an operating system process id (os pid).
    How to resolve this issue? I checked the bug list on Metalink and there is a patch set for the issue that may help.
    Question: what version and patch release are you running for Oracle RAC?
    Also, you probably want to tune your public network and private interconnects between the nodes in your Oracle RAC cluster.
    Regards,
    Ben Prusinski
    http://oracle-magician.blogspot.com/

  • DB CPU wait event is high in AWR

    Hello Experts,
    Could you please tell me what are the causes of increasing DB CPU wait event ? I mentioned below which i know. please guide me
    1. When Buffer cache is more than required then DB CPU wait event occur.
    Regards,
    Sachin

    Sachin.Ichake wrote:
    Currently in my database DB CPU has taken 90% DB time . in accordance to resolve it I will gonna follow steps
    1. Tune the query which has taken more cpu
    2. Decrease Buffer cache size by referring buffer cache advisory.Solve what? You must understand that DB CPU is not shown as a Wait Event but as a Timed Event and so are the other events that are shown in the Top 5 Timed Events category. This is an indication of how much you have used in the comparison of the total DB Time but not necessarily , it's an issue as to do anything in the system, you would need to burn the CPU only. You need to check that how much total CPU time you have with you and then compare it with your DB CPU seconds. In addition to this, you also need to check the CPU consumption from the o/s commands like Top etc. Combining all of such information only would be able to help to understand that whether any tuning needs to be done or not.
    Post here the AWR/Statspack report. That would give more clear picture of the things.
    Aman....

Maybe you are looking for

  • Ideapad U350 Light Sensor (This device cannot start. Code 10) in Windows 7

    After I installed Windows 7 (32bit), everything works fine. However I am getting a yellow mark in Device Manager for the Light Sensor (Ambient Light Sensor). If you look closely, it says "This device cannot start. Code 10". I have search the Lenovo s

  • Problem with Seek and RTMPPosteFrameElement

    I am having difficulties seeking a serial element, and I believe it's because we removed the Temporal trait inside the RTMPPosterFrameElement.  When I comment out that code, the posterframe does not pause but the serial element seeks fine. Otherwise,

  • Nano will not sync

    My Ipod nano wouldn't sync with the computer??  At first I had no problems but recently it will not recognize the iPod when I connect it to the computer. I have uninstalled iTunes and that did nothing.

  • Sun image examples won't work

    I hope this is the right forum to post the question, I couldn't find a more proper forum for it. I have been trying to get some of the Sun examples working on my newly installed computer. They work as far as to compile and run, but the pictures invol

  • Depth of Field with particles

    I'm still learning after effects and having fun with it. I'm just curious about something. Is there a way to eliminate the depth of field with particles? Example: When I zoom out with the camera in CC particle world, the particle (energy wave I creat