The impasse caused by the lack of clue on FK?

Hi all

I have an interesting case where a blockage has been raised and the research in the trace file, I see
Deadlock graph:
                       ---------Blocker(s)--------  ---------Waiter(s)---------
Resource Name          process session holds waits  process session holds waits
TM-0000b228-00000000        35    1057    SX             32    1068    SX   SSX
"TX-00090012-00008545        32    1068     X             21    1065           X"
TX-000a0009-0000bf57        21    1065     X             35    1057           X
 
session 1057: DID 0001-0023-00000400     session 1068: DID 0001-0020-00000131 
session 1068: DID 0001-0020-00000131     session 1065: DID 0001-0015-0000000A 
session 1065: DID 0001-0015-0000000A     session 1057: DID 0001-0023-00000400 
 
Rows waited on:
  Session 1057: obj - rowid = 0000B277 - AAALJ3AALAAAAL8AAA
  (dictionary objn - 45687, file - 11, block - 764, slot - 0)
  "Session 1068: no row"
  Session 1065: obj - rowid = 0000B228 - AAALIoAALAAAAY5AAP
  (dictionary objn - 45608, file - 11, block - 1593, slot - 15)
 
----- Information for the OTHER waiting sessions -----
Session 1068:
  sid: 1068 ser: 113 audsid: 282002 user: 129/LSM flags: 0x41
  pid: 32 O/S info: user: oracle, term: UNKNOWN, ospid: 23787
    image: oracle@oradev01
  client details:
    O/S info: user: apps1, term: unknown, ospid: 1234
    machine: oradev01 program: JDBC Thin Client
    application name: JDBC Thin Client, hash value=2546894660
  current SQL:
  
delete from cont_ctrl_prms where id=:1

Session 1065:
  sid: 1065 ser: 740 audsid: 281949 user: 129/LSM flags: 0x41
  pid: 21 O/S info: user: oracle, term: UNKNOWN, ospid: 28912
    image: oracle@oradev01
  client details:
    O/S info: user: apps1, term: unknown, ospid: 1234
    machine: oradev01 program: JDBC Thin Client
    application name: JDBC Thin Client, hash value=2546894660
  current SQL:
  
delete from availability where handle=:1

----- End of information for the OTHER waiting sessions -----
The version of db is 11.1.0.7.0 and the relationship between cont_ctrl_prms and availability is parent-> child.

There is a FK on availability as below with no rule as delete cascade
ALTER TABLE AVAILABILITY ADD
    CONSTRAINT FK7710155BB7FB8C0D FOREIGN KEY
    (
      CONTENTCONTROLPARAMS_ID
      )
      REFERENCES CONT_CTRL_PRMS (ID)
Now my question is: since there are no not delete cascade rule and no UPDATE in question, I assume that this may be caused by the index missing on the CF, so any idea why the deadlock has been generated?


Thanks in advance.

Jonathan Lewis wrote:

It looks like to trace dumped by 1057 session file.
What is the statement that 1057 expected?

I have a shot at fixing it fast anyway - here's my deadlock graph event upward:

I assumed that the SQL code of 1057 access something outside the parent/child, because the id of the object of the line expected was higher than the child object id (not guaranteed to be true, of course, but a reasonable estimate).

Deadlock graph:
                       ---------Blocker(s)--------  ---------Waiter(s)---------
Resource Name          process session holds waits  process session holds waits
TM-00019dbb-00000000        19      43    SX             26      40    SX   SSX
TX-000a001f-00002903        26      40     X             21      60           X
TX-0005001a-000032a5        21      60     X             19      43           X

session 43: DID 0001-0013-0000200C     session 40: DID 0001-001A-0000019C
session 40: DID 0001-001A-0000019C     session 60: DID 0001-0015-00005B0C
session 60: DID 0001-0015-00005B0C     session 43: DID 0001-0013-0000200C 

