Viewing 15 posts - 7,651 through 7,665 (of 18,923 total)
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
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 column shouldn't be...
October 12, 2010 at 7:47 am
WayneS (10/10/2010)
Ninja's_RGR'us (10/10/2010)
GilaMonster (10/7/2010)
TheSQLGuru (10/7/2010)
I wonder if the top 10 posters aren't 10 or more percent of the total posts.
If you do the maths, it works out...
October 10, 2010 at 3:25 pm
GilaMonster (10/7/2010)
TheSQLGuru (10/7/2010)
I wonder if the top 10 posters aren't 10 or more percent of the total posts.
If you do the maths, it works out that the...
October 10, 2010 at 7:19 am
Viewing 15 posts - 7,651 through 7,665 (of 18,923 total)