Posted by Adam Rogas on 02/04/06 02:01
I have a couple of complex stored procedures that work well and quickly
once they have compiled. The problem I am running into is that every
once in a while they want to refresh thier execution plans, and when
that happens it takes about 1 minute and 30 seconds for them to
rebuild, well of course my application is set up to time out commands
after 30 seconds so basicly the stored procedure never completes and
hangs up all of my subsequent stored procdures.
I have tried to use
OPTION KEEP FIXEDPLAN
on all of my select statments but I was wondering what else could be
done to stop a stored procedure from it's need to rebuild.
-Adam
Navigation:
[Reply to this message]
|