Analysis of AWR - lock waits

Hello

I found my DB Prod, CPU usage 90%, after which I had to bounce my data base for an emergency resolution. If you compare my AWR with intelligence, one of the differences is that get to ASM customer db requests latch was very high today. Can someone guide me what mean the names of this lock?
Latch Activity
"Get Requests", "Pct Get Miss" and "Avg Slps/Miss" are statistics for willing-to-wait latch get requests
"NoWait Requests", "Pct NoWait Miss" are for no-wait latch get requests
"Pct Misses" for both should be very close to 0.0
Latch Name     Get Requests     Pct Get Miss     Avg Slps /Miss     Wait Time (s)     NoWait Requests     Pct NoWait Miss
AQ deq hash table latch     1     0.00           0     0      
ASM db client latch     114,647     0.00           0     0     
I am also attaching the queue for two days activity:

Normal day:
Enqueue Type (Request Reason)     Requests     Succ Gets     Failed Gets     Waits     Wt Time (s)     Av Wt Time(ms)
CF-Controlfile Transaction     2,476     2,474     2     3     0     11.67
DX-Distributed Transaction     3,154,090     3,154,037     0     1     0     0.00
TX-Transaction (row lock contention)     1     1     0     1     0     0.00
Problematic day:
Enqueue Type (Request Reason)     Requests     Succ Gets     Failed Gets     Waits     Wt Time (s)     Av Wt Time(ms)
US-Undo Segment     43,504,655     43,505,077     0     664,252     1,568     2.36
CI-Cross-Instance Call Invocation     116,494     116,494     0     3,504     13     3.60
SQ-Sequence Cache     52     52     0     8     9     1,085.00
HW-Segment High Water Mark     87,101,643     87,076,906     0     194     2     11.54
CF-Controlfile Transaction     2,471     2,466     5     5     0     38.40
TX-Transaction     133,955     133,956     0     1     0     8.00
TX-Transaction (row lock contention)     1     1     0     1     0     1.00
Kindly help me to decipher which would mean high Enqueue on Segment Undo. The load was the same on both days.

Kind regards
Karan

Published by: 853100 on October 15, 2012 05:17

Salvation;

Please also visit:

FAQ: What are the locks and causing latch contention [22908.1 ID]

Respect of
HELIOS

Tags: Database

Similar Questions

  • Analysis of AWR report

    Hi all

    I have a database performance problem. Sometimes my database doesn't work @ all. It hangs for a long time. a lot of user concurrency, cpu, I\O and other expectations are often produce when there is a lot of data. Basically, the application get stuck because of this performance.

    I had a less than the interval awr report.

    It is here http://www.4shared.com/file/cYzYGQYG/awrrpt_1_3230_3231_charith.html

    can someone please tell me what I have to do on this poor performance and through this document.
    Basically, the affected areas. The speculation and suggestions...?

    Please give me a help guys...

    Thank you
    Max

    I'm not able to open your report now, but your thought process should be like this:

    (1) is your complete database slow or just a few sessions that are of high value added, taking the attention?

    (2) in the case of a complete database, generate AWR report and also to monitor statistics of the OS/IO during this interval. Recover waiting events will also help you understand why meetings are pending and it will give you an advance to the next step. For the examples, several sessions are waiting for small set of CBC, latches etc.

    (3) in the case of a few sessions, try to generate sql trace for those. It's very good point to start in such cases, you will give guilty SQLs, wait events, bind variable information etc. (talk about 10046 trace).

    In your case, it seems to lock is a problem (to be honest, it is a fat guess based on the limited commentary you provided).

    Also, try Snapper of Tanel Poder.

    Cheers, Neeraj

  • Background DBWR1 and DBWR0 lock wait event: cache buffers lru chain

    Hi all

    We have a Test database 10.2.0.1 having

    db_writer_processes integer 2
    very large integer SGA_MAX_SIZE 1504 M
    Whole large SGA_TARGET 1504M

    When I check the event of the two background processes is to say DBWR1 and DBWR0 is pending in

    latch: cache buffers lru chain

    "bdrbd_lcoal > select program session $ v where event =' latch: cache buffers lru chain."

    PROGRAM
    ------------------------------------------------
    Oracle@DB (DBW1)
    Oracle@DB (DBW0)

    When I try to manual control his account more than 4 minutes to complete the command checkpoint
    and four session are waiting in case of waiting free buffers.

    Please help solve this problem.

    Thank you
    Jamsher

    Edited by: Jamsher February 3, 2011 04:31

    Hello

    First define the sga_max_size, then sga_target

    change the system sga_max_size set = 2000 m; -sga_max_size is not dynamic, closure of the base data, make the changes, and restart the database

    ALTER system set sga_target = 1800 m;

    You can read the following as well

    http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:30011178429375

    Published by: jazz81 on February 3, 2011 13:48

    Published by: jazz81 on February 3, 2011 13:55

  • Locking hard... Settings lock system wait?

    Hello! I sought an answer to my problems for the past two weeks, but I'm not able to find another that a type solution work around very manual so I am here!
    To stop the pager to jump to 3:00, so I can investigate matters, I hope that you geniuses will be able to help.


    I have a problem where a solution out-of-box is built to manage locks very badly.
    I don't have the source code, so I can't change the application.
    What happens is:

    (1) a user accesses the application and changes a record.
    The application crashes the record in the database and this line lock does not expire.

    (2) criticism of the process starts and creates another lock who waits indefinitely for record locked in 1 free.

    Use of tables of $ v I found that I can see the lock created in 1 and I see the lock created 2 waits for the lock 1.
    I built a process to contact the offending user ([email protected]), and also support page to address the issue because it will be very, very quickly lost productivity if the lock is not resolved. It is a very temporary solution, but is not the answer!

    The first lock to expire (I hope) maybe offering an ORA-return error to the application. I tried to kill the sid and it works too, but the application responds a bit funny. What about lock wait timeout values? It seems that they are session based so I can't edit the session that we have not the source code, or what I can? Anyone of you geniuses have ideas?

    Decklyn Dubs wrote:
    ^ Yes. Wish I had something to say. Instead, I have to 'bolt' logical to address deficiencies.
    The seller wants to hire me because I have all these small ingenious hacks to treat problems in enforcement XD works very well for us.

    Change sides, sign a contract, becoming a 3rd third party provider to them and then start all locking :)

  • Log writer waiting & buffer waiting for busy

    Hello

    Version 10.2.0.3

    I have a problem with a database of buffer high waits and log file sync waits top 5 events of the awr report. I noticed that recovery logs are stored in a partition of san. Not sure why they did it. Is that should store online redo logs in partition san? Please advice.

    Thank you
    PAVN

    In your first message hear buffer waits and log file sync waits.
    Now, you have two servers, a huge amount of e/s and nothing on buffer waits and log file sync waits a little towards the bottom of the list.

    Your IO subsystem is completely overload on server B - and it's probably because he's overloaded while updates remotely can get lock wait time (60 seconds by default, I beleve) on ServerA.

    Takes care to do much with the LOBs. In your case, it seems that you have them declared nocache logging at both ends - which helps explain the direct reading and the Scriptures.

    A few oddities - no direct visible path did not write on A - that suggests she is faced with the direct path writes using asynchronous methods, but hide the impact as a result. The other server that b shows a lot of written direct path (overloaded, perhaps not on async) AND direct bed - why re-read you LOBs on B (possibly something on the way your code is written them).

    A strategy to ease the burden - make the CACHE of the LOBs (but assign to a reasonable size RECYCLE cache or cache for a non-standard block size). If you can keep them cached for a few seconds, you will not have to make him reread you migrate them - reduce your total I/O.

    HW argument - it's a bit a classic with the LOBs (it's space allocation as the segment grows - displacement of high waters). There are a few bugs with LOBs and SAMS tablespaces that could be behind all this - check for your version of Oracle Metalink. Log File Sync - at the moment there not that much, you can do it if they are large, written on a strongly hammered system.

    Server B - too much I/O: check where it goes - maybe it's the code LOB management but seek other sources explain the db file sequential reads and read by another session - maybe you have too many readings of scattered files db passes as well.

    -Check the SQL sorted by readings and Segments by physical i/o for clues. There are probably a few heavy hitters.

    For transfer between systems (although it will probably not help) you could look on Configure SQL * Net components (SDU TDU, tcp/ip frames Jumbo, tx and rx pads) take care of pumping LOB size data through the link.

    Concerning
    Jonathan Lewis
    http://jonathanlewis.WordPress.com
    http://www.jlcomp.demon.co.UK

    "All experts it is a equal and opposite expert."
    Clarke

  • My iCloud has been locked

    Hi, I got a TEXT saying:

    my name... your iCloud has been locked waiting for dismissal.

    Confirm your profile to . http://myicloudsupport * to prevent deletion. Apple

    Is this scam? I connect my computer and everything seems ok, but when I click on the text link it takes me to the page of Apple and asks for my credit card details, is that correct?

    Thank you and best regards,

    Burbu.

    < link published by host >

    It's a scam.

    (141774)

  • HP mini 110-1125nr: locked bios

    BIOS is locked. waiting for new RTC battery. I seriously think to change the chip in the bios as BIOS is locked. I know there is a master password and the serial code is CNU9405951 AND TRIED EVERTHING YOU CAN THINK OF. Can help you with the code 10 digits. Thank you

    Hello

    Enter: e9lov1qoq3 (3rd character is a lowercase L)

    Kind regards

    DP - K

  • Error analysis on Officejet 4500 G510a-f

    Whenever I try to pring, I get a message that says: error analysis. If I wait about 30 seconds or if the item print

    but this analysis error notification slows everything that I try to print. Please tell us what to do to fix this error.

    Thanks a TON!

    sansudsy

    Hi Greg,

    Thanks for getting back to me with your operating system. I would first run the HP Print and Scan Doctor tool, which has the potential to solve the error analysis on its own. If the tool picks up a more serious problem, it will warn you. If this is the case, please take note of the issue or save a screenshot and include it in your answer.

    If the tool does not work, you can also try a cleaner tool to remove all files for printers so that we can install the printer costs back on your PC.

    HP Officejet software and driver removal utility

    Once the uninstall is complete, reboot your PC and reinstall the printer. You can either install by running the HP printer install Windows Wizard or by downloading the driver here: HP Officejet full feature and driver software

    I hope this helps you!

    Please let me know the results

  • Bluetooth: Application does not wait for investigation

    Good afternoon

    For almost a week already had a problem, which already has a load of messages on the forum, after research and do the trial & error for three days, I hope someone can relate to no doubt tiny stupid error I have and I just can't.

    The goal is simple: Once loaded, begins to discover Bluetooth lights nearby.

    Problem: The tags are located and what is work decently, but he does not obey the synchronization (wait/notify).

    I tried several things, but I keep hitting the same problem. It does not take into account my lock and did the survey on the bottom, and only after main thread finished drawing.

    To facilitate the access to tests, I've isolated the problem section.

    // Does Not wait for Inquiry to end!
    

    The solutions tried so far:

    -Temporary "fix" sleep vs sync

    S ' object in static final or none and that any combination of the three options.

    -Develop a 9700 OS 6 SDK: 6.0.0.30 Plugin Java: 1.3.0

    import java.util.Vector;
    
    import javax.bluetooth.BluetoothStateException;
    import javax.bluetooth.DiscoveryAgent;
    import javax.bluetooth.LocalDevice;
    
    import net.rim.device.api.ui.component.AutoTextEditField;
    import net.rim.device.api.ui.component.Dialog;
    import net.rim.device.api.ui.container.MainScreen;
    
    public class MyScreen extends MainScreen
    {
        Vector tags = new Vector();
        private Object lock=new Object();
    
        public MyScreen() throws BluetoothStateException
        {
            super();
            setTitle("Bluetooth Discover");
            Listener myDiscoveryListener = new Listener();
            try
            {
               LocalDevice localDevice = LocalDevice.getLocalDevice();
    
               DiscoveryAgent discoveryAgent = localDevice.getDiscoveryAgent();
    
               discoveryAgent.startInquiry(DiscoveryAgent.GIAC, myDiscoveryListener);
            }
            catch(BluetoothStateException bse)
            {
                Dialog.alert("BluetoothStateException exception: "+bse.toString());
            }
            // Does Not wait for Inquiry to end!
            try
            {
                synchronized(lock)
                {
                    lock.wait();
                }
            } catch (Exception e) {}
            Vector tags = myDiscoveryListener.mac;
            String text="";
            for (int i=0; i
    
    
    import java.util.Vector;
    
    import javax.bluetooth.DeviceClass;
    import javax.bluetooth.DiscoveryListener;
    import javax.bluetooth.RemoteDevice;
    import javax.bluetooth.ServiceRecord;
    
    public class Listener extends Thread implements DiscoveryListener
    {
        Vector mac = new Vector();
        private Object lock=new Object();
    
        public Listener()
        {
        }
    
        public void deviceDiscovered(RemoteDevice remoteDevice, DeviceClass cod)
        {
            try
            {
                System.out.println("Device: " + remoteDevice.getBluetoothAddress());
            } catch(Exception e){ } finally{ mac.addElement(remoteDevice.getBluetoothAddress().toString()); }
        }
    
        public void inquiryCompleted(int discType)
        {
            if (mac.size() > 0)
            {
                try
                {
                    lock.notifyAll();
                } catch (Exception e){}
            }
        }
    
        public void servicesDiscovered(int transID, ServiceRecord[] servRecord)
        {
        }
    
        public void serviceSearchCompleted(int transID, int respCode)
        {
        }
    }
    

    Thanks in advance for all the help possible and yes I am services that support are not being implemented are not necessary for the current problem that prevents me to further develop my application.

    PF

    I have the same problem before and still can't fix. I don't know, but it seems that there is a problem in the 9700 OS.

    http://supportforums.BlackBerry.com/T5/Java-development/BB-Bluetooth-connection-cannot-act-as-client...

    In any case please inform me if there is good new ants on this issue.

    Thanks in advance.

    Best regards

    Albert Siu

  • cleaner to lock timeout - when it needs to be increased?

    The 'Locks management' section in the documentation
    http://www.Oracle.com/technology/documentation/Berkeley-DB/je/TransactionGettingStarted/jelock.html in detail the conditions when the transaction timeouts must be increased. If the default lock time seems to be a problem in the application (and set the time-out to a reasonable value transaction solves the problem), would also be advisable to increase the cleaner lock wait timeout?

    Is the cleaner also on a real timer lock timeout?

    Thank you.

    Hi Bertold,

    By cleaner lock timeout, I guess you mean EnvironmentConfig.CLEANER_LOCK_TIMEOUT ("je.cleaner.lockTimeout").

    This config param is not relevant for the purposes of record locking. It is currently used only for the database handles locking, so it would only matter if you often called Environment.removeDatabase or truncateDatabase.

    -mark

  • library cache contention

    Hello

    Asked me to take a look at an application where recently they began to experience performance issues. They weren't particularly accurate on their complaints and the AWR report for the duration of their latest issue of prod was not particularly revealing with the exception of a few obvious things. However, I received another AWR report, of a previous issue of the prod, and seems to be quite interesting. Here is the wait events section:

    row cache lock 218 154 635 980 2 915 32.9 Concurrency
    cursor: hand S wait on X 54,564,003 11 582 002 30.1 Concurrency
    latch: cache 7 711 223 116 28 935 11.5 Concurrency Library
    cursor: hand S 398,388,863 162 031 0 8.4 other
    latch: cache line 3 793 80 942 21 340 4.2 objects concurrency

    Another curious thing is that 15% of the database of time (the top of the SQL page with a second very remote) was due to a single statement:

    SELECT THE DOUBLE NULL

    (!!!)

    which shows 52 million executions in V$ SQL as well as parsed 52 million (!).

    Unfortunately, ASH data has just expired a few hours before I had a chance to watch, so I can't link those expectations to specific sessions... I only know this slider: needle S wait events are mostly associated with the above SELECT statement, and it seems that row cache lock wait is due to a lack of caching in the sequences.

    I googled a little and found that some people suggest that this may be a side effect of the EAMA... Any other ideas/suggestions?

    Best regards
    Nikolai

    Nikolay Savvinov wrote:

    Another curious thing is that 15% of the database of time (the top of the SQL page with a second very remote) was due to a single statement:

    SELECT THE DOUBLE NULL

    (!!!)

    which shows 52 million executions in V$ SQL as well as parsed 52 million (!).

    Next blog can help.
    http://viveklsharma.WordPress.com/2011/11/19/how-challenging-is-the-task-of-a-performance-optimization-expert-a-real-life-example/

    Check if the dblinks work well.

    Also check if the stats system and its dictionary stats are up to this day.

  • Apple SMS alert

    So I'll just the following text

    ' Your iCloud Sara has been locked waiting for dismissal. Confirm your profile to http://myicloudsupport.com to prevent deletion. Apple. »

    It then takes you to the following address: http://myicloudsupport.com/

    Where they first ask you your name, first name, address, telephone number

    Then, they will ask you your card details.

    My Question is:

    1. is it wrong? Some of the icons on the Web page do not work which made me suspicious.

    If YES

    A. How do know my name, number and I have an iPhone?

    B. that I clicked on the link (and no I don't answer my card details) then can now have access to my phone details and all my applications? I have my whole life on my phone. Photos, Bank info, passwords, the works.

    C. are there apps antis spammers on the to filter your calls and texts? I keep getting spammed by people.

    Thank you all.

    1. Yes, it's a scam.

    A. There are many places that they could have gotten, including a possible breach in iCloud.

    B. No, what they're looking for, this is your identifier Apple and PW. Do not answer was the right thing to do.

    C. using the junk e-mail filter?

  • eStation C510a Zeen problems-broken Scan &amp; Apps does not print

    I have 2 new problems with my zineb:

    1. we will not analyze on an SD card.  It will preview the analysis but the locks upwards when you press the scan button.

    2. Printing apps won't work.  They eject a blank sheet of paper.

    3. still no sign up with eFax.

    Anyone else having these problems?

    HP Support AGAIN to me to do a hard reset on the Zeen by power off and then turn on the power while holding down the two volume buttons.  This allowed again my zineb lose all settings, including the home screens.

    After the reset of long-term, zineb on SD card scan works now and print now print correctly on paper.

    eFax still does not work.

  • varactor diode

    I have a problem to put a different voltage to my SPICE2G6 model and get different ability of a varactor diode what should I do?

    Please find attached the SPICE model, I need analysis with AWR.

    You can try to import spice model, but I recommend place you a model LIDS in a pattern and double click to edit the settings, and then click on "post secondary" to list all the parameters.   Find 10 settings or if in your spice netlist and enter these values.   I think this is going to be the most straightforward approach because it is has only a few parameters to be defined.

  • With VFoglight 6.1 process monitoring

    Hello
    I'm trying to get more watched through the console of VFoglight. Anyone who has gone through or have seen a way to do this?

    Recommended Monitor Baseline Performance counters

    ID

    Meter

    Description

    Meaning

    1

    CPU - % time processor

    The percentage of time processor used for user processes or transactions as opposed to sitting idly CPU system

    More use of the processor, more processors are used the user to process or system transactions

    2

    System - Processor queue length

    The number of threads waiting for processor

    The higher the queue, the more threads waiting on processors to process instructions on the CPU

    3

    Memory - Pages/sec

    Pages, reading and writing memory

    More the memory usage, processes are too busy in memory

    4

    Paging file-% of use for _Total

    The percentage of all page files that are in use

    More use of the swap file, more memory is needed to support the system exceeds the physical memory on the server

    5

    Physical disk - AVG. disk queue length.

    The number of read and write requests pending for the physical disk subsystem

    More average disk queue length, the more resources are waiting for previous applications to the end before responding to their request

    6

    SqlServer: General statistics - user connections

    The number of users of the system

    The more users indicates that the server is unable to load system

    7

    Network bytes/s interface

    The bytes sent and received via a single network adapter

    Determine if excessive network traffic occurs on a network card, or if the system has isolated problems on the SQL Server with no network traffic

    8

    SQL Server: locks - waiting for latches/sec - _Total

    The application of lock waits per second

    Determine if an excessive blocking is limited to resources for users to access the system

    9

    System - Threads

    The number of threads on the computer

    Determine if the number of threads exceeds the typical reference level that indicates more than process are occurring on the system

    10

    System - Changes of context/s

    The number of processes that are changing threads per second

    The change of context, plus the server is stressed

    Thank you
    Paresh

    Paresh,
    have you watched or read the documentation on the physical operating system followed by cartridges and what they can provide for you? You must have vFoglightPro to use them, but they might be what you're looking for.
    -larry

Maybe you are looking for

  • PHOTO PROBLEM

    Hi all, still waiting for a response to my question. I have a load pictures on my Amazon cloud, which I access from my laptop. I want to copy these photos (MUCH) to my iCloud, which I also access from my laptop. I don't want to use other devices, jus

  • 7.0.0.102 crashes immediately after the connection

    After update to Skype 7, it crashes immediately after the connection. I don't have facerig or FFsplit or any webcams. Update of Windows Firewall is disabled. The event logs show this: Name of the failing application: Skype.exe, version: 7.0.0.102, ti

  • can't feed drivers for Dynex DX-CRDRD

    I can't find drivers for Dynex DX-CRDRD. The cd included with card reader will not install the drivers

  • Help! The external speakers on HP G62-225dx laptop connection?

    Sew I connect external speakers for laptop HP G62-225DX?  If so, connect to the port "headphones"?  Or do I need speakers with USB connectors? All recommended speakers Logitech?

  • Confirm a purchase - dialog?

    I have a button next to each of my app purchase buys in a list view. When the user clicks on it, it comes up with a box with test settings of payment such as purchase price, subscription settings etc. (test mode). My question is, when the application