Rows waited on:
  Session 43: obj - rowid = 00019DBD - AAAZ29AADAAAAKBAAA
  (dictionary objn - 105917, file - 3, block - 641, slot - 0)
  Session 40: no row
  Session 60: obj - rowid = 00019DBB - AAAZ27AADAAAAGBAAE
  (dictionary objn - 105915, file - 3, block - 385, slot - 4)

----- Information for the OTHER waiting sessions -----
Session 40:

delete from parent where id = 1

Session 60:
delete from child where id = 3

Information for THIS session:

----- Current SQL Statement for this session (sql_id=1v6ndbw5ypwzy) -----
 update t1 set n1 = 1

Sequence of steps:
Table t1 has one row.
Parent table has three lines, p1, p2, p3
Child table has three lines c1, c2, c3
The rank of parent/child links are the most obvious.
The foreign key is declared, but has no support index

Session 43 delete c2 - laying of SX lock on child (TM/3)
Update session 60 T1
Session 40 remove c1, c3 - ask SX lock on child (TM/3)
session 43 updated t1 - start pending on session 60 (TX/6)
Session 60 remove c3 - start pending on 40 session (TX/6)
Session 40 remove p1 - start pending on session 43 - SX to the conversion of SSX (TM / 3-> TM/5)

Concerning
Jonathan Lewis
http://jonathanlewis.WordPress.com
Author: core Oracle

Tags: Database

Similar Questions

  • Windows ME error after installing an Ethernet network card: "DEVCON. EXE FILE IS LINKED TO THE LACK OF EXPORT SETUPAPI. DLL:CM_FREE_LOG_CONF_HANDLE ".

    I installed 32-bit network card Ethernet 10/100mbps in a tower of E which has Windows Millennium Edition.  When I tried to run the C/D that came with it I got the message, "DEVCON. EXE FILE IS LINKED TO THE LACK OF EXPORT SETUPAPI. DLL:CM_FREE_LOG_CONF_HANDLE' in the network configuration panel it lists the network adapter as a TCP/IP Protocol, but could not get on the internet. In the past, the only way this computer connected to the internet was through a dial-up access. Any help would be greatly appreciated.

    original title: problem of setting up a network of maps by ME

    Hello

    Windows ME (Windows Millennium Edition) is a Microsoft product.

    There is more support available for Windows Millennium Edition.


    Reference:
    end of support for Windows 98, Windows Me, and Windows XP Service Pack 1

  • my windows vista computer is to download a lot of updates which will create the lack of disk space in my hard C drive? Please help...

    my windows vista computer is to download a lot of updates which will create the lack of disk space in my hard C drive? Please help...

    You already have disk cleanup?

    Please use this tutorial:
    http://www.Vistax64.com/tutorials/76073-disk-cleanup.html

    The Atlantic tutorial has 2 parts:
    Step 1 to 11 is for the classic disk cleanup which will give you back some disc FEPs.
    Step 12 until the end (more), is to delete all except the most recent restore points. This will give bring you a ton of disk space.
    ATTENTION: Make sure that your computer works OK because you delete restore points.
    You have no past point to fall up to restore more new restore points are created.

  • Hello! I have CS5.5 Production Premium installed and now downloaded and installed CS6 PP Upg. Problem is the lack of space on the disk. What I can uninstall 5.5 or the Upg 6 should it work? I can move the 6 if necessary.

    Hello! I have CS5.5 Production Premium installed and now downloaded and installed CS6 PP Upg. Problem is the lack of space on the disk. What I can uninstall 5.5 or the Upg 6 should it work? I can move the 6 if necessary.

    Upgrades need not have the old version installed in order to work properly.  You can remove the old version if you wish.

  • Why will appear after installation, the lack of enforcement

    Why will appear after installation, the lack of enforcement

    White screen
    https://forums.Adobe.com/thread/1249756

    Sign-in black screen | Creative cloud desktop application
    https://helpx.Adobe.com/creative-cloud/KB/black-screen-sign-in-creative-cloud.html

  • Connect button then the lack of Feedback button?

    Why is the Connect button then the lack of Feedback button? How am I supposed to manage Site areas without it?

    I'm under Muse 7.0.1 on a Mac running 10.7.2

    After you publish a site, you can use the new button 'Manage' in the main toolbar.

  • The faulty Synaptics Touchpad on x 2 13-m121sa Split driver causing frost and lack of response from the mouse

    Edit: I found a solution, scroll down.

    I had problems with my new Split x 2 similar to those already explained in the forums by other users. The symptoms are:

    1. unusual hanging or freezing of the mouse pointer on the screen and the use of gestures temperament (two fingers to scroll, zoom, etc.).

    2. slowdown in the computer in general; acting lethargic and freezing during light use or after closing the display.

    The symptoms seem to change according to the duration of the computer was operated and are affected by the screen from the dock of disconnection/reconnection.

    Being very good with these things, I decided to investigate and discovered the following:

    The root cause of both problems is the driver for the Synaptics Touchpad. While the latest version available on the HP website (17.0.10.9) seems to solve all unusual freezing of the pointer it has a large memory leak. In other words, when you move it on the touchpad pointer uses the memory of the computer. This is normal, but the problem is that the driver for the touchpad does not return memory; It cannot be reassigned. In other words, after a few hours of computer use (or to have the display closed) memory reached saturation point and the version of the computer to a halt.

    If you encounter the same problem take a look for yourself: open the Task Manager and look at the performance tab. Under the brief entitled you will find a value for "Non paged pool. With the computer idle, this number will not rise, but move the mouse and you will see it go gradually upwards without return. I have confirmed this to be the Synaptics driver using the Windows tool poolmon.exe - the culprits are the Irp and SynT.

    About the solutions, I tried a lot - but there is no absolute solution.

    You can uninstall the Synaptics Touchpad driver and the problem will disappear - the memory usage is no longer freezing or high. But unless the driver that the computer is to use the standard Windows driver - there is therefore no multitouch gestures like scroll or zoom in.

    I tried to install the generic Synaptics driver available on their site, and the computer will not allow him. Regardless of this, I forced the installation of the driver, but the generic driver does not work with this Touchpad anyway (error code 10). I tried the latest version (17.0.19) and a former one (16.2.21) without success. Even earlier (e.g. 15.x.x) refused to run on the grounds of incompatibility.

    HP support suggested a "Refresh" of system setting to factory, but put aside from the huge inconvenience of time and losing files - I know that this does not work either. Apparently a clean install worked for a single user - but for this you need an installation of Windows or USB disc that I did not - and I am skeptical that it would work anyway.

    So now I use the touchpad driver Windows standard without being able to scroll, zoom or use them slide-in gestures of Windows 8.1.

    If a representative from HP is reading this, I strongly suggest that this issue be escalated. A simple update to Synaptics could solve this problem which is causing the computers people freeze and lose your support staff time.

    TL; DR: Driver HP Touchpad is defective and causes a memory leak. Synaptics has generic drivers do not work. And the standard Windows drivers are not satisfactory.

    SOLVED!

    Through my own research I found a solution. While the most recent driver listed under this model is 17.0.10.9 it is actually a newer version which doesn't have this problem: version 17.0.10.16!

    I am always disappointed that HP has not suggest this solution themselves, given this driver was published in November 2013! HP if you're reading this: Please allow this driver for this model in your support pages.

    In any case, the solution is:

    1. open Device Manager (Control Panel-> hardware and sound-> Device Manager)

    2 in the 'mice and other pointing devices' open «HID Synaptics TouchPad»

    3. in the "Driver" tab, click "Uninstall".

    4. the pointer will disappear - restart the computer

    5. download the new driver from here: http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?cc=uk & lc = on & softwareitem = ob-127354-1

    (if that link fails try to search online for 'synaptics driver 17.0.10.16')

    6. open and install the driver

    I hope this helps. HP, please send my consulting fees through PayPal (!)

  • Win32Time service caused the lack of memory

    Hi all

    I would ask support for Win2008 R2 64 bit on a Virtual Machine

    I found the physical memory to 99%, caused by Win32Time service.

    After restarting the server of physical memory is 37%

    I found different fixes, please can you tell me if one of them is the good, or how can I permanently solve this issue?

    http://support.Microsoft.com/kb/2847346/en-us

    http://support.Microsoft.com/kb/2743187

    Thank you

    This issue is beyond the scope of this site and must be placed on Technet or MSDN
  • Libretto U100 - Alternative to the lack of light 'Caps Lock'

    Strange that the U100 has no witness "Caps Lock". The small keyboard meant that, at first, I was still pressing caps lock shift when I tried to press the letter "a". Now I'm used to, I can type on it almost as fast as on my main laptop (Tecra S1) is not a big problem. However, a Caps Lock warning is always useful.

    I found a nice solution to http://64.233.161.104/search?q=cache:8YCkDdFl2TEJ:www.skarbek.com.au/chapter1.pdf+background+processes+causing+intermit tent + disc + activity + windows 2000 & hl = en.

    Here is a direct quote from the link: 'you can change windows to make a sound whenever the lock shift key is affected. Do it by clicking on start, settings, Control Panel, on the keyboard tab and Accessibility Options, click the checkbox ToggleKeys. Now when you press caps lock, shift, it makes a sound, and when you press it again to turn it out it will make a different sound. By activating this option the accidental press becomes immediately noticeable. »

    It works very well. Assuming that the volume is not set to zero, I have a high tone when shift caps lock is enabled and a low beep when it turns off.

    David Tong.

    PS. I'm the only person on the forum who is actually using these wonderful machines?

    Hello David

    Great display! Thanks for this useful info and the link. I think that the community should have more users like you. ;)

    Good bye

  • help the lack of service

    1 cannot open information system

    2. help service is missing

    3. unable to set default windows firewall

    It is quite difficult to be sure, with these clues... so let's get some clues that you don't end up chasing the wild goose.

    Now, I think I have fixed aid information system, help and support, then the XP firewall a thousand times, but could not find something in the notes with any error message that says:

    Cannot open information system
    assistance service is missing
    Cannot set default windows firewall

    I have a lot of similar things, but we need to know just what you see to provide assistance less frustrating.  It shouldn't be too difficult to fix but... with some information.

    Unfortunately, MS Answers forums does not prompt for any information system when a new question is asked, so we don't know anything on your system.

    This shortfall in crude in the development of MS Answers forums unnecessarily prolongs solving simple problems.

    Maybe someday the dialog box 'ask a question' forums XP will ask these questions automatically when a new thread is started so I don't have to ask every time.  It might even be possible to solve a problem in a single response when enough information is provided.

    Thank you MS Answers, allowing the resolution of simple problems as frustrating and a lot of time as possible.

    Provide information on your system, the better you can:

    What is your system brand and model?

    What is your Version of XP and the Service Pack?

    Describe your current antivirus and software anti malware situation: McAfee, Symantec, Norton, Spybot, AVG, Avira!, MSE, Panda, Trend Micro, CA, Defender, ZoneAlarm, PC Tools, Comodo, etc..

    The afflicted system has a CD/DVD drive work?

    You have a true bootable XP installation CD (it is not the same as any recovery CD provided with your system)?

    What you see you don't think you need to see?

    What do not you think that you should see?

    If the system works, what do you think might have changed since the last time it did not work properly?

    You have now or have you ever in the past used of third party applications on your system where the product description includes descriptive as sentences:

    cleaner, mechanic, detective, doctor, heal, optimize, clean up, tune up, speed up, set towards the top, compact, compress, faster, power, boost, boost, gum, muncher. one click fix, new, intuitive, errors, stop crashes, stop errors, improves, saves you money, risk free, guaranteed or any third-party program that has an icon that looks like a gear, pinion, key, key, whirling arrow or screwdriver?

  • OfficeJet 6500 e709a, win 8, Print & Scan Doctor indicates the lack of scanning software HP Twain

    Updated to Win 8 64 on toshiba laptop, all updates installed, deleted all the old software HP (4 times now with the L4 uninstall util, ccc, in Temp% 7% * of all downloads on system file.)  still no connection to scan.  Printer works fine.  When I try to scan, I get "cannot scan because another program or computer using the HP Imaging device in network. Try again later.   The rest of my network is shut down, leaving only the laptop, the router and the printer/scanner.  Ran print HP & Scan doctor... get extended info error 4, [(2, 7, 80040007), (0, 0, 0)(, 3, 7, 0)]

    Scanner has worked without problem in Win 7 Home Premium on the same system.  This one is only about 1-1/2 years... seems HP wants to buy me a new printer.   (Note: also have a model economy HP 2050... which prints and scans without any problem to win 8)

    Now 2 days later, adding to post.  Completely removed all the system HP printer software, rubbed %temp%, rubbed registry, 3 times more.  Always get error Scanner 8 [(1, 0,-2147024770)]

    Scanner works with Windows Fax & Scan, Scanner works fine on 2 Windows 7 machines using OJ6500vE709_Full_14.exe software, troubleshoot-performed Netgear WNDR3400v2 router configured the Norton 360 Firewall to accept hpqkygrp.exe, hpqste08.exe hpqtra08.exe by HP Document CB022-90014 supplied with the printer.  hpqscnvw.exe & hpqthb08.exe are on the document are not present in C:\program HP imaging\bin. Checked ports used by the printer/scanner for the open State.  Ran Print & Scan Doctor - led Twain error every time.

    Install by using the results of the network USB vice in the same question.

    Microsoft, Norton and HP offer no solutions in the forums, or with technical support.  It is a home network, 3 computers, 1 printer, 1 router.  The printer is the cable to the port on the router.

    It seems that the installation package OJ_AIO_6500vE709_Full_Win_WW_140_408.exe missing something, since the old version worked fine in Win 8 until it has been updated to the new version.

    We did some research on this problem and it is caused by a file being in the wrong directory when the installation is done.

    That's why scanning works programs MSPaint or Windows scanning and Fax but not HPs Scan App.

    The indications are very simple and are as follows

    1. Find the folder where 7zip extracted your web pack (the directory starts with 7Z)
    2. In this folder, navigate to the drivers\scanner\x32\ folder.
    3. Copy the HPWTIOP4. DLL from that folder to the Program Files (x 86) \HP\DigitalImaging\Bin folder

    I hope this helps.

    Good luck

  • The lack of CD/DVD drive - not recognized by windows or other programs

    help-tried several fixes m/s and fix it but did not help. Here are a few messages I get: when in the details of the driver for my Sony DVD + RW AWQ160s - update drivers: here are 2 notches and uncked 2, one by Sonic Solutions and a Roxio time saying no digitally signed (that would be a problem)?  also when I look at update or install the updated driver, after that search, I get this is the best driver for this device - I don't have this device Ouch!  Without my CD drive E work of course I can't even try reinstalling drivers/utilities cd... can someone help this computer incompetent gal?  I'm ready to wipe and reinstall vista I have other problems like IE does not and ms word does not always.  I did go back several times, and perhaps not far enough back but had a Trojan horse and do not want to deal with it again.  thx for any help

    Hello

    (1) would you please provide more information about the problem you are having with word and Internet Explorer?

    Method 1: You may need to reinstall Roxio on your computer, please see the article below for programs that can cause this problem:

    Your CD or DVD drive is missing or is not recognized by Windows or other programs

    http://support.Microsoft.com/kb/982116

    Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base.
    How to back up and restore the registry in Windows

     

    Method 2: If a Protection of resources Windows (WRP) file is missing or is damaged, Windows may not behave as expected. Auditor of file system (CFS) scan to fix all of the corrupted system files. To do this, follow the steps mentioned in the link below:

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

    http://support.Microsoft.com/kb/929833

    Thank you, and in what concerns:

    Ajay K

    Microsoft Answers Support Engineer
    ***************************************************************************
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Lightroom strange error then to develop and the lack of catalog

    Hello

    I just almost had a heart attack. I was editing photos and jumps between devleop and Slideshow module... when running a slide show, a beige screen appeared instead of the photo so I pressed "ESC" to exit the slideshow full screen and photos have started to get the exclamation sign and possibly the photographs showed no... I right click on the folder where pictures are stored and click on synchronize folder... After that all development settings have been removed and there is no pictures in the current catalog... I went to the file - open recent - Untitled.lrcat... He opened all the photos but without adjustments and collections... The last backup I have is 4 months... is possible to restore the catalog to an earlier version of the backup of 4 month?

    So on the next day after the answer above, I thought a possible that might arise the problem you encountered.

    If the disk containing the photos suddenly and unexpectedly been physically disconnected while you work (because something hit the connecting cable, or the cable is not correctly connected, or perhaps a failing drive), this could cause what you saw. It does not really help resolve the problem, however, I don't think there is a fix at this stage.

  • option to hide the lack of application menu

    I just installed Fusion 8 Pro on a clean install of Yosemite. He added the Menu Applications VMware to the OS X menu bar as before, but now it lacks the option to display always, never, or only during operation. The only thing in the settings of the virtual machine Menu under 'add items to the menu of the application' and 'clear recent applications '.

    This is true with an existing VM that I imported as well as a newly created.

    Any ideas?

    Thank you very much

    Aaron

    It is proposed to preferences because is not a per-VM parameter, so you can set it up without the need to find a virtual machine that supports the rest of the settings of the Application Menu.

  • VMWare starts is not the lack of physical memory?

    One of my systems has 24 GB of RAM and a 12 GB of ram, in the allocation of 3-4 GB of ram for my VM (2 VMs) I'll often questions by saying that I don't have enough physical memory when I use less than 25% of my memory of the system. Anyone know what causes this? I often can fix it by placing it to share some the most memory... but still do not understand why I have memory problems. And I have also set it up to have access to ALL my ram system (24 on a 12 on the other system)

    It's normal.
    Latest version where you can simply use Workstation on the powerful hosts without twisting the config.ini manually is 6.5
    Use the config.ini file entries that I suggested to this other post - Andres link

