<?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/"
		>
<channel>
	<title>Comments on: SQL Server memory configuration</title>
	<atom:link href="http://www.eraofdata.com/blog/sql-server-memory-configuration/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.eraofdata.com/blog/sql-server-memory-configuration/</link>
	<description>SQL Server posts that DBAs will (hopefully) find useful.</description>
	<lastBuildDate>Tue, 21 Feb 2012 20:17:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: stephanie-b</title>
		<link>http://www.eraofdata.com/blog/sql-server-memory-configuration/#comment-5127</link>
		<dc:creator>stephanie-b</dc:creator>
		<pubDate>Wed, 15 Feb 2012 14:51:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.eraofdata.com/blog/?p=3#comment-5127</guid>
		<description>Thank you for such a clear and concise post on this subject.

I wasn&#039;t even aware of DBCC Memorytstatus, as it is not documented in BOL.

Regards,
Stephanie</description>
		<content:encoded><![CDATA[<p>Thank you for such a clear and concise post on this subject.</p>
<p>I wasn&#8217;t even aware of DBCC Memorytstatus, as it is not documented in BOL.</p>
<p>Regards,<br />
Stephanie</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajmer Dhariwal</title>
		<link>http://www.eraofdata.com/blog/sql-server-memory-configuration/#comment-5076</link>
		<dc:creator>Ajmer Dhariwal</dc:creator>
		<pubDate>Mon, 23 Jan 2012 21:18:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.eraofdata.com/blog/?p=3#comment-5076</guid>
		<description>Good question. Although SSIS and SSAS from part of the SQL Server stack they  have completely different memory architectures so you would have to monitor their peak memory usage by reducing SQL Server&#039;s max memory settings to ensure SSIS and SSAS have enough room and to see how high their memory usage goes under peak loading.
In my experience on servers where we had to run SSAS/SSIS alongside SQL Server (something we tried to avoid if they were high load systems) the SSIS/SSAS process will peak at a certain level depending on the workload thrown at them and we would adjust SQL Server&#039;s memory settings accordingly, or just add additional memory if the peak uses of the SSIS/SSAS processes took up too many resources. I&#039;d also highly recommend adjusting SQL Server&#039;s max degree of parallelism settings otherwise SQL Server will saturate the CPUs denying SSIS/SSAS cpu time when any e.g. data loading/transformation is taking place. You can also look at SQL Server&#039;s CPU affinity settings (bearing in mind SSIS/SSAS don&#039;t yet have similar functionality).</description>
		<content:encoded><![CDATA[<p>Good question. Although SSIS and SSAS from part of the SQL Server stack they  have completely different memory architectures so you would have to monitor their peak memory usage by reducing SQL Server&#8217;s max memory settings to ensure SSIS and SSAS have enough room and to see how high their memory usage goes under peak loading.<br />
In my experience on servers where we had to run SSAS/SSIS alongside SQL Server (something we tried to avoid if they were high load systems) the SSIS/SSAS process will peak at a certain level depending on the workload thrown at them and we would adjust SQL Server&#8217;s memory settings accordingly, or just add additional memory if the peak uses of the SSIS/SSAS processes took up too many resources. I&#8217;d also highly recommend adjusting SQL Server&#8217;s max degree of parallelism settings otherwise SQL Server will saturate the CPUs denying SSIS/SSAS cpu time when any e.g. data loading/transformation is taking place. You can also look at SQL Server&#8217;s CPU affinity settings (bearing in mind SSIS/SSAS don&#8217;t yet have similar functionality).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rick</title>
		<link>http://www.eraofdata.com/blog/sql-server-memory-configuration/#comment-5074</link>
		<dc:creator>rick</dc:creator>
		<pubDate>Mon, 23 Jan 2012 17:10:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.eraofdata.com/blog/?p=3#comment-5074</guid>
		<description>Hello, very good post, thank you.
Question: how do you consider and factor in memory needs of SQL services such as SSIS, SSAS etc? These applications utilize memory outside of the SQL mem manger&#039;s control, yes?

thank you for insight into this question.
Rick</description>
		<content:encoded><![CDATA[<p>Hello, very good post, thank you.<br />
Question: how do you consider and factor in memory needs of SQL services such as SSIS, SSAS etc? These applications utilize memory outside of the SQL mem manger&#8217;s control, yes?</p>
<p>thank you for insight into this question.<br />
Rick</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajmer Dhariwal</title>
		<link>http://www.eraofdata.com/blog/sql-server-memory-configuration/#comment-4798</link>
		<dc:creator>Ajmer Dhariwal</dc:creator>
		<pubDate>Fri, 13 Jan 2012 13:25:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.eraofdata.com/blog/?p=3#comment-4798</guid>
		<description>Yup, you&#039;re hitting that infamous bug. Apply the last CU for &lt;a href=&quot;http://support.microsoft.com/kb/904660&quot; rel=&quot;nofollow&quot;&gt;SP4&lt;/a&gt; (build 2187).</description>
		<content:encoded><![CDATA[<p>Yup, you&#8217;re hitting that infamous bug. Apply the last CU for <a href="http://support.microsoft.com/kb/904660" rel="nofollow">SP4</a> (build 2187).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://www.eraofdata.com/blog/sql-server-memory-configuration/#comment-4776</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Fri, 13 Jan 2012 02:26:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.eraofdata.com/blog/?p=3#comment-4776</guid>
		<description>Is it because of the bug you mentioned in your post or is there any memory cap for sql 2000 on windows 2003?</description>
		<content:encoded><![CDATA[<p>Is it because of the bug you mentioned in your post or is there any memory cap for sql 2000 on windows 2003?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://www.eraofdata.com/blog/sql-server-memory-configuration/#comment-4775</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Fri, 13 Jan 2012 02:23:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.eraofdata.com/blog/?p=3#comment-4775</guid>
		<description>Hi Ajmer,

I would like to clarify my doubts related to memory.
The server is question is Windows 2003 32 bit enterprise Service Pack 2 (physical memory is: 64 GB) and has sql server 2000 SP4 (8.0.2039) 32 bit Enterprise.

The AWE and  /PAE switch are enabled and the maximum server memory is set to 61440 MB.

When I look the Target server memory counter(SQl Server: Memory Manager) in perfmon, I am seeing 33287752 KB (maximum value). I was thinking the maximum value in the perfmon counter referenced here (Target server memory ) should be equivalent to maximum server memory set in server properties as Target server memory is the memory sql server can use. Is that not the case? Can 
you please clarify? Thanks in advance.


Regards,
Adam</description>
		<content:encoded><![CDATA[<p>Hi Ajmer,</p>
<p>I would like to clarify my doubts related to memory.<br />
The server is question is Windows 2003 32 bit enterprise Service Pack 2 (physical memory is: 64 GB) and has sql server 2000 SP4 (8.0.2039) 32 bit Enterprise.</p>
<p>The AWE and  /PAE switch are enabled and the maximum server memory is set to 61440 MB.</p>
<p>When I look the Target server memory counter(SQl Server: Memory Manager) in perfmon, I am seeing 33287752 KB (maximum value). I was thinking the maximum value in the perfmon counter referenced here (Target server memory ) should be equivalent to maximum server memory set in server properties as Target server memory is the memory sql server can use. Is that not the case? Can<br />
you please clarify? Thanks in advance.</p>
<p>Regards,<br />
Adam</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajmer Dhariwal</title>
		<link>http://www.eraofdata.com/blog/sql-server-memory-configuration/#comment-4110</link>
		<dc:creator>Ajmer Dhariwal</dc:creator>
		<pubDate>Mon, 26 Dec 2011 18:02:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.eraofdata.com/blog/?p=3#comment-4110</guid>
		<description>The max server memory limit defines the size of the buffer pool &lt;em&gt;only&lt;/em&gt;.
Unfortunately, this does not and can not dictate SQL Server&#039;s total memory usage.
The MemToLeave section of the post outlines where other processes and objects can use SQL Server&#039;s memory, and therefore what to look out on your system to what might be contributing to the memory usage if it continues to increase.
If your memory usage increases beyond your max server memory limit added to your memtoleave (384 MB on a typical legacy x86 system) size then it&#039;s reasonable to infer you have something leaking memory in SQL Server&#039;s address space and take a look a those other processes mentioned that might be contributing to this. It&#039;s also worth patching your SQL instance to make sure you&#039;re on the latest SP level as it&#039;s not unknown for some internal bugs to cause memory leak issues.</description>
		<content:encoded><![CDATA[<p>The max server memory limit defines the size of the buffer pool <em>only</em>.<br />
Unfortunately, this does not and can not dictate SQL Server&#8217;s total memory usage.<br />
The MemToLeave section of the post outlines where other processes and objects can use SQL Server&#8217;s memory, and therefore what to look out on your system to what might be contributing to the memory usage if it continues to increase.<br />
If your memory usage increases beyond your max server memory limit added to your memtoleave (384 MB on a typical legacy x86 system) size then it&#8217;s reasonable to infer you have something leaking memory in SQL Server&#8217;s address space and take a look a those other processes mentioned that might be contributing to this. It&#8217;s also worth patching your SQL instance to make sure you&#8217;re on the latest SP level as it&#8217;s not unknown for some internal bugs to cause memory leak issues.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joan</title>
		<link>http://www.eraofdata.com/blog/sql-server-memory-configuration/#comment-4107</link>
		<dc:creator>Joan</dc:creator>
		<pubDate>Thu, 22 Dec 2011 02:35:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.eraofdata.com/blog/?p=3#comment-4107</guid>
		<description>Refer to my post previously, we are using Windows Server 2003 Standard Edition SP2 with 4GB RAM and run SQL 2008 R2.  I had set the sql server max server memory to 896MB on 15 Dec 2011. 

The memory used for sqlservr.exe in task manager are listed below.  It is increasing everyday and had exceeded the our setting of sql server max server memory already.
15 Dec 2011: 868,520KB (848MB)
22 Dec 2011: 950,148KB (927MB)

(1) Why it will exceed the limit even I had set the limit to 896MB? 
(2) Will it use up all the available memory of server and lead to machine hanged?  Or it will stop increasing up to a specific MB figure?
(3) Since the sql server is supporting a 7X24 system, so we cannot stop and restart sql service for reducing the memory used figure.   Is there any long term solution can be provided for reducing the memory and keep it in a low figure?

Thanks for your help.</description>
		<content:encoded><![CDATA[<p>Refer to my post previously, we are using Windows Server 2003 Standard Edition SP2 with 4GB RAM and run SQL 2008 R2.  I had set the sql server max server memory to 896MB on 15 Dec 2011. </p>
<p>The memory used for sqlservr.exe in task manager are listed below.  It is increasing everyday and had exceeded the our setting of sql server max server memory already.<br />
15 Dec 2011: 868,520KB (848MB)<br />
22 Dec 2011: 950,148KB (927MB)</p>
<p>(1) Why it will exceed the limit even I had set the limit to 896MB?<br />
(2) Will it use up all the available memory of server and lead to machine hanged?  Or it will stop increasing up to a specific MB figure?<br />
(3) Since the sql server is supporting a 7X24 system, so we cannot stop and restart sql service for reducing the memory used figure.   Is there any long term solution can be provided for reducing the memory and keep it in a low figure?</p>
<p>Thanks for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajmer Dhariwal</title>
		<link>http://www.eraofdata.com/blog/sql-server-memory-configuration/#comment-4023</link>
		<dc:creator>Ajmer Dhariwal</dc:creator>
		<pubDate>Tue, 06 Dec 2011 12:08:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.eraofdata.com/blog/?p=3#comment-4023</guid>
		<description>I&#039;ve completely rewritten my answer (and withdrawn the previous responses to try and minimise any further confusion) as I&#039;d made an incorrect assumption about awe on x64 systems (had to blow away a few cobwebs as it&#039;s been a long time since I visited this particular area).

Whilst enabling AWE has no affect on x64 SQL Server, your x86 version of SQL Server should work much the same as it would on a 32-bit OS so you will be able to address more memory than the 4GB (default) limit you are coming up against by enabling awe.

So, sorry for confusing the matter, but if you just enable awe and cap the memory (and keep an eye on available memory you should be good to go.

If you&#039;re still having issues, email me the sp_configure output (with &#039;show advanced options&#039; enabled and the DBCC MEMORYSTATUS output).</description>
		<content:encoded><![CDATA[<p>I&#8217;ve completely rewritten my answer (and withdrawn the previous responses to try and minimise any further confusion) as I&#8217;d made an incorrect assumption about awe on x64 systems (had to blow away a few cobwebs as it&#8217;s been a long time since I visited this particular area).</p>
<p>Whilst enabling AWE has no affect on x64 SQL Server, your x86 version of SQL Server should work much the same as it would on a 32-bit OS so you will be able to address more memory than the 4GB (default) limit you are coming up against by enabling awe.</p>
<p>So, sorry for confusing the matter, but if you just enable awe and cap the memory (and keep an eye on available memory you should be good to go.</p>
<p>If you&#8217;re still having issues, email me the sp_configure output (with &#8216;show advanced options&#8217; enabled and the DBCC MEMORYSTATUS output).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Hanson</title>
		<link>http://www.eraofdata.com/blog/sql-server-memory-configuration/#comment-4008</link>
		<dc:creator>Robert Hanson</dc:creator>
		<pubDate>Mon, 05 Dec 2011 19:53:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.eraofdata.com/blog/?p=3#comment-4008</guid>
		<description>Hello and thanks for your article. It is a good write up. 
Please give me advice on my situation.

I am running 2008 enterprise x64 with 64GB ram. My sql server is 2005 enterprise x86. 
The most ram that I can get the process to use is about 3.5GB. 

Is there any modifications that can be done to force it to use more memory?
Thanks for your help, I much appreciate it. 

Robert</description>
		<content:encoded><![CDATA[<p>Hello and thanks for your article. It is a good write up.<br />
Please give me advice on my situation.</p>
<p>I am running 2008 enterprise x64 with 64GB ram. My sql server is 2005 enterprise x86.<br />
The most ram that I can get the process to use is about 3.5GB. </p>
<p>Is there any modifications that can be done to force it to use more memory?<br />
Thanks for your help, I much appreciate it. </p>
<p>Robert</p>
]]></content:encoded>
	</item>
</channel>
</rss>

