I've got an application where all the sproc开发者_开发问答s are running nice and quick, but the sp_reset_connection calls between them are taking anything up to 20 seconds. I've looked at locking and blocking but can't see any happening and don't understand how this would effect sp_reset_connection. Help!
I've figured out what the issue was. It looks like when you run a trace the data gets written as part of this sproc, this means that if you're tracing into a table and the insert speed isn't stellar everything grinds to a halt.
精彩评论