Quantcast
Channel: MSDN Blogs
Viewing all articles
Browse latest Browse all 12366

Plan cache pollution or how important it is to properly define parameters in code

$
0
0
Recently I was involved in couple of cases concerning plan cache taking more than 20% of the SQL Server Buffer Cache and although there is no fixed threshold/best practices value, I noticed that there were a lot of identical statements getting cached. Effective plan caching is important for optimal performance on SQL Server and I will not get into details why. If you want to further read on plan caching, there is a great whitepaper on MSDN – Plan Caching and Parametrization Back to my scenario...(read more)

Viewing all articles
Browse latest Browse all 12366

Trending Articles