<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www2.sqlblog.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>SQL Server Procedure Cache: More Relief on the Way</title><link>http://www2.sqlblog.com/blogs/adam_machanic/archive/2008/04/15/sql-server-procedure-cache-more-relief-on-the-way.aspx</link><description>If you've read many of my blog posts, you know that I consider lack of procedure cache control to be a major SQL Server pain point . Badly written apps that use non-parameterized ad hoc queries can quickly flood SQL Server's memory pools and bring the</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP2 (Build: 61129.1)</generator><item><title>re: SQL Server Procedure Cache: More Relief on the Way</title><link>http://www2.sqlblog.com/blogs/adam_machanic/archive/2008/04/15/sql-server-procedure-cache-more-relief-on-the-way.aspx#6247</link><pubDate>Wed, 16 Apr 2008 15:42:25 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:6247</guid><dc:creator>Andrew Kelly</dc:creator><description>&lt;p&gt;Yup, they finally listened to us after all these years of &amp;quot;discussing&amp;quot; the topic:).&lt;/p&gt;
</description></item><item><title>re: SQL Server Procedure Cache: More Relief on the Way</title><link>http://www2.sqlblog.com/blogs/adam_machanic/archive/2008/04/15/sql-server-procedure-cache-more-relief-on-the-way.aspx#6601</link><pubDate>Fri, 02 May 2008 19:23:51 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:6601</guid><dc:creator>Gail Shaw</dc:creator><description>&lt;p&gt;That's good to hear. Do you know if there's any similar fix for the token store? &lt;/p&gt;
</description></item><item><title>re: SQL Server Procedure Cache: More Relief on the Way</title><link>http://www2.sqlblog.com/blogs/adam_machanic/archive/2008/04/15/sql-server-procedure-cache-more-relief-on-the-way.aspx#30364</link><pubDate>Wed, 10 Nov 2010 19:37:14 GMT</pubDate><guid isPermaLink="false">21093a07-8b3d-42db-8cbf-3350fcbf5496:30364</guid><dc:creator>Ranga Narasimhan</dc:creator><description>&lt;p&gt;We had this issue and almost brought down the server to its knees. Using sp_executesql with parameterization is good, but in our case, the sql statement itself was built based on the stored proc paremeters. Based on the sort condition, the order by clause differs. In this case even parameterization will not work I think. Is this considered adhoc query or not, since it comes from a stored procedure. As usual developers still think that dynamic sql is the only way to go in this part of the application where user options changes the stored proc query.&lt;/p&gt;
</description></item></channel></rss>