<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL SERVER &#8211; Clear SQL Server Memory Caches</title>
	<atom:link href="http://blog.sqlauthority.com/2008/07/22/sql-server-clear-sql-server-memory-caches/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sqlauthority.com/2008/07/22/sql-server-clear-sql-server-memory-caches/</link>
	<description>Personal Notes of Pinal Dave</description>
	<lastBuildDate>Thu, 09 Feb 2012 10:31:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Suman</title>
		<link>http://blog.sqlauthority.com/2008/07/22/sql-server-clear-sql-server-memory-caches/#comment-244493</link>
		<dc:creator><![CDATA[Suman]]></dc:creator>
		<pubDate>Fri, 27 Jan 2012 10:56:08 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=720#comment-244493</guid>
		<description><![CDATA[hey Srinath.. but I have hundreds of SP&#039;s. This will hit on the performance then....]]></description>
		<content:encoded><![CDATA[<p>hey Srinath.. but I have hundreds of SP&#8217;s. This will hit on the performance then&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eswar</title>
		<link>http://blog.sqlauthority.com/2008/07/22/sql-server-clear-sql-server-memory-caches/#comment-204237</link>
		<dc:creator><![CDATA[Eswar]]></dc:creator>
		<pubDate>Fri, 25 Nov 2011 08:52:42 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=720#comment-204237</guid>
		<description><![CDATA[Dear All,

We are using a DB view in our project. This is the view which will be triggered many times in different reports. Initially data is coming fast but gradually the performance is getting down. 

Can some one help us to improve the performance,

Thanks in advance.

Eswar]]></description>
		<content:encoded><![CDATA[<p>Dear All,</p>
<p>We are using a DB view in our project. This is the view which will be triggered many times in different reports. Initially data is coming fast but gradually the performance is getting down. </p>
<p>Can some one help us to improve the performance,</p>
<p>Thanks in advance.</p>
<p>Eswar</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alok Dwivedi</title>
		<link>http://blog.sqlauthority.com/2008/07/22/sql-server-clear-sql-server-memory-caches/#comment-194039</link>
		<dc:creator><![CDATA[Alok Dwivedi]]></dc:creator>
		<pubDate>Sat, 12 Nov 2011 19:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=720#comment-194039</guid>
		<description><![CDATA[Hello sir
 I am using Sql Server 2008 and want to write a procedure which can update the table as i fire it.
Suppose there is 100 data so at the time of updation the 100 data will be sequenced by datetime(this is one of the column data type) and when the another 5 data has been inserted and after then i fire that procedure it only sequenced the rest of 5 data no need to touch the data of 100 what i should have to do??]]></description>
		<content:encoded><![CDATA[<p>Hello sir<br />
 I am using Sql Server 2008 and want to write a procedure which can update the table as i fire it.<br />
Suppose there is 100 data so at the time of updation the 100 data will be sequenced by datetime(this is one of the column data type) and when the another 5 data has been inserted and after then i fire that procedure it only sequenced the rest of 5 data no need to touch the data of 100 what i should have to do??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: srinath</title>
		<link>http://blog.sqlauthority.com/2008/07/22/sql-server-clear-sql-server-memory-caches/#comment-149977</link>
		<dc:creator><![CDATA[srinath]]></dc:creator>
		<pubDate>Fri, 22 Jul 2011 06:54:14 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=720#comment-149977</guid>
		<description><![CDATA[Hey Suman,
only solution is..
just go to memory settings and set max value 1024MB and click apply
thn again go to memory settings set 32GB.. now see the sql server memory utilization.. u got it.. rit..]]></description>
		<content:encoded><![CDATA[<p>Hey Suman,<br />
only solution is..<br />
just go to memory settings and set max value 1024MB and click apply<br />
thn again go to memory settings set 32GB.. now see the sql server memory utilization.. u got it.. rit..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HH</title>
		<link>http://blog.sqlauthority.com/2008/07/22/sql-server-clear-sql-server-memory-caches/#comment-141422</link>
		<dc:creator><![CDATA[HH]]></dc:creator>
		<pubDate>Thu, 16 Jun 2011 16:26:35 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=720#comment-141422</guid>
		<description><![CDATA[Hi
I have an issue with a server memory. SQL server is allocated 31 Gb out of 32 GB memory and sql server is using all the memory which is allocated to it.

The memory usage is gradually increasing to the max value that is allocated to SQL Server.
Any suggestions?]]></description>
		<content:encoded><![CDATA[<p>Hi<br />
I have an issue with a server memory. SQL server is allocated 31 Gb out of 32 GB memory and sql server is using all the memory which is allocated to it.</p>
<p>The memory usage is gradually increasing to the max value that is allocated to SQL Server.<br />
Any suggestions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sanjiv Joshi</title>
		<link>http://blog.sqlauthority.com/2008/07/22/sql-server-clear-sql-server-memory-caches/#comment-128622</link>
		<dc:creator><![CDATA[Sanjiv Joshi]]></dc:creator>
		<pubDate>Wed, 13 Apr 2011 07:34:18 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=720#comment-128622</guid>
		<description><![CDATA[Hi friends,

I have sql 2008 R264 bit and 20 GB RAM but 19.7% ram is used by sqlservr.exe so any body know how to freez SQL 2008 R2 64 bit. Don&#039;t tel me use AWE to allocate memory because it is not support on 64 bit]]></description>
		<content:encoded><![CDATA[<p>Hi friends,</p>
<p>I have sql 2008 R264 bit and 20 GB RAM but 19.7% ram is used by sqlservr.exe so any body know how to freez SQL 2008 R2 64 bit. Don&#8217;t tel me use AWE to allocate memory because it is not support on 64 bit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jayakrishna</title>
		<link>http://blog.sqlauthority.com/2008/07/22/sql-server-clear-sql-server-memory-caches/#comment-123644</link>
		<dc:creator><![CDATA[jayakrishna]]></dc:creator>
		<pubDate>Thu, 17 Mar 2011 15:38:42 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=720#comment-123644</guid>
		<description><![CDATA[Hi Friend,

I have the same issue earlier, we found that SQL server wont release the unused memory once it complete the transactions or backups and this is a know issue. And in our case we found that we have application services run through out the clock and sending the data in xml&#039;s to vendor server which is out of box so here they are occupying my RAM memory and never coming down, these services hit the DB to query in the open orders so obviously its SQL memory caching issue. so we tunned the services in background now the system is stand and calm.

So please check the any such services or applications which are connecting or using DB to query in continually.

And one point i need to add here, if you are using Windows server 2008 R2 have issue with the cache memory release please find the below

http://blogs.msdn.com/b/ntdebugging/archive/2007/11/27/too-much-cache.aspx

Patch released;

http://www.microsoft.com/downloads/en/details.aspx?FamilyID=E24ADE0A-5EFE-43C8-B9C3-5D0ECB2F39AF&amp;displaylang=en

And there is also a SP1 released for the same

Good luck.]]></description>
		<content:encoded><![CDATA[<p>Hi Friend,</p>
<p>I have the same issue earlier, we found that SQL server wont release the unused memory once it complete the transactions or backups and this is a know issue. And in our case we found that we have application services run through out the clock and sending the data in xml&#8217;s to vendor server which is out of box so here they are occupying my RAM memory and never coming down, these services hit the DB to query in the open orders so obviously its SQL memory caching issue. so we tunned the services in background now the system is stand and calm.</p>
<p>So please check the any such services or applications which are connecting or using DB to query in continually.</p>
<p>And one point i need to add here, if you are using Windows server 2008 R2 have issue with the cache memory release please find the below</p>
<p><a href="http://blogs.msdn.com/b/ntdebugging/archive/2007/11/27/too-much-cache.aspx" rel="nofollow">http://blogs.msdn.com/b/ntdebugging/archive/2007/11/27/too-much-cache.aspx</a></p>
<p>Patch released;</p>
<p><a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=E24ADE0A-5EFE-43C8-B9C3-5D0ECB2F39AF&#038;displaylang=en" rel="nofollow">http://www.microsoft.com/downloads/en/details.aspx?FamilyID=E24ADE0A-5EFE-43C8-B9C3-5D0ECB2F39AF&#038;displaylang=en</a></p>
<p>And there is also a SP1 released for the same</p>
<p>Good luck.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nagu</title>
		<link>http://blog.sqlauthority.com/2008/07/22/sql-server-clear-sql-server-memory-caches/#comment-109438</link>
		<dc:creator><![CDATA[Nagu]]></dc:creator>
		<pubDate>Tue, 04 Jan 2011 12:11:26 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=720#comment-109438</guid>
		<description><![CDATA[Hi all,
Right now me also facing same problem. i already reboot the sql services 2 times but it could not resolved.]]></description>
		<content:encoded><![CDATA[<p>Hi all,<br />
Right now me also facing same problem. i already reboot the sql services 2 times but it could not resolved.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sarathi</title>
		<link>http://blog.sqlauthority.com/2008/07/22/sql-server-clear-sql-server-memory-caches/#comment-104344</link>
		<dc:creator><![CDATA[sarathi]]></dc:creator>
		<pubDate>Wed, 08 Dec 2010 21:25:25 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=720#comment-104344</guid>
		<description><![CDATA[yes. i have the same problem. SQL server memory keep on increases. i have 20 GB of RAM. at in 1 Hr SQL memory reaches 20 GB. server goes dead slow. still no clue.]]></description>
		<content:encoded><![CDATA[<p>yes. i have the same problem. SQL server memory keep on increases. i have 20 GB of RAM. at in 1 Hr SQL memory reaches 20 GB. server goes dead slow. still no clue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Suman</title>
		<link>http://blog.sqlauthority.com/2008/07/22/sql-server-clear-sql-server-memory-caches/#comment-100562</link>
		<dc:creator><![CDATA[Suman]]></dc:creator>
		<pubDate>Wed, 17 Nov 2010 13:58:36 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=720#comment-100562</guid>
		<description><![CDATA[Hello Sir,

I have an issue with a server memory. SQL server is allocated 32 Gb out of 40 GB memory and sql server is using all the memory which is allocated to it.

The memory usage is gradually increasing to the max value that is allocated to SQL Server. 
I have tried all ways but still no luck:

1.	Killed all the open transactions.
2.	Cleared the system cache.
3.	Cleared session cache
4.	Cleared procedure cache.
5.	Checked for blocked transactions and killed them.
6.	Ran DBCC opentran and found no open transactions.


The active connections to the server are as follows:

DatabaseName                 NoOfConnections                           LoginName

ReportServer                     3                                                              NT AUTHORITY\NETWORK SERVICE                                                                                                    
master                                  21                                                           sa                                                                                                                              
OLTP_QA_TEST                 4                                                              sa                                                                                                                              
KRApplication                    1                                                              sa                                                                                                                              
KYApplication                    4                                                              sa                                                                                                                              
DWH_QA_FINAL              1                                                              sa                                                                                                                              
OLTP_QA_FINAL              2                                                              sa          


The Buffer info is as follows:

bpool_commit_target                   bpool_committed

I restrted the SQL server service and then memory went down but gradually it started increasing to theax value within one hour..

Can you please help me out in resolving this issue please.]]></description>
		<content:encoded><![CDATA[<p>Hello Sir,</p>
<p>I have an issue with a server memory. SQL server is allocated 32 Gb out of 40 GB memory and sql server is using all the memory which is allocated to it.</p>
<p>The memory usage is gradually increasing to the max value that is allocated to SQL Server.<br />
I have tried all ways but still no luck:</p>
<p>1.	Killed all the open transactions.<br />
2.	Cleared the system cache.<br />
3.	Cleared session cache<br />
4.	Cleared procedure cache.<br />
5.	Checked for blocked transactions and killed them.<br />
6.	Ran DBCC opentran and found no open transactions.</p>
<p>The active connections to the server are as follows:</p>
<p>DatabaseName                 NoOfConnections                           LoginName</p>
<p>ReportServer                     3                                                              NT AUTHORITY\NETWORK SERVICE<br />
master                                  21                                                           sa<br />
OLTP_QA_TEST                 4                                                              sa<br />
KRApplication                    1                                                              sa<br />
KYApplication                    4                                                              sa<br />
DWH_QA_FINAL              1                                                              sa<br />
OLTP_QA_FINAL              2                                                              sa          </p>
<p>The Buffer info is as follows:</p>
<p>bpool_commit_target                   bpool_committed</p>
<p>I restrted the SQL server service and then memory went down but gradually it started increasing to theax value within one hour..</p>
<p>Can you please help me out in resolving this issue please.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Koteswarrao</title>
		<link>http://blog.sqlauthority.com/2008/07/22/sql-server-clear-sql-server-memory-caches/#comment-92588</link>
		<dc:creator><![CDATA[Koteswarrao]]></dc:creator>
		<pubDate>Wed, 13 Oct 2010 17:38:05 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=720#comment-92588</guid>
		<description><![CDATA[Hi Pinal,

One of the interviewer asked me about the database refresh.as per my knowledge i thought of backup and restore.

is iam correct.

As you said earlier article we can refresh the database by below dbcc commands,is iam right?

The following commands clean only the plan cache:
DBCC FREESYSTEMCACHE(All &#124; pool_name)
DBCC FREESESSIONCACHE
DBCC FREEPROCCACHE
DBCC FLUSHPROCINDB( db_id )

To clear the data buffer use the following command:

DBCC DROPCLEANBUFFERS]]></description>
		<content:encoded><![CDATA[<p>Hi Pinal,</p>
<p>One of the interviewer asked me about the database refresh.as per my knowledge i thought of backup and restore.</p>
<p>is iam correct.</p>
<p>As you said earlier article we can refresh the database by below dbcc commands,is iam right?</p>
<p>The following commands clean only the plan cache:<br />
DBCC FREESYSTEMCACHE(All | pool_name)<br />
DBCC FREESESSIONCACHE<br />
DBCC FREEPROCCACHE<br />
DBCC FLUSHPROCINDB( db_id )</p>
<p>To clear the data buffer use the following command:</p>
<p>DBCC DROPCLEANBUFFERS</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pinal Dave</title>
		<link>http://blog.sqlauthority.com/2008/07/22/sql-server-clear-sql-server-memory-caches/#comment-59291</link>
		<dc:creator><![CDATA[Pinal Dave]]></dc:creator>
		<pubDate>Sun, 03 Jan 2010 17:20:14 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=720#comment-59291</guid>
		<description><![CDATA[Hi Sarika,

At first I would like to make clear that there is difference in clearing of &quot;Plan Cache&quot; and &quot;Data Buffer&quot;. Plan Cache only contains the compiled and execution plans of sql statements, sp, function, etc. While all table data is stored in Data Buffer.  
The following commands clean only the plan cache:
DBCC FREESYSTEMCACHE(All &#124; pool_name)
DBCC FREESESSIONCACHE
DBCC FREEPROCCACHE
DBCC FLUSHPROCINDB( db_id )

To clear the data buffer use the following command:

DBCC DROPCLEANBUFFERS

For more information visit to : http://blog.sqlauthority.com/2007/03/23/sql-server-stored-procedure-clean-cache-and-clean-buffer/

Regards,
Pinal Dave]]></description>
		<content:encoded><![CDATA[<p>Hi Sarika,</p>
<p>At first I would like to make clear that there is difference in clearing of &#8220;Plan Cache&#8221; and &#8220;Data Buffer&#8221;. Plan Cache only contains the compiled and execution plans of sql statements, sp, function, etc. While all table data is stored in Data Buffer.<br />
The following commands clean only the plan cache:<br />
DBCC FREESYSTEMCACHE(All | pool_name)<br />
DBCC FREESESSIONCACHE<br />
DBCC FREEPROCCACHE<br />
DBCC FLUSHPROCINDB( db_id )</p>
<p>To clear the data buffer use the following command:</p>
<p>DBCC DROPCLEANBUFFERS</p>
<p>For more information visit to : <a href="http://blog.sqlauthority.com/2007/03/23/sql-server-stored-procedure-clean-cache-and-clean-buffer/" rel="nofollow">http://blog.sqlauthority.com/2007/03/23/sql-server-stored-procedure-clean-cache-and-clean-buffer/</a></p>
<p>Regards,<br />
Pinal Dave</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sarika</title>
		<link>http://blog.sqlauthority.com/2008/07/22/sql-server-clear-sql-server-memory-caches/#comment-59281</link>
		<dc:creator><![CDATA[sarika]]></dc:creator>
		<pubDate>Sun, 03 Jan 2010 04:55:41 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=720#comment-59281</guid>
		<description><![CDATA[is by executing these statements (written below) whatever our data is in sql will be removed if not then wht&#039;s the query to remove all the date in once exection?
DBCC FREESYSTEMCACHE
DBCC FREESESSIONCACHE
DBCC FREEPROCCACHE]]></description>
		<content:encoded><![CDATA[<p>is by executing these statements (written below) whatever our data is in sql will be removed if not then wht&#8217;s the query to remove all the date in once exection?<br />
DBCC FREESYSTEMCACHE<br />
DBCC FREESESSIONCACHE<br />
DBCC FREEPROCCACHE</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SQL SERVER – Refresh Database Using T-SQL Journey to SQL Authority with Pinal Dave</title>
		<link>http://blog.sqlauthority.com/2008/07/22/sql-server-clear-sql-server-memory-caches/#comment-54288</link>
		<dc:creator><![CDATA[SQL SERVER – Refresh Database Using T-SQL Journey to SQL Authority with Pinal Dave]]></dc:creator>
		<pubDate>Fri, 31 Jul 2009 01:40:52 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=720#comment-54288</guid>
		<description><![CDATA[[...] Read my previous article about SQL SERVER – Clear SQL Server Memory Caches. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Read my previous article about SQL SERVER – Clear SQL Server Memory Caches. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shailesh Kumar Saxena</title>
		<link>http://blog.sqlauthority.com/2008/07/22/sql-server-clear-sql-server-memory-caches/#comment-44091</link>
		<dc:creator><![CDATA[Shailesh Kumar Saxena]]></dc:creator>
		<pubDate>Fri, 07 Nov 2008 04:34:38 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=720#comment-44091</guid>
		<description><![CDATA[Hi,

So when should we use these commands or when we should not? Will you explain me?

Thanks
Shailesh]]></description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>So when should we use these commands or when we should not? Will you explain me?</p>
<p>Thanks<br />
Shailesh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ds</title>
		<link>http://blog.sqlauthority.com/2008/07/22/sql-server-clear-sql-server-memory-caches/#comment-40705</link>
		<dc:creator><![CDATA[ds]]></dc:creator>
		<pubDate>Wed, 23 Jul 2008 15:29:48 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=720#comment-40705</guid>
		<description><![CDATA[Be VERY VERY careful when you run these commands in production environment - and make sure you know what you are doing.]]></description>
		<content:encoded><![CDATA[<p>Be VERY VERY careful when you run these commands in production environment &#8211; and make sure you know what you are doing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Worth</title>
		<link>http://blog.sqlauthority.com/2008/07/22/sql-server-clear-sql-server-memory-caches/#comment-40625</link>
		<dc:creator><![CDATA[Simon Worth]]></dc:creator>
		<pubDate>Tue, 22 Jul 2008 13:22:29 +0000</pubDate>
		<guid isPermaLink="false">http://sqlauthority.wordpress.com/?p=720#comment-40625</guid>
		<description><![CDATA[You didn&#039;t mention that there could be a performance hit associated with clearing the system cache and procedure cache, as all requests after issuing DBCC FREESYSTEMCACHE will cause a plan recompilation as well as FREEPROCCACHE.  
So people should be aware that executing these commands could cause a temporary decrease in performance.

If things are running slow and errors are occurring due to lack of memory on a production server - these commands are only short term band-aids and the real root of the problem needs to be found, analyzed, and fixed in order to have a well performing Production server.]]></description>
		<content:encoded><![CDATA[<p>You didn&#8217;t mention that there could be a performance hit associated with clearing the system cache and procedure cache, as all requests after issuing DBCC FREESYSTEMCACHE will cause a plan recompilation as well as FREEPROCCACHE.<br />
So people should be aware that executing these commands could cause a temporary decrease in performance.</p>
<p>If things are running slow and errors are occurring due to lack of memory on a production server &#8211; these commands are only short term band-aids and the real root of the problem needs to be found, analyzed, and fixed in order to have a well performing Production server.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

