Locks number

Hi,
on 10g R2, on AIX, the response time is very bad.
I have this :
SQL> select count(*) from v$lock;
  COUNT(*)
       225Is it realy a problem ?
Any idea to investigate ?
In alertlog no error message.
I ran AWR and I have this
Top 5 Timed Events                                         Avg %Total
~~~~~~~~~~~~~~~~~~                                        wait   Call
Event                                 Waits    Time (s)   (ms)   Time Wait Class
CPU time                                          6,294          48.0
enq: TX - row lock contention         1,085       3,057   2818   23.3 Applicatio
db file sequential read             383,603         149      0    1.1   User I/O
log file sync                        22,960          53      2    0.4     Commit
log file parallel write              30,803          46      2    0.4 System I/Ohow to go forward ?
Thank you.

You can use the below query (Little customized original author by googling ) to identify history of locks
set lines 300
set pages 100
column event format a30
column sqlt format a50
alter session set nls_date_format = 'DD-MON-YYYY HH24:MI:SS';
select a1.session_id,a1.sr#,a1.sql_id,a1.sqlt,a1.blk,a1.seq#,a1.event,min(a1.samplt),count(*) "Wait in Sec"
from
(select a.session_id, a.session_serial# sr#,a.blocking_session blk,
a.SQL_ID,
substr(b.sql_text,1,50) sqlt,
a.event,cast(a.sample_time as date) samplt ,a.session_state,a.wait_time,a.time_waited,a.p1,a. p2,a.p3,a.seq#
from
dba_hist_active_sess_history a,
v$sqlarea b
where 1=1
and a.sql_id = b.sql_id(+)
and cast(sample_time as date) between '11-SEP-2012 03:35:00' and '11-SEP-2012 03:58:00'
) a1
where a1.event like '%enq%'
group by a1.session_id,a1.sr#,a1.sql_id,a1.sqlt,a1.blk,a1.seq#,a1.event
order by 9 desc
Edited by: vreddy on Sep 12, 2012 8:23 AM
Edited by: vreddy on Sep 12, 2012 8:26 AM

