Viewing 15 posts - 7,651 through 7,665 (of 18,926 total)
robbemorris (10/12/2010)
Wouldn't you have to arrange an asynchronous test to truly duplicate what is going on in production?
Not sure what you mean.
I had SSMS opened and I had 5 connections...
October 12, 2010 at 1:29 pm
I won't have time to finish those tests but I seem to be getting as much as 10-15% throughput increase with that little change and 1M updates in 2 minutes...
October 12, 2010 at 12:58 pm
Hence you'll need more hardware....
Or a difference solution.
40% is not "much" but as soon as you get a burst or cpu heavy query you're toasted.
But using a tinyint here wouldn't...
October 12, 2010 at 12:48 pm
Also I guess that you don't need a Datetime for the create date.
Smalldatetime might save you a few page reads here and there as well.
I know this seems...
October 12, 2010 at 12:11 pm
Any way to move the PK from GUID to TINYINT or SMALLINT?
That would give "less" work for the server as the key would be ±18 times smaller.
I know it's not...
October 12, 2010 at 12:04 pm
Can we see a little more info about the table design and which table is having the issue?
Maybe you could go around the issue with other tools of sql server.
And...
October 12, 2010 at 11:28 am
robbemorris (10/12/2010)
Keep in mind, these are thousands of simultaneous updates...
October 12, 2010 at 11:18 am
Then you need more hardware power...
Checkout where the server is waiting (IO, RAM, CPU). You'll likely find the problem in that order.
It's also possible to do the insert solution...
October 12, 2010 at 11:16 am
Well 2 things.
One thing that will likely cause a lock is to do update... then select where.
Depending on the transaction isolation levels that can lock it up enough to slow...
October 12, 2010 at 10:53 am
WayneS (10/12/2010)
Ninja's_RGR'us (10/12/2010)
If not you could always do "select top 2 distinct...
October 12, 2010 at 10:51 am
I can't hardly see this really locking up...
Are we seeing the whole procedure?
October 12, 2010 at 10:34 am
Are you looking at last date and then last date minus 1 day or even minus 1 business day?
If not you could always do "select top 2 distinct order by...
October 12, 2010 at 10:32 am
LadyRuna (10/12/2010)
Since there were so few ladies at the SSC party last year, maybe have a "ladies get in free" offer??? :w00t:
That won't get any more female DBAs in the...
October 12, 2010 at 9:56 am
Phil Parkin (10/12/2010)
Ninja's_RGR'us (10/12/2010)
Phil Parkin (10/12/2010)
Alvin Ramard (10/12/2010)
--One thing for sure, it wouldn't be fast.
I'd like to nominate this comment for UNDERSTATEMENT OF THE DAY 😀
Quicksort on a single...
October 12, 2010 at 8:08 am
Viewing 15 posts - 7,651 through 7,665 (of 18,926 total)