How to avoid the problem of blocking

Hi all

I use Oracle 9.2.0.4 on RHEL4. This time when the user seeks to insert data in a module of paricular registration in a single row, it takes more than an hour.
SQL> select EVENT,TOTAL_WAITS,TIME_WAITED,AVERAGE_WAIT from v$sessIOn_event wher
e sid=339;

EVENT                TOTAL_WAITS TIME_WAITED AVERAGE_WAIT
-------------------- ----------- ----------- ------------
enqueue                     1156      346494          300
db file sequential r           4           0            0
ead

SQL*Net message to c         383           0            0
lient

SQL*Net more data to          38           0            0
 client

SQL*Net message from         383        6136           16

EVENT                TOTAL_WAITS TIME_WAITED AVERAGE_WAIT
-------------------- ----------- ----------- ------------
 client

SQL> select l1.sid, ' IS BLOCKING ', l2.sid    from v$lock l1, v$lock l2
        where l1.block =1 and l2.request > 0
        and l1.id1=l2.id1
        and l1.id2=l2.id2;

       SID 'ISBLOCKING'         SID
---------- ------------- ----------
       111  IS BLOCKING         181
       178  IS BLOCKING          53
       178  IS BLOCKING          69
       178  IS BLOCKING          71
       178  IS BLOCKING          80
       178  IS BLOCKING         154
       178  IS BLOCKING         173
       178  IS BLOCKING         191
       178  IS BLOCKING         230
       178  IS BLOCKING         252
       178  IS BLOCKING         255

       SID 'ISBLOCKING'         SID
---------- ------------- ----------
       178  IS BLOCKING         259
       178  IS BLOCKING         290
       178  IS BLOCKING         339
       178  IS BLOCKING         399

15 rows selected.

SQL> select PCT_FREE,PCT_USED,INI_TRANS,MAX_TRANS from dba_tables where TABLE_NA
ME='OS_STU_COURSE';

  PCT_FREE   PCT_USED  INI_TRANS  MAX_TRANS
---------- ---------- ---------- ----------
        10                     1        255
Please suuggest me...
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

Of course, as a bitmap index implicitly locks all keys with identical values.

-------------
Sybrand Bakker
Senior Oracle DBA

Tags: Database

