Viewing 15 posts - 1 through 15 (of 28 total)
BREAKTHROUGH! 🙂
Starting with a clear mind today, I took paper and pencil to hand and plotted out the timeline from the deadlock report.
Looking at the timestamps in there...
April 11, 2016 at 10:06 am
Thanks Perry, but correct me if I'm wrong but that would only help if I was "witnessing" the actual blocking/deadlocking, right?
April 11, 2016 at 9:51 am
lnardozi 61862 (1/17/2016)
January 18, 2016 at 2:58 am
Sergiy (1/17/2016)
Stijn977 (1/15/2016)
took me a minute to realize what you meant, but I think you mean:use ISNULL everywhere
for those fields which allow NULL : use CASE ?
No,...
January 18, 2016 at 2:47 am
lnardozi 61862 (1/15/2016)
January 17, 2016 at 4:15 am
The code example you posted as "finalised" excludes all NULL variables from the UPDATE altogether.
That's correct. But because I am using sp_execute SQL there is a workaround and I 'could'...
January 15, 2016 at 3:30 am
serg-52 (1/15/2016)
Sergiy (1/14/2016)
How do you deal with concurrent updates?
If 2 or more users edit the same record in their independent instances of C++ application - which version of...
January 15, 2016 at 3:14 am
lnardozi 61862 (1/14/2016)
in this case the application code has processed all changes in memory and needs to (at set times) write all changes to the database.
I'm surprised no one...
January 15, 2016 at 3:12 am
MMartin1 (1/14/2016)
January 15, 2016 at 3:09 am
Hi Michael, appreciate the points you raise! I haven't had time yet to look into the practicality of 'temp table' based updates in my case, do you mind if I...
January 14, 2016 at 10:48 am
Hi Serg!
Those groups of INSERTS & UPDATES are one business transaction.
I wouldn't say the DB is a backup facility. When I say stuff gets updated/inserted every now and...
January 14, 2016 at 6:21 am
@ Michael,
A very good observation that I "might not have a problem". This is fortunately true at the moment. I am trying to anticipate our application scaling up users,...
January 14, 2016 at 4:18 am
Hi Sergiy, appreciate you joining the discussion.
Unfortunately your idea isn't fitting for me because:
- if the update runs, it would update all fields of the table (in case of...
January 14, 2016 at 3:11 am
Heya, I'm trying to update a lot of different rows, each needing different fields updated. So set based approach does not qualify I'm afeaid. Unless I am missing something.
But thanks...
January 13, 2016 at 4:12 pm
Hi abdullah!
Thank you for your input. 🙂
i've already experimented with turning on workload for ad-hoc (as well as altering the db to turn on forced parameterization). Unfortunately not with good...
January 13, 2016 at 4:11 pm
Viewing 15 posts - 1 through 15 (of 28 total)