August 30, 2004 at 11:28 am
August 30, 2004 at 12:44 pm
Chad,
Everything you described is accurate. Your only option, given the supplied information, is to have your procedure perform a "dirty read". I think all the performance items you have added are not costing you time, in their up keep. But rather your query is waiting for a chance to take a snapshot of the data. You are the only one that can determine if a dirty read is acceptable for your users.
Ed
August 30, 2004 at 12:57 pm
August 30, 2004 at 1:27 pm
It would be a wait due to a lock and the SPID would never be blocked.
What happens internally is SQL Server starts a snapshot read. If the data changes before it completes the read, it starts over.
To resolve, take a look at the locks when it is occurring. You want to ensure there are no Table locks and a minimum of page locks.
Ed
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply