Interrogation of slow response from v$ lock

Hello

V$ lock view takes more than a minute to return the result.

DB version: 11.2.0.3.0 (node 2 RAC on Linux)

I just ran ' select * lock in $ v' and it takes 1-3 minutes to produce the result same query runs faster in other bases.

Note: Application will use the tables app frequently so lock $ v return lines but blocking time is in seconds and results will keep on changing.

Please indicate why it takes longer to run.

Underside of tkprof o/p:

********************************************************************************

SQL ID: Plan 0vky3u8x8xjau hash: 1899724433

Select *.

Of

lock of v$

call the query of disc elapsed to cpu count current lines

------- ------  -------- ---------- ---------- ---------- ----------  ----------

Parse        1      0.00       0.01          0          0          0           0

Run 1 0.00 0.00 0 0 0 0

Pick up 86 65,63 121,81 173803 0 0 1263

------- ------  -------- ---------- ---------- ---------- ----------  ----------

Total 88 65,64 121,82 173803 0 0 1263

Chess in the library during parsing cache: 1

Optimizer mode: ALL_ROWS

The analysis of the user id: 135

Caught plan statistics number: 1

Ranks (1) operation of line Source lines (avg) lines (max)

---------- ---------- ----------  ---------------------------------------------------

JOIN by HASH 1263 1263 1263 (cr = 0 pr = 173803 pw = time 173803 = 146897299 US cost = 1 size = 156 card = 1)

40932864 40932864 40932864 MERGE JOIN CARTESIAN (cr = 0 pr = 0 pw = time 0 = 22596433 US cost = 0 size = 8000 card = 100)

3024 3024 3024 TABLE FIXED FULL X$ KSUSE (cr = 0 pr = 0 pw = time 0 = 11976 cost = US size 0 = 32 = 1 card)

40932864 40932864 40932864 KIND of BUFFER (cr = 0 pr = 0 pw = time 0 = 12227456 US cost = 0 size = 4800 card = 100)

13536 13536 13536 TABLE FIXED FULL X$ KSQRS (cr = 0 pr = 0 pw = time 0 = 9836 US cost = 0 size = 4800 card = 100)

1264 1264 1264 VIEW GV$ _LOCK (cr = 0 pr = 0 pw = time 0 = 9881 US cost = 0 size = 760 card = 10)

1264 1264 1264 UNION-ALL (cr = 0 pr = 0 pw = time 0 = US 9627)

1264 1264 1264 FILTER (cr = 0 pr = 0 pw = time 0 = US 8484)

1264 1264 1264 VIEW GV$ _LOCK1 (cr = 0 pr = 0 pw = time 0 = 7974 US cost = 0 size = 152 card = 2)

1264 1264 1264 UNION-ALL (cr = 0 pr = 0 pw = time 0 = 7594 US)

0 0 0 TABLE FIXED FULL X$ KDNSSF (cr = 0 pr = 0 pw = time 0 = 1513 US cost = 0 size = 102 card = 1)

1264 1264 1264 FIXED TABLE FULL X$ KSQEQ (cr = 0 pr = 0 pw = time 0 = 4308 en cost = 0 size = 102 card = 1)

0 0 0 TABLE FIXED FULL X$ KTADM (cr = 0 pr = 0 pw = time 0 = 18952 US cost = 0 size = 102 card = 1)

0 0 0 TABLE FIXED FULL X$ KTATRFIL (cr = 0 pr = 0 pw = time 0 = 18 US cost = 0 size = 102 card = 1)

0 0 0 TABLE FIXED FULL X$ KTATRFSL (cr = 0 pr = 0 pw = time 0 = 12 US cost = 0 size = 102 card = 1)

0 0 0 TABLE FIXED FULL X$ KTATL (cr = 0 pr = 0 pw = time 0 = 15 US cost = 0 size = 102 card = 1)

