<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Re : Database  Deadlock in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-database-deadlock/m-p/9840856#M1785171</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rinki,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the information from the deadlock dump is not complete. You need to find out the two database table rows in question - I see only one, an update request on statistics info system table S062. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first step would be to find out the other ressource which was to be locked. Also, the two code parts which issued these locks have to be identified. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S062 update can come from standard code, or equally well from Z code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, in a second step, you can think about how to prevent these deadlocks in future. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Common resolutions for deadlocks of this kind could be: &lt;/P&gt;&lt;P&gt;Putting the two ressources into a group and locking them jointly, for example with the call of an enqueue object,&lt;/P&gt;&lt;P&gt;or: Putting the processing of the ressources into a defined sequence. If all consuments work with the same defined sequence, the deadlock cannot happen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rüdiger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Oct 2013 13:30:57 GMT</pubDate>
    <dc:creator>Ruediger_Plantiko</dc:creator>
    <dc:date>2013-10-29T13:30:57Z</dc:date>
    <item>
      <title>Re : Database  Deadlock</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-database-deadlock/m-p/9840855#M1785170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We need your valuable inputs regarding the following scenario..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some databse deadlock issue is occuring while uers executing few transactions which involves standard transactions.&lt;/P&gt;&lt;P&gt;I have given few scraps which we got from database lock , First&amp;nbsp; of all we are not sure whether we can do&amp;nbsp; anything from SAP abap technical part&amp;nbsp; or not as it might need basis database admintrators.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone give us some inpits regarding the same ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------start------------------------&lt;/P&gt;&lt;P&gt;The following deadlock is not an ORACLE error. It is a&lt;/P&gt;&lt;P&gt;deadlock due to user error in the design of an application&lt;/P&gt;&lt;P&gt;or from issuing incorrect ad-hoc SQL. The following&lt;/P&gt;&lt;P&gt;information may aid in determining the deadlock:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------&lt;/P&gt;&lt;P&gt;Deadlock graph:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ---------Blocker(s)--------&amp;nbsp; ---------Waiter(s)---------&lt;/P&gt;&lt;P&gt;Resource Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; process session holds waits&amp;nbsp; process session holds waits&lt;/P&gt;&lt;P&gt;TX-01700003-000264fd&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 766&amp;nbsp;&amp;nbsp;&amp;nbsp; 4288&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 226&amp;nbsp;&amp;nbsp;&amp;nbsp; 3457&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X&lt;/P&gt;&lt;P&gt;TX-00640020-00035bc1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 226&amp;nbsp;&amp;nbsp;&amp;nbsp; 3457&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 766&amp;nbsp;&amp;nbsp;&amp;nbsp; 4288&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;session 4288: DID 0001-02FE-00000117&amp;nbsp;&amp;nbsp;&amp;nbsp; session 3457: DID 0001-00E2-000000F4 &lt;/P&gt;&lt;P&gt;session 3457: DID 0001-00E2-000000F4&amp;nbsp;&amp;nbsp;&amp;nbsp; session 4288: DID 0001-02FE-00000117 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rows waited on:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Session 4288: obj - rowid = 00030003 - AAAwADACDAAIoOHAAd&lt;/P&gt;&lt;P&gt;&amp;nbsp; (dictionary objn - 196611, file - 131, block - 2261895, slot - 29)&lt;/P&gt;&lt;P&gt;&amp;nbsp; Session 3457: obj - rowid = 00030003 - AAAwADACJAAH7oPAAJ&lt;/P&gt;&lt;P&gt;&amp;nbsp; (dictionary objn - 196611, file - 137, block - 2079247, slot - 9)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;----- Information for the OTHER waiting sessions -----&lt;/P&gt;&lt;P&gt;Session 3457:&lt;/P&gt;&lt;P&gt;&amp;nbsp; sid: 3457 ser: 45823 audsid: 5013813 user: 41/SAPSR3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; flags: (0x1000045) USR/- flags_idl: (0x1) BSY/-/-/-/-/-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; flags2: (0x40009) -/-/INC&lt;/P&gt;&lt;P&gt;&amp;nbsp; pid: 226 O/S info: user: orap00, term: UNKNOWN, ospid: 47251658&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; image: oracle@sappp00s&lt;/P&gt;&lt;P&gt;&amp;nbsp; client details:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; O/S info: user: p00adm, term: , ospid: 32702718&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; machine: sappa06 program: dw.sapP00_D17@sappa06 (TNS V1-V3)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; client info: 0::RSM13000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; application name: RMCSS062, hash value=4213879826&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; action name: 3718, hash value=2275214098&lt;/P&gt;&lt;P&gt;&amp;nbsp; current SQL:&lt;/P&gt;&lt;P&gt;&amp;nbsp; UPDATE "S062" SET "WAERS"=:A0 , "IAMATKOSE"="IAMATKOSE" +:A1 , "IAPERKOSF"="IAPERKOSF" +:A2 , "IAPERKOSE"="IAPERKOSE" +:A3 , "IAMATKOSF"="IAMATKOSF" +:A4 , "IADIENKOS"="IADIENKOS" +:A5 , "IASONKOST"="IASONKOST" +:A6 , "IAERTRAG"="IAERTRAG" +:A7 , "IAOFN"="IAOFN" +:A8 , "IASOF"="IASOF" +:A9 , "IAPLANM"="IAPLANM" +:A10 , "IAUNGPL"="IAUNGPL" +:A11 , "IAABG"="IAABG" +:A12 , "IAKOSPLAN"="IAKOSPLAN" +:A13 , "IAKOSIST"="IAKOSIST" +:A14 WHERE "MANDT"=:A15 AND "SSOUR"=:A16 AND "VRSIO"=:A17 AND "SPMON"=:A18 AND "SPTAG"=:A19 AND "SPWOC"=:A20 AND "SPBUP"=:A21 AND "SKLSOB"=:A22 AND "SUBMT"=:A23 AND "HERST"=:A24 AND "BAUJJ"=:A25 AND "BAUTL"=:A26 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;----- End of information for the OTHER waiting sessions -----&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 13:04:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-database-deadlock/m-p/9840855#M1785170</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-29T13:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Re : Database  Deadlock</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-database-deadlock/m-p/9840856#M1785171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rinki,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the information from the deadlock dump is not complete. You need to find out the two database table rows in question - I see only one, an update request on statistics info system table S062. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first step would be to find out the other ressource which was to be locked. Also, the two code parts which issued these locks have to be identified. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S062 update can come from standard code, or equally well from Z code. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, in a second step, you can think about how to prevent these deadlocks in future. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Common resolutions for deadlocks of this kind could be: &lt;/P&gt;&lt;P&gt;Putting the two ressources into a group and locking them jointly, for example with the call of an enqueue object,&lt;/P&gt;&lt;P&gt;or: Putting the processing of the ressources into a defined sequence. If all consuments work with the same defined sequence, the deadlock cannot happen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rüdiger&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 13:30:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-database-deadlock/m-p/9840856#M1785171</guid>
      <dc:creator>Ruediger_Plantiko</dc:creator>
      <dc:date>2013-10-29T13:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Re : Database  Deadlock</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-database-deadlock/m-p/9840857#M1785172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems this note is a perfect hit: Please check:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://service.sap.com/sap/support/notes/1619751" title="1619751  - Database deadlocks on S061 and S062 tables"&gt;1619751 - Database deadlocks on S061 and S062 tables&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 13:35:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-database-deadlock/m-p/9840857#M1785172</guid>
      <dc:creator>Ruediger_Plantiko</dc:creator>
      <dc:date>2013-10-29T13:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: Re : Database  Deadlock</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-database-deadlock/m-p/9840858#M1785173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rudiger,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have alreday gone through the note&amp;nbsp; but we really did not get the solutions for the same.&lt;/P&gt;&lt;P&gt;It does not tells anything regarding changing in any standard code or anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you please provide us some inputs regarding the same ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2013 12:12:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-database-deadlock/m-p/9840858#M1785173</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-04T12:12:28Z</dc:date>
    </item>
    <item>
      <title>Re: Re : Database  Deadlock</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-database-deadlock/m-p/9840859#M1785174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adding another thing, &lt;BR /&gt;can the structure changes mentioned in the note implemented by basis team of PM functional owner ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2013 12:13:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-database-deadlock/m-p/9840859#M1785174</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-04T12:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Re : Database  Deadlock</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-database-deadlock/m-p/9840860#M1785175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rinki,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in option 2 you have to change update mode in transaction OMOS to V3. After that you have to plan a job for V3 update with transaction MC3V.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This seems to be really clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Klaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2013 12:21:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-database-deadlock/m-p/9840860#M1785175</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-11-04T12:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Re : Database  Deadlock</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-database-deadlock/m-p/9840861#M1785176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No code change is required, you shouldt read the note again (read "resolution") and change the update mode to V3 (transaction OMOS) and then schedule a periodic job which will update the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2013 12:24:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-database-deadlock/m-p/9840861#M1785176</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2013-11-04T12:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Re : Database  Deadlock</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/re-database-deadlock/m-p/9840862#M1785177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="j-post-author "&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://answers.sap.com/people/klaus.babl" id="jive-3525846474601481129160"&gt;Klaus&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN class="j-post-author "&gt; was faster..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author "&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author "&gt;Raymond&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2013 12:25:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/re-database-deadlock/m-p/9840862#M1785177</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2013-11-04T12:25:59Z</dc:date>
    </item>
  </channel>
</rss>