Similar Questions

  • Question: How to avoid the problem-solvers Skype

    Hello, Skype, I had a quick question here.

    Because recently people solved my Skype account, knowing my IP and abuse by sending incessant attacks, I deleted some of my Skype accounts but I was wondering. Is there a way where you can avoid people to solve your Skype account only allowing direct connections to your contacts.

    I've been looking and lurking around the internet for advice, but they do not seem to help one thing here, and that's why I was wondering is how and what to do now. Because it's really bugging me that I am in need to delete accounts just because one doesn't know how to act normal.

    Hello

    You should NEVER let someone else know your IP address. The next time you need help, you should visit this Forum.

    TIME ZONE - US EAST. LOCATION - PHILADELPHIA, PA, USA.

    I recommend that you always run the latest version of Skype: Windows & Mac

    If my advice helped to solve your problem, please mark it as a solution to help others.
    Please note that I usually do not respond to unsolicited private Messages. Thank you.

  • Satellite Pro 4200 how to avoid the mistakes of the ACPI

    Satellite Pro 4200 how to avoid the ACPI errors after installing SP2 for windows XP Prof
    The problem is that my computer after installation service Pack 2 need about 15 minutes from time of shoutdown - what should I do to avoid this problem.
    Piotr Plecke

    Hello
    in this case it would be interesting what Type of laptop it is exactly.

    You will find this model on the bottom of your laptop. There is a review of it.

    Some models have a Bios update available, others not, for example.

    Please send additional information!

    Good bye

  • Question CP9: HTML5: Apple: Android: how to avoid the click on the Play button / tap?

    Hello

    Captivate 9.0.0.223: HTML5 draft.

    I'm sorry to ask this question, it's a little old chestnut on HTML5 in Apple iOS and Android.

    I have searched on the internet and forums for a solution underway, but could not find something that works.

    The problem is how to avoid the PLAY button, which forces the user to click / tap on it, when the project is accessible on an Apple or Android system.

    Play_icon.png

    The project will be published on the internet for use on any Windows, Apple or Android device.

    I have no control over the Web server or devices that will use the people, so that any changes to the software server or browser is out of the question.

    I have tried both a plain HTML5 and a responsive project, but neither avoid the Play button. I put an example of 1 slide on these links.

    http://www.hoffits.com/test_responsive/index.html

    http://www.hoffits.com/test_html5/index.html

    The bottom line is: ' is it possible to remove the need for the user to click / press the Play button?

    Thank you.

    Peter

    Cardiff

    In Wales

    UK

    In your normal HTML5, there is a line (I think it's 46) with this code:

    CP. DoCPInit();

    Add cp.movie.play (); Located below.

    so:

    CP. DoCPInit();

    CP. Movie.Play ();

  • How to avoid the FDM-command being moved files from the OpenBatch folder

    Hello world

    I have a little problem with Batch Processing of the FDM - I need to stop the movement of files in the folder OpenBatch - when a batch is executed.

    The installer by using the Task Manager, a load a Batch Script and Script integration all works very well. However, the process must run every 3 hours, so I need the file "A_LedgerTransLocation_Actual_nov - 2013_RR.txt" to remain in the \Inbox\Batches\OpenBatch\ folder at any time.

    How to avoid the file is moved?


    Best regards
    Frederik




    PS: I noticed on the OTN Forum is it may be possible to script a solution such as:

    FSO1 = CreateObject ("Scripting.FileSystemObject") set
    Set File1 = FSO1. GetFile ("FDM Directory\FDM Application\Inbox\Batches\Openbatch\A_LedgerTransLocation_Actual_nov-2013_RR.txt")
    The BATCHENG value. PcolFiles = BATCHENG.fFileCollectionCreate (CStr (strDelimiter), File1)

    However this is not possible, as the controllers of the company need to edit the. TXT file themselves. They will not be able to edit the script too.

    I don't think you can prevent the FDM, move the file. I'm assuming that the file change in each period to use the last period of POV, so I think that option easiset to copy the file (based on a part of the name (location?) to a temporary location before began the FOM and write again later.)

  • How to avoid the SORT operation.

    Hi gurus,

    Oracle version is 11.1.0.7

    I have a select query that has Row_number() over (Partition of col1, col2 order by col1, col2 desc nulls last) function to eliminate the DUP on these two passes.

    Here it costs 4639 for sorting. Now, I added a two other columns in the query Select (has not changed the Row_number analytic function).

    COST of sorting is now 555635.

    This sort operation may use Temp table space. How to avoid the cost of SORTING.

    Note: I use the function analytical only to eliminate duplicates on Col1 and Col2 only.

    How to sort takes a large part of the COSTS by adding only two columns in the select list.


    Any Suggestions...?


    Thank you
    Mike

    I would say:
    1 don't worry unnecessarily about the cost of sorting - do you know if you have a problem.

    2. in general, eliminate from the beginning, sort late (i.e. After you have eliminated all you can)

    3. If you are concerned by the outpouring sort on the disc then you could go to manual management of pga (assuming that you are currently using automatic) for this particular operation and override sort_area_size.

  • How to avoid the SEPARATE in OBIEE SQL

    Hello...

    For the issue I posted previously...
    Problem with the data type LONG in responses

    I executed the query into a FROG, and I've identified the error because of what this error is coming... because of SEPARATE...
    I took care to avoid this column in ORDER BY putting order on another column...

    Now my question is how to avoid the DISTINCT clause in SQL generated by OBIEE...
    If the first column of criteria is then it avoids the SEPARATE... but if I use measure... Group of will come... and group of should not be used here...

    If it's done... my problem is solved...
    Of course... I get duplicate rows...

    However, I want the answer how avoid SEPARATE?
    Waiting for the response from your...

    Thanks and greetings
    Kishore Guggilla

    Kishore,

    In the physical layer, open the properties of physical catalog and in the features tab find DISTINCT_SUPPORTED and remove the check box value.

    who removed separate in each query generated for this database.

    -Madan

  • says that there is an update of firmware available for my 3 t time capsule. I get "an error occurred when downloading". How to find the problem?

    I said that there is an update of the firmware available for my 3 t time capsule. I get the message "an error occurred when downloading". How to find the problem? I have elcapitan 10.11.6 and capsule version 7.7.3

    Try temporarily, connect your MacBook Pro to your Time Capsule using an Ethernet connection... If not already, then try downloading the firmware again.

  • Someone broke into my computer informing me that he has been infected with malware, viruses, etc. and advising me to contact a phone number, also send me a live conversation on how to solve the problem. He claims to be an Apple / Safari servic

    Someone broke into my computer informing me that he has been infected with malware, viruses, etc. and advising me to contact a phone number, also send me a live conversation on how to solve the problem. He claims to be an Apple / Safari servic

    This kind of message is a scam. Do not meet it.

    Force Quit Safari, then restart Safari while holding the SHIFT key.

  • Camileo S10 - how to avoid the 'information' during video playback on TV

    I just received my Camileo S10... very nice indeed... but how to avoid the track and reading data to be shown on the screen during playback on my TV...?

    Go to the movies, then before you start playing click the OK button. This also works when you save. You must do this before playing or recording.

  • My messages send and receive txt messages not iMessage on my iPhone and I don't know how to solve the problem to send and receive messages as iMessage

    My messages send and receive txt messages not iMessage on my iPhone and I don't know how to solve the problem to send and receive messages as iMessage

    Settings > messages > iMessage turn off then turn it back on...

    If it does not sign of your apple under messages ID.  Settings > General > reset > reset all settings (will not erase data).

    Then log in messages

  • How to avoid the launch of Labview VI when he invokes in Teststand environment?

    Hi, friends.

    I am a student of teststand. I wrote a few screws by Labview. Now, I want to invoke in teststand environment.

    But when I run the sequence. LabVIEW automatically launches.

    How to avoid the launch of Labview when I run the sequence?

    Thank you.

    LabVIEW programs require a runtime engine. Under the TestStand configuration drop-down, select adapters. You can change the LabVIEW adapter to select the runtime rather than the development system.

    This should prevent the main screen of LabVIEW to appear, but you will not be able to change your LabVIEW VIs while they run of TestStand using the runtime engine.

  • How to solve the problems of windows 10 shut down (power, lighting the keyboard is always on)?

    Nice day

    How to solve the problems of windows 10 shut down (power, lighting the keyboard is always on)?

    with regard to my question above. I need to hold the button of power for 5 seconds to completely shut down my laptop. even restart or sleep does not work well. I upgraded a real victory 8.1 to 10 free victory by that windows app reservation offered. IM using acer aspire v5 - 573 g i7, version gt750m, Finnish keyboard

    solutions, I tried to random searches that did not work for me.
    1 unchecking quick stop to power options
    2 disabling hibernation in cmd (types a code forgot what I have)
    3. update all drivers and bios with sites acer official drivers, driver pack solution 15.8 and utility driver update intels
    4 decommissioning intel management engine components driver 11 to 9.5
    5. go to the bios and reset to the default settings
    6 make a shortcut of "shutdown" with codes e.g. shutdown /s /t 0
    7. click Update stop

    IM thinking of reinstalling windows 10 via recovery which removes applications, files, drivers, etc. and hope this solves. I can't roll back to win 8.1 because ive done this reset before you completely clean out my system of win random 8 and trashes the restore option was gone.

    Thanks in advance

    Hello/Hallo wuschel93,

    exactly what I had. Stop number appears only after a certain time the laptop running.

    The problem is INTEL MANAGEMENT ENGINE RELATED V.11!

    I fixed it with uninstall Intel Management Engine Version 11. Windows will then install version 9.5 automatically. After that I turned off the automatic update of the driver for this device. You can also install 9.5 without uninstalling the old one, it wil crushed.

    Other manufactures also have this problem, but while Acer is still asleep, they provide a solution (including download links):

    http://h30434.www3.HP.com/T5/notebook-operating-systems-and-software/sleep-and-shutdown-issues-after...

    Maybe there are any other issues that result in the same problem. But in most cases, it's the answer. The thread Starter maybe forgotten to disable the automatic driver update or made installation of v9.5 evil?

    TEPCO

  • How to avoid the launch of Labview when called by Teststand VI

    Hi, friends.

    I am a student of teststand. I wrote a few screws by Labview. Now, I want to invoke in teststand environment. But when I run the sequence. LabVIEW automatically launches. How to avoid the launch of Labview when I run the sequence?

    Thank you.

    I'm not sure that I follow what you're saying...  But it seems that when the VI is called, the LabVIEW Development software is started and you want to avoid this.

    If you create an executable file or a dll and that any call within TestStand, she should not call the development environment.  You must have the LabVIEW runtime engine installed on the target computer.

    For several years I used TestStand with LV, if my memory does not have to be precise.  I think that the above worked for me.  However, it seems that I remember something to have the LV code in debug mode, causing to open development environment... but it's a distant memory.    You do not use breakpoints where the LV VI is called, are you?

    R

  • How to solve the problems highlighted in each journal in the issues of the CBS

    Hello

    Please could someone help me decipher the CBS logs for two of my Vista machines and tell me how to solve the problems highlighted in each journal.

    Vista 1 machine has Vista Ultimate x 64 SP2 installed and has been implemented in the following way:

    • Installed Vista Ultimate SP1 from DVD
    • Apply all updates important, recommended, and optional through Microsoft Update
    • Applied SP2 via Microsoft Update
    • Apply all important updates, optional and recommended through Microsoft Update after that

    Machine Vista 2 has Vista Ultimate x 86 SP2 installed and has been implemented in the following way:

    • Installed Vista Ultimate SP1 from DVD
    • Apply all updates important, recommended, and optional through Microsoft Update
    • All the different ways to install SP2 and had no success in which I used the followed by the fix corrupt system analysis tool Pack of language without problems were detected but had to reinstall OS in order to reactivate Windows new
    • Reinstalled Vista Ultimate SP1 DVD
    • Installed SP2 with download of the Microsoft not by Microsoft Update website and this time it worked
    • Apply all updates important, recommended, and optional through Microsoft Update

    I searched on Google for months on how to solve the problems highlighted in the CBS logs but got too hypnotized and decided to consult you on how to solve the problems. I forgot to mention also that 11 updates of Windows would not apply via Microsoft Update on both machines and apply them manually in which they worked.

    Finally please can you give me a link to download CBS logs.

    Your help would be much appreciated.

    Thank you very much

    RocknRollTim

    https://social.technet.Microsoft.com/forums/Windows/en-us/54bff6db-0797-4655-A331-a86510c1b291/Vista-CBS-log-issues?Forum=itprovistasp and OneDrive (SkyDrive) for download to use collected files and after shot/screenshot. (Updated: 16/01/2012)

Maybe you are looking for