0 0 0 TABLE FIXED FULL X$ KTSTUSC (cr = 0 pr = 0 pw = time 0 = 486 US cost = 0 size = 102 card = 1)

0 0 0 TABLE FIXED FULL X$ KTSTUSS (cr = 0 pr = 0 pw = time 0 = 432 US cost = 0 size = 102 card = 1)

0 0 0 TABLE FIXED FULL X$ KTSTUSG (cr = 0 pr = 0 pw = time 0 = 432 US cost = 0 size = 102 card = 1)

0 0 0 TABLE FIXED FULL X$ KTCXB (cr = 0 pr = 0 pw = time 0 = 5800 US cost = 0 size = 102 card = 1)

********************************************************************************

SQL ID: hash of Plan fzvrsg7z12wpq: 0

ALTER SESSION SET sql_trace = FALSE

call the query of disc elapsed to cpu count current lines

------- ------  -------- ---------- ---------- ---------- ----------  ----------

Parse        1      0.00       0.00          0          0          0           0

Run 1 0.00 0.00 0 0 0 0

Fetch        0      0.00       0.00          0          0          0           0

------- ------  -------- ---------- ---------- ---------- ----------  ----------

total        2      0.00       0.00          0          0          0           0

Chess in the library during parsing cache: 1

Optimizer mode: ALL_ROWS

The analysis of the user id: 135

********************************************************************************

TOTALS FOR ALL NON RECURSIVE INSTRUCTIONS

call the query of disc elapsed to cpu count current lines

------- ------  -------- ---------- ---------- ---------- ----------  ----------

Parse        2      0.00       0.01          0          0          0           0

Run 3 0.00 0.00 0 0 0 0

Pick up 86 65,63 121,81 173803 0 0 1263

------- ------  -------- ---------- ---------- ---------- ----------  ----------

total of 91 65,64 121,82 173803 0 0 1263

Chess in the library during parsing cache: 2

Lack in the library during execution cache: 1

TOTALS FOR ALL RECURSIVE INSTRUCTIONS

call the query of disc elapsed to cpu count current lines

------- ------  -------- ---------- ---------- ---------- ----------  ----------

Parse        1      0.00       0.00          0          0          0           0

Run 4 0.00 0.01 0 0 0 0

Fetch        4      0.00       0.00          0          8          0           1

------- ------  -------- ---------- ---------- ---------- ----------  ----------

total        9      0.00       0.01          0          8          0           1

Chess in the library during parsing cache: 1

Lack in the library during execution cache: 1

3 the session user SQL statements.

3 internal to SQL statements in session.

6 SQL statements in session.

********************************************************************************

Trace file: /oracle/u01/diag/rdbms/prodx22/PRODX221/trace/PRODX221_ora_6456.trc

Compatibility of trace files: 11.1.0.7

Sorting options: by default

1 session in the trace file.

3 SQL statements of the user in the trace file.

3 internal SQL instructions in the trace file.

6 SQL statements in the trace file.

6 unique SQL statements in the trace file.

268 lines in the trace file.

147 seconds elapsed in the trace file.

Kind regards

Veera

As a result of the remark of David Fitzjarrell, watch these two lines of the plan:

3024 3024 3024 TABLE FIXED FULL X$ KSUSE (cr = 0 pr = 0 pw = time 0 = 11976 cost = US size 0 = 32 = 1 card)

...

13536 13536 13536 TABLE FIXED FULL X$ KSQRS (cr = 0 pr = 0 pw = time 0 = 9836 US cost = 0 size = 4800 card = 100)

Note in particular how estimates are 1 to 100, (index statistics are missing) and are by far the actual number of rows returned.

In this particular case, you do not necessarily have to collect statistics on all fixed objects (your calibration for the sessions and resources suggests that which could take a bad time) - you could try collecting statistics on some the x$, especially two list above.  See also this note I wrote earlier: lock in $ v | Notebook of the Oracle

Concerning

Jonathan Lewis

Tags: Database

Similar Questions

  • Slow response from the keys

    Hello

    some time after the start of my laptop, I'm starting to get a slow response by pressing and holding a button. Which means that, when I release the key the character continue tp appear about 2 seconds more! So, for example if I use the arrow keys, that I do not in the exact spot I need because the cursor will continue several characters to come.

    I was told to format and reload my os win 7 all over again, is there anyone with a better suggestion?
    Thank you, dror

    Can you please tell us what model of laptop do you have?
    What operating system do you use? Do you use BONES that you got with your laptop?

    Since when you noticed that slow down the issue of the response of the keys?

    When you start the laptop in SafeMode the same thing from happening again?

  • Slow response from the user interface with acquisition of data of type long time

    Hi all

    I have a question to ask more out of curiosity than necessity right now. I've built a program that acquires data from the accelerometer and the Treaty in a number of ways: filtering, FFT, FRFS, things like that, but the answer of the UI is still slow, because I need a resolution of frequency of 0.2 Hz for my data domain, which means that the sample acquisition time is 5s and all this awaits before execution.

    My question is this: is there a way to completely isolate the user interface of data acquisition so that it responds immediately?

    I tried a design model of producer consumer with queues, but found everything to be always waiting for samples to be taken. Maybe it was exactly as I did.

    Thank you

    Phil

    If you need to sample for 5 seconds in order to have enough data to analyze, so unless you can "predict the future" and "knowing" the five seconds of data, simply wait for the data that arrives.  Using parallel loops of producer-consumer will allow data acquisition to proceed (for the next 5 seconds of data) while you do the analysis, but you still have to wait for the data to be analyzed.

    Note that the previous paragraph assumes you are collecting data in 5 seconds 'chunks' and analyze each "chunk" (independent) on arrival.  You could also do something like having a "second 5 sliding window" which moves, say, a second at a time, giving your FFT a finer resolution of 'time' (at the expense of their independence).  This would be a (slight) change in your loop of producer (you want to taste in 1 second pieces, accumulate 5 these pieces) and the consumption loop (start analyzing, spewing a FFT every second, while replacing the older "chunk" with the most recent - a queue with loss can do for you).

    Bob Schor

  • Slow response from the DPM Touch Interactive applications

    Hello

    In our premises of the Subscriber, we deployed a solution we have developed as a tactile interactive application using a 3rd party Content Management System. The content of the application is pushed to the DPM and stored locally. This app is more graphic, and there is no video no is involved. The size of the content is aroun 105MO. We use 3 m touchscreen.

    The application is designed so that when the user clicks on tabs, it goes to that specific tab content. The question here is, when the user clicks/keys on the screen of the tab, it takes more time to react, which means it takes longer to access this particular screen. So I'm not sure how reduce response time.

    We use Cisco (OEMed) 32 inch screen with a resolution in 1366 x 768 LCD, what is said in the native resolution. We use the HDMI to connect to the DPM on the LCD screen.

    Please let me know how to increase the speed of the interactive application.

    JK,


    The first thing to do is to reduce the question of time 'response' to a

    the driver for 3 m touch OR the application itself.


    You can use another touch application (1 or more) for a reference

    on the response of the tactile response.  If all the applications meet

    the touch with the same delay so the problem "may" be with the

    3 m touch driver and may need some improvement and refinement.

    If the other touch applications are faster to respond then your App "Touch".

    at issue, the US is facing an application problem.


    Is a common symptom seen with performance and custom applications

    because developers create applications and workstations with high

    fast video cards and processors.  Therefore, what is acceptable

    performance on the workstation does not to the slower

    DMP.


    Please indicate the MIB of STATUS output in a text file and

    Download it here for review.


    Thank you


    T.

  • Slow response from phone to monitor data recovery

    hhaving problems with my app Apple Watch (watch OS 2.2) of the iPhone data recovery 6 (iOS 9.3.4). When I click on various watch apps - FaceBook Messenger, Messages, etc., they seem to take forever to recover data. I tried to restart watch it and iPhone without any improvement.

    If I remove the applications from the watch and then reinstall them this solves the problem for a short time.

    Ahy suggestions?

    Hello

    For best performance of your devices, make sure that both Bluetooth and Wi - Fi are enabled on your iPhone (and keep them permanently active).

    Also, make sure that you have installed the latest versions of all applications (on your iPhone: App Store > updates). To install updates for the associated Apple Watch applications also automatically, select automatic App install (on your iPhone, in the application of the watch, go to: Watch My > General > App Install).

    It can help to disable the twinning and re - pair your watch. The app shows on your iPhone takes a backup of your watch automatically when the disparity with the app choose to restore from backup during the whole upward. Most of the data and settings will be restored, with a few exceptions (for example cards Pay Apple, access code):

    In the future, notes that new arrivals under watch OS 3 - software update that is should be out this fall / Fall - include much faster loading of your favorite applications, including applications to launch immediate up-to-date information.

    More information:

    http://www.Apple.com/Watchos-preview/

  • No response from the keyboard on Equium M40X

    Hi all

    Posted before on this problem, just mounted a new keyboard, but getting no response from it, the luminous numbers lock is on, but nothing works, it is a new keyboard, my old one was doing the same thing, reinstalled the system using a usb keyboard but still the same, no response from the keyboard, any ideas?

    Hello

    Connect the flat keyboard cable properly to the motherboard?
    Make sure that the keyboard cable is firmly connected to the system board.
    If the internal keyboard has been correctly connected, so I think there must be something wrong on the motherboard.

    I think detailed diagnosis can be done by a technician with experience much more as a common user like you and me.

  • many runtime errors and slow responses

    Originla title: what is WiseFixer and is a legitimate program?

    I get a lot of errors of execution and slow responses.  Ran the scan in the wise Fixer but was reluctant to unlock the registry to run the repair.

    Hello

    · When you receive the errors?

    · It is when you work with a program or a particular application?

    · Do you remember all the recent changes on the computer before the show?

    · What is the service pack installed on the computer?

    · Give us the exact error message that you receive to help us best solve the problems.

    For the problem with the performance of the computer, you can follow the steps in the link below: how to make a computer faster: 6 ways to speed up your PC: http://www.microsoft.com/atwork/maintenance/speed.aspx

    NOTE: Microsoft cannot guarantee that problems resulting from the use of third-party software can be resolved. Software using third party is at your own risk.

  • Right-click for slow response

    I recently started to feel a slow response for right click commands, usually they would "hang" for 3 to 6 minutes. I have seen similar posts and followed the instructions with the following results:

    1. started in Mode safe: the first right-click had a delay of 30 seconds, after the reaction was instant
    2. clean Booted: followed all instructions to eliminate stray services, found nothing specific but the right click to answer somehow reduced to 30-40 seconds
    3 Ran SFC: no problems not reported

    Now, the period is reduced to 20-30 seconds, but it is still longer than before.

    This problem started a week ago and gradually got behind more long until he was sometimes 6 minutes or more. I'm stubborn me for the delay. Once the pop-up window opens hit does not remove it, there's still 2 or 3 minutes. During this time the office is "frozen". Inatalling Service Pack 1 did not immediately solve the problem, and I did a full scan with Kaspersky showing no infection.

    ASUS K52F laptop computer with Intel Core i5 processor 2, 67GHz, 4 GB RAM, 64-bit (less than 3 months)

    Hello
     
    You can view the link try the steps and check if this gives you a likely solution.
     
     
    Warning: Microsoft offers no assurance or warranty, implied or otherwise and is not responsible for the download you receive from the sites of third parties or support related to the download or the downloaded technology. If you need assistance dealing with third party technology, please contact directly the manufacturer.
     
     
     
    I hope this helps.
     
  • 2724 slow response time

    One 2724 PowerConnect

    -Managed

    -IP: 192.168.10.42

    -No LAG

    -No VLAN

    From a computer, I can another computer and receive the following: everything is fast.

    Reply from 192.168.10.105: bytes = 32 time<1ms ttl="">

    Reply from 192.168.10.105: bytes = 32 time<1ms ttl="">

    Reply from 192.168.10.105: bytes = 32 time<1ms ttl="">

    Reply from 192.168.10.105: bytes = 32 time<1ms ttl="">

    When I ping the real switch I get the following: slow response.

    Reply from 192.168.10.42: bytes = 32 time = 235ms TTL = 128
    Reply from 192.168.10.42: bytes = 32 time = TTL = 128 374ms
    Reply from 192.168.10.42: bytes = 32 time = 1ms TTL = 128
    Reply from 192.168.10.42: bytes = 32 time = 140ms TTL = 128

    Why this delay?  What could be causing it?


  • New machine install, terribly slow response

    I hope someone can shed some light here, I recently built a new NLE for CS5.5 and the thing incredibly slow to load, encode or even responding to an export order.

    A few specs on the new machine:

    Dual Xeon 3.47 GHz 6 core CPU, total 12 hearts, in total 24 logical cores

    Supermicro X8DTL motherboard, intel 5500 chipset

    Registered 24GO RAM in triple channel mode

    Win7 Pro 64 bit with all updates

    Matrox MXO2 capture/playback

    NVIDIA GTX 580 4 GB video card

    Intel LSI MegaRaid SATA raid controller

    Matrix RAID 5 7TB on the RAID card

    Installed software is 5.5 CS suite, Avira anti virus and the Firefox web browser.  In addition, it is a clean installation

    Now for my problems.

    First usually takes about 2 minutes to load from the desktop and is slow to respond after that.  I loaded a second HD 40 consisting of 2 video clips XDCAM HD timeline and a piece of stereo music.  When I export this simple timeline it takes 3 minutes for encoding options to appear, and then once I selected BluRay HD for the screening and the queue, it takes 3 minutes before the launch of Media Encoder.  At the time I write this Media Encoder has been coding for 30 minutes and it is only about 50% done with this second 40 timeline.  For comparison, my old laptop dual core with its unique internal drive takes about 30 seconds to launch the first (CS4 in it's case) and it encodes the same timeline in 4 minutes approximately.

    Something is very wrong here; I hope it is something simple like a bad setting.  The computer itself seems to work very well, and index Windows benchmarks 7.8 outside a C drive slower, to settle at 6.  All material of the project is on the RAID and the programs and the BONES are on the C drive.  Someone at - it ideas?  I'll have to get started on a great project soon and I can't imagine doing on this machine as it is.

    Scott Cooper

    Seehorse video

    Well, I'm getting there with the support of Matrox.  The horribly slow response seems to be largely corrected by disabling the sound surround in the encoder as detailed here:

    "If you find that the switching export format in the export settings dialog box.
    box sometimes takes a lot of time, such that when you switch from Microsoft
    AVI in MPEG2-DVD, rename the SurCodeWrapper.vca file on your system
    (for example, rename the SurCodeWrapper.vca.bak file). This file is
    usually installed by Adobe Premiere Pro in the following folders:
    $ Files\Adobe\Adobe first Pro CS5\MediaIO\codecs\
    $ Files\Adobe\Adobe Media encode CS5\MediaIO\codecs\
    Be aware that after you rename the SurCodeWrapper.vca file, you will not be able
    to export the audio SwCode Dolby Digital, but you will still be able to export
    Audio Dolby. (Ref # 55279 and Adobe Ref # 2603943) ».

    Fortunately, I didn't need a surround sound, I'm not really thrilled to have to eliminate option however.  I still have a few other questions; I hope that I will get to the bottom of them as well.  Oh, I found MAJOR problems with the latest Nvidia drivers, causing a complete corruption of the video screens.  Roll back to version 280.26 solved these problems.

  • error message when try to sync the iPhone, "invalid response from the device?

    What can I do when I receive this error message when you try to sync to my iPhone 5 s - "invalid response from the device?

    -What are your 5 updating to 10.0.2 iOS iPhone? If this is the case, you must have the latest version of iTunes on your computer, which is required for Mac OS X 10.9.5 12.5.1, or above. To meet these specifications will be receiving this error.

  • Cannot connect iPhone 7 more to iTunes because an invalid response from the device

    I tried to sync my phone to iTunes and I get an error message stating "invalid response from the device. I tried to remove the password, and it still doesn't work. I also tried using a new USB cord. I'm doing something wrong? I can't sync my music or ringtones. Will there be an update to iOS 10 soon to solve this problem? I am extremely disappointed that I can not connect my new phone!

    You use iTunes version 12.5?

    Get the latest version of iTunes - Apple Support

  • How to remove email from the lock screen in iOS10?

    In previous versions of iOS, you were able to delete emails from the lock screen.  Now in iOS10, the only options are 'View' and 'clear '.  Seems really stupid if Apple disabled this feature, as it has helped to manage the spam I receive without having to get into my mail and clean.

    Thoughts?

    It would interest me, is really very silly.

    In German:

    Habe ich Täglich mit sehr vielen emails zu tun. ICH konnte sie immer too im Sperrbildschirm löschen oder als markieren read equal. Das ist jetzt nicht mehr possible.

    Jetzt muss ich jede E-mail erst im Sperrbildschirm lassen um sie dann löschen oder als zu markieren read ads.

    Warum wird eine Funktion removed einfach so?

  • No Satellite Pro 6100 no response from the screen

    Can anyone help?

    My 6100 Pro Satellite lit last night then automatically went into hibernation, despite being connected. Now when I turn it on there is no response from the screen, but if I plug a monitor to the laptop, the screen works (as long as I start in safe mode)

    Can anyone help?

    Hi Simon

    Disconnect all cables from the laptop and remove the battery.
    Wait a moment more (20 min) and reconnect the battery and the AC adapter.
    Then check if the laptop turns on and if the display works fine

    Good luck

  • An error has occurred has not got a response from the software update server (update.local). What should I do to update my laptop?

    An error has occurred has not got a response from the software update server (update.local). What should I do to update my laptop?

    It is one of the many problems that occur on my mac.

    Update of OS X El Capitan 10.11.4?

    1. backup Mac.

    2. install 10.11.4 combo update.

    https://support.Apple.com/kb/DL1869?viewlocale=en_US & local = en_US

Maybe you are looking for

  • E364xa power supply screen is frozen when you are working in remote mode.

    I use the sample E364Xa screw, which was downloaded with the driver (.dll) of the Web site OR. Power supply screen freezes when a "RMT" sign appears on the screen. Is anyone konow how to solve this problem?

  • Try to install 2 security updates, failed with error 0x8007010B

    Go to Windows Update ok. Updates to install on my Windows XP computer.  Download the installation failed.  Mother & hard card recently changed.  Old hard drive reloaded Windows.

  • Update to 4.0 Android xperia arc S

    Hello, I have can´t my phone update to android 4.0 PC Sony companion says that my phone is with the software possible holiday but my phone is android 2.3.4 and I want to 4.0. How can I update my phone if Sony PC companion said that my phone is with t

  • Dot.1x

    Please note that I've implemented aaa new-model command on my switch with activation to dot1.x on its port. I created the username and password and the command following autherization: AAA authorization exec default local no AAA authorization command

  • Codec Windows 10 elements 8

    Hello.First Elements 8 is grateful not my MOV files because the required codec is not installed (they are H264).  I tried to install version manipulated Quicktime and a couple of codec packs with no luck.Can anyone help?Thank you.