Viewing 4 posts - 511 through 514 (of 514 total)
It sounds like the obvious hasn't been stated. Some inserts take over a second, but with 2m per day they all aren't. Reads block. Sounds like during the times when...
June 22, 2007 at 7:03 am
Two other things that have not been mentioned.
-- This fixes storage that gets corrupted in 2000. 2005 keeps track better
dbcc updateuseage( 'eachdb')
-- 2000 statistics could be bad also, update them
exec...
June 22, 2007 at 6:33 am
Use an update (UPDLOCK) lock on the select rather than a (READCOMMITED)
If the count doesn't need to be perfect use this instead.
select @BeginCount=max
May 11, 2007 at 8:03 am
Biggest impact for me was code that used "SET ROWCOUNT"
Below is the version I use for 2000
SET ROWCOUNT @NumDelete
delete --...
May 7, 2007 at 11:25 am
Viewing 4 posts - 511 through 514 (of 514 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy