Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

I'm not sure if it is good to enable the KEEPFIXED PLAN to reduce the impact of recompilation in the Production Env?

I'd know if we may gain performance after that or on the other hand it will be even worse.

For my case, I have a batch of Store Procedure running on the Sql Server 2k5 and some one of need to run in a fixed loop condition.

Thanks!

Vance

share|improve this question

1 Answer 1

Personally, I wouldn't use it.

There are better ways on managing this with asynchronous statistics or plan guides nowadays. I've only ever seen this hint used on some old trading database that was geared towards Sybase/very old SQL Server.

Also, you now have statement level recompilation that may fit your use case better

But really, you'll have to try it and find out in your situation...

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.