Similar Messages

  • How do i turn off caps lock/numbe​r lock notificati​on.

    I purchased a computer today and the only thing wrong is the caps lock /number lock notification that pops up in the right hand bottom of the screen. Whenever I press CTRL ATL Delete, the app that is runnning is called, HPKEYBOARD status. I tried to end it, it stopped temporarily. But when i restart the computer the problem is back, please help.

    Hello @Flashster,
    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I have read your post on how you are looking to disable the caps lock/number lock notification on your desktop's display screen, and I would be happy to assist you in this matter!
    In order to remove HPKEYBOARD status from your startup programs, you will need to disable by following this document on Using Microsoft System Configuration (Windows 7). The Quick Launch application responsible for HPKEYBOARD should be among the services to disable.
    Please re-post with the results of your troubleshooting, and I look forward to your reply!
    Regards
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • Forgot iphone 4 screen lock number how to unlock it  ?

    forgot iphone 4 screen lock number how to unlock it  ?

    The following has instructions: iOS: Forgot passcode or device disabled

  • My iPhone 4S is passcode locked.  Is there a way to use Find My iPhone to remotely change the Passcode Lock number?

    My iPhone 4S is passcode locked.  Is there a way to use Find My iPhone to remotely change the Passcode Lock number?
    Thanks for any advice.

    You cannot remotely undo a remote lock nor remotely unlock it.

  • Apple keyboard locked number pad

    I have been locked out of the number keys on my apple keyboard, though all the other function keys on the number pad work as expected. There is no unlock button on my apple keyboard. This only happens on my account. All other accounts on the computer don't have this problem.

    Virginia,
    Welcome to Apple Discussions.
    Have you checked System Preferences>Universal Access>Mouse>Mouse Keys: "Off"?
    ;~)

  • Laptop won't boot up caps lock/number lock blink continuously

    When I push the power button computer comes on . I can hear the disk drive and fan turning but then they stop then the caps lovk and number lock start blinking screen is blavk.
    I have taken the battery out disconnected power supply held power button 15 seconds plugged power supply back in pressed power button same thing happens.

    Hi,
    Please try the following instructions:
       http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01443366&cc=us&dlc=en&lc=en&jumpid=reg_R1002_US...
    Good luck.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • CAPS LOCK + F6 (lock number) always ON???

    Hello world!
    The problem is that a friend of mine has a macbook (the new white one) and, he doens't know why, now he can write correctly (not caps locked) ONLY with CAPS LOCK and F6 activated...
    If he try do deactivate 'em, he can't write letters, but only numbers...
    What's happened?
    Is there a way to have the macbook working normal?
    Thx in advance!

    I have the same problem... well it started just like that but know i can write anything and the caps and number lock dosnt respond, im restoring the OS, I hope it will fix it... did u friend resolve the problem?

  • Capital lock/number lock display on screen

    Recently purchased a pavilion H8-1380t, with the wireless elite keyboard and mouse.  When I hit capital lock no display appears to indicate whether it is on or off.  Can anyone help me turn it on?
    This question was solved.
    View Solution.

    Here are the settings in the panel for what you wanted (tested). Look at the OsdMaestro main program settings.
    I am a volunteer. I am not an HP employee.
    To say THANK YOU, press the "thumbs up symbol" to render a KUDO. Please click Accept as Solution, if your problem is solved. You can render both Solution and KUDO.
    The Law of Effect states that positive reinforcement increases the probability of a behavior being repeated. (B.F.Skinner). You toss me KUDO and/or Solution, and I perform better.
    (2) HP DV7t i7 3160QM 2.3Ghz 8GB
    HP m9200t E8400,Win7 Pro 32 bit. 4GB RAM, ASUS 550Ti 2GB, Rosewill 630W. 1T HD SATA 3Gb/s
    Custom Asus P8P67, I7-2600k, 16GB RAM, WIN7 Pro 64bit, EVGA GTX660 2GB, 750W OCZ, 1T HD SATA 6Gb/s
    Custom Asus P8Z77, I7-3770k, 16GB RAM, WIN7 Pro 64bit, EVGA GTX670 2GB, 750W OCZ, 1T HD SATA 6Gb/s
    Both Customs use Rosewill Blackhawk case.
    Printer -- HP OfficeJet Pro 8600 Plus

  • HT4061 I forgot the four digit lock number

    I forgot the four digit lock number

    Connect to iTunes on the computer you usually Sync with and “ Restore “...
    If necessary Place the Device into Recovery mode.

  • My Bios is admin password locked. I cannot remember it to access my BIOS

    I have forgotten my bios admin password. When I try 3 times my lock number is 97307723. Can you help me with this?
    Thank you
    This question was solved.
    View Solution.

    Hi:
    Try: 28065305
    Regards
    Visruth
    ++Please click KUDOS / White thumb to say thanks
    ++Please click ACCEPT AS SOLUTION to help others, find this solution faster
    **I'm a Volunteer, I do not work for HP**

  • Berkeley DB needs too many write locks on specific size of the records

    Hi,
    I put records to the Berkeley db row by row in single transaction. And i have discovered significant increase of write locks on some specific size of the data.
    For example when i put 1000 records, where each record data size is around 3500 bytes, transaction uses 428 locks. On bigger or smaller data size transaction needs fewer locks.
    I put statistic in the table:
    Record size Lock number needed by transaction
    ~1400 169
    ~3500 428
    ~4300 6
    I think it is somehow related to the page size(16384) or cache size (64Mb)
    Could someone explain why transaction needs so many write locks with data size ~3500 and fewer locks with data size ~4300?
    Is there any way to avoid that raise of lock number? If not, I need to measure maximum number of locks needed for successful end of transactions. Understanding of the source of that issue would help me to prepare data which require the biggest number of locks for putting it in the database in one transaction.
    Thanks in advance.

    Please delete this post and repost in the appropriate forum. Thank you.

  • Iphone lock bypassed when going through camera

    Has anyone else experienced that your lock on the iphone 4 can be bypassed simply by hitting the camera button, taking a picture, and then selecting the picture in the tool bar on the bottom?  You can then hit the home button, and it will not ask for a lock number at any point in time.

    No, it can not be bypassed this way. Set  the passcode timeout to immediately. You'll see it prompts you every time.  If you have it set longer (1 minute for example) You have to wait a full minute after locking the phone BEFORE it will prompt for a passcode again under any circumstances.

  • Lock table is out of available lock entries

    Hi,
    I'm using BDB 4.8 via Berkeley DB XML. I'm adding a lot of XML documents (ca. 1000) in one transaction and get "Lock table is out of available lock entries". My locks number is set to 100000 (it's too much but still...).
    I know that I probably should not put so many docs in the same transaction, but why BDB throws "not enough locks" error? Aren't 100000 locks enough? (I also tried to set 1 million for testing purposes)
    As a side effect question, may I change the number of locks after environment creation (but before opening it)?
    P.S. Hope it's not offtop on this forum
    Thanks in advance,
    Vyacheslav

    Hello,
    As you mention, "Lock table is out of available lock entries" indicates that there are more locks than your underlying database environment is configured for. Please take a look at the documentation on "Configuring locking: sizing the system" section of the Berkeley DB Reference Guide at:
    http://www.oracle.com/technology/documentation/berkeley-
    db/db/programmer_reference/lock_max.html
    From there:
    The maximum number of locks required by an application cannot be easily estimated. It is possible to calculate a maximum number of locks by multiplying the maximum number of lockers, times the maximum number of lock objects, times two (two for the two possible lock modes for each object, read and write). However, this is a pessimal value, and real applications are unlikely to actually need that many locks. Reviewing the Lock subsystem statistics is the best way to determine this value.
    What information is the lock subsystem statistics showing? You can get this with db_stat -c or programmatically with the environment lock_stat method.
    Thanks,
    Sandra

  • CAT2 Personal number unlock ??

    Hi,
    We have web enabled the transaction CAT2 for filling in the time sheet from the Portal through ITS.
    The problem is that , when a user click on the time sheet link a number if times the prosonal number associated with that user id gets locked.
    We want to some how unlock this personal number from R/3 automatically after some time, say 20 minutes.The locked number can be seen by going to sm12.
    I tried changing the parameter ~timeout in global.srvc file but that does not seem to make any difference.
    We are on ITS 6.2 patch 17.
    Please help.
    Thanks in advance,
    Vivek

    Hello Edgar,
    Can I have a question as well according to the topic?
    I have an issue with cat2's personal numbers. I would like to make the "personal number" selection screen field unchangeable by users, and have the field automatically loaded. The aim is to allow record working times only for the user who actually signed in the SAP/ERP.
    Peter

  • Wireless Keyboard functions not working after upgrade

    I have a HP Pavillion Elite m9080a desktop with a wireless keyboard 5189URF Running originaly on Vista but last week I upgraded to Windows 7 Home Premium. My problem is that the feature buttons on my keyboard are not working ie no volume control, CD/DVD controls not working, typing is ok. Also the caps lock / number lock icon is not appearing on the task bar. Also on my Monitor w2207h the two USB outlets are not working either.  I need help please to restore these functions.

    Yes.. its for windows vista.. run it with recomended settings..
    if it dosent work then try following..
    go to your device manager and see can you see some devices named " unknows devices"
    if yes then >
    Try following some steps
    go to your device manager > right click on unknown devices > go to  Properties > then Details tag 
    select from drop down list called  Hardware ID's (PCI\VEN...) Copy it via right click...
    and search it according to it on google or any serch engine you will get the right drivers..
    here are the print shoot of process!
    Hope it helps!
    **Clicking on the Kudos! white star is a nice way to say thank you on any post that helped you or resolved the problem.**
    **Selecting "Accept as Solution" for a reply that solves your issue helps others who are searching the web for an answer**

Maybe you are looking for

  • Help with my ipod shuffle please

    How I can remove that function at the end of play list start again. Thanks to the community in advance

  • More Replace needed inside a single cell , more than 2-3

    in a single cell on there are values like 6602,6602,6594,7970 7970;6602;6602; 6591,6591;,,7346,6591;,,7346 now these values are inside a single cell now i want to remove the duplicates like in the first row the out put should be 6602,6594,7970 second

  • B500 0887-1FU Will not boot past logo screen

    I get the Lenovo logo, the "Press Enter to bypass normal startup" message and that's it.  The fans run at full tilt and I can hear the hard drive spinning, but no activity.  I can turn the light below the screen on and off, but nothing else.  I have

  • Pop up in manual orders but not in EDI

    Hi Friends, Please help me. I have  anice issue. When the user try to create a sales order he is getting a pop up or a warrning message saying that the line item has to be a delivery quanity of 20 40 60,when 1 box + 20 pices ,viz. This pop up is only

  • Footnote woes

    When using span columns on a paragraph with a footnote, Indesign places the footnote under that paragraph instead of at the bottom of the page with the other footnotes. Is there a way to change this? Footnotes in Indesign can really do with some impr