 




<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>IT Answers &#187; Query plan</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/tag/query-plan/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers</link>
	<description></description>
	<lastBuildDate>Tue, 21 May 2013 22:12:10 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Flush the query plan from the RAM.</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/flush-the-query-plan-from-the-ram/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/flush-the-query-plan-from-the-ram/#comments</comments>
		<pubDate>Thu, 27 Mar 2008 14:57:05 +0000</pubDate>
		<dc:creator>MNA</dc:creator>
				<category><![CDATA[caches]]></category>
		<category><![CDATA[Query plan]]></category>
		<category><![CDATA[RAM]]></category>
		<category><![CDATA[SQL Server 2005]]></category>
		<category><![CDATA[SQL Server performance]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Our clients are reporting that the sql server is slowing down over a period of time. Once the SQL Server is restarted everything is fine.SQL server slowing down over a period of time though has technical reasons. SQL server caches (in memory) the queries that are sent it to, expecting to reuse it if the [...]]]></description>
				<content:encoded><![CDATA[<p>Our clients are reporting that the sql server is slowing down over a period of time. Once the SQL Server is restarted<br />
 everything is fine.SQL server slowing down over a period of time though has technical reasons. SQL server caches (in memory) the queries that are sent it to, expecting to reuse it if the same query is sent again. Over a period of time this cache builds up (and the memory) to a point where it reaches the RAM limit. After this it starts to use the hard disk for memory (virtual memory) which is slower. Restarting the sql server will clear the cache thereby speeding up the server. This problem is partly to do with how SQL server is designed and mostly with application design. SQL Server 2005 SP2 is supposed to address this cache bloating problem. A poorly designed SQL query will never get reused but they just bloat the cache. Rewriting these queries to be reused will make caching more effective. I have a set of queries which I believe that are causing the RAM to bloat.Most of the queries are Select statements, How can I effectively rewrite these queries so that<br />
they are flushed out of the RAM each time after they are used?</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/flush-the-query-plan-from-the-ram/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/14 queries in 0.021 seconds using memcached
Object Caching 322/339 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-22 04:40:40 -->