Viewing 14 posts - 1 through 15 (of 15 total)
ta for the update - this is still running without issue
June 12, 2015 at 7:57 am
rebuilt properly (using record id for all selects/updates/inserts) - and been running for a while with no deadlocks.... still dont understand what was causing them though as the ids were...
June 12, 2015 at 5:50 am
ya i got to that - going to rebuild using recordid as key as will be quicker than trying to work out what the hells happening here as am really...
June 12, 2015 at 5:11 am
the uniqueness of that column is handled from my app - as you can see from deadlocks - it is always using different id's
June 12, 2015 at 4:59 am
tbl is for a temp quick and dirty process I am running - max 90k records - default value for user id is '-'
as such no unique index, just added...
June 12, 2015 at 4:58 am
hmm - seems to still deadlock - normally against itself:
Deadlock graph150823671sa0X0116
2015-06-12 11:31:09.347<deadlock-list>
<deadlock victim="processa58e3048">
<process-list>
<process id="processa58e3048" taskpriority="0" logused="2204" waitresource="RID: 29:1:11558:16" waittime="2754" ownerId="2184117293" transactionname="user_transaction" lasttranstarted="2015-06-12T11:31:06.563" XDES="0xaf8403b0" lockMode="U"...
June 12, 2015 at 4:49 am
not sure where my deadlock post has gone with the graph attached (prehaps some sort of review)
anyway - graph showed it was conflicting with a similar proc (markascomplete) used the...
June 12, 2015 at 4:25 am
fyi deadlock graph attached
the 2 conflicting statments in this instance are:
303: MarkAsCompleted 'C0239484'
192: MarkAsKO 'C0239494'
As such seems to be conflicting with another proc - im reviewing now
June 12, 2015 at 4:16 am
sorry for delay - my profilers not picking up the graphs - will ppost soon - the deadlock issue is worse with the new code
June 12, 2015 at 4:03 am
Should be ok - as stated each user will only ever have 1 record locked 😀
spaghettidba (6/12/2015)
June 12, 2015 at 3:43 am
thanks guys, going to try spaghettidba solution - alos have started a profiler so will post a graph as soon as it occours again.
Ta
June 12, 2015 at 3:38 am
i have a feeling with(nolock) could be causing this!!
June 12, 2015 at 3:25 am
mutant ants 😀 - any guidance on why it shouldnt be used (does it have monsterous overhead or something), or is it just as it forces 1 read at a...
June 12, 2015 at 2:49 am
thanks - i have opted for slightly simpiler way of doing it:
using the app lock sp - basically queues up the calls to proc so only 1 user can use...
June 12, 2015 at 2:03 am
Viewing 14 posts - 1 through 15 (of 15 total)