Maybe you are looking for

  • each song is ignored in the version of music apple 12.5.1

    Hello I updated my apple music on my iphone to my macbook pro and my mac pro and its only on my mac pro that I choose to listen to my whole library or a playlist starts skipping songs without playing anything. my friend has exactly the same problem I

  • The commands on the keyboard do not work

    I'm really lost on this one. The keyboard controls function not unless the menu bar is selected. For example: by pressing cmd + t has no effect on its own, but if I press the menu bar with my mouse first (any column, as long as it is selected), then

  • StarCraft 2 is incompatible?

    If Starcraft 2 now does not work on my computer after a few updates... He repeatedly through all process of installing a patch, but just restarts the program, Windows 7 x 64 says that the program is not compatible and I can not understand how to fix

  • Cannot install roll 2 for windows xp media center 2005

    I have a hp media center M1080N desktop computer, I checked my media center and found that I "Windows XP media center 2005, Version 5.1.2700.2180, without mention of Roll Up 2 for windows. I tried to install it and it has not tried 3 times. It all st

  • T61 7659-ac5 refuses to power on

    Hello This is my first time to post in this forum. I bought a used t61 7659-ac5, I got it without a sata drive. Experienced on linux mint for now all looking for a decent used sata drive. Ran memory tests and downloaded updates, downloaded games to t