<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[gOxiA=苏繁=SuFan Blog]]></title> 
<link>https://goxia.maytide.net/index.php</link> 
<description><![CDATA[gOxiA,苏繁,sufan,Microsoft MVP]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[gOxiA=苏繁=SuFan Blog]]></copyright>
<item>
<link>https://goxia.maytide.net/read.php/1178.htm</link>
<title><![CDATA[[SQL Server] 配置 SQL Server 以便使用 2GB 以上的物理内存]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[SQL Server]]></category>
<pubDate>Tue, 10 Mar 2009 06:47:49 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1178.htm</guid> 
<description>
<![CDATA[ 
	<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 今天一个朋友电话过来咨询我有关 Windows Server 2003 32bit 企业版最大支持的物理内存容量，主要是因为正在运营的一台数据库服务器内存使用达到 2G，服务器效率非常低打算扩展内存，为 SQL Server 提供更多的内存。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 经过确认，服务器是 HP G3 系列支持 PAE，即物理地址扩展，服务器应该最大支持 32GB，而 Windows Server 2003 32bit 企业版最大支持 32GB，为了能够在系统上有效的使用内存需要开启 ／PAE 参数，而要使 SQL Server 使用 2GB 以上的内存还需要启用 AWE 内存。为此需要在 SQL Server 查询分析器中执行如下脚本：</p><p><span style="background-color: #ffff00"><strong>sp_configure &lsquo;show advanced options&rsquo;,1</strong></span></p><p><span style="background-color: #ffff00"><strong>reconfigure</strong></span></p><p><span style="background-color: #ffff00"><strong>go</strong></span></p><p><span style="background-color: #ffff00"><strong>sp_configure &lsquo;awe enabled&rsquo;,1</strong></span></p><p><span style="background-color: #ffff00"><strong>reconfigure</strong></span></p><p><span style="background-color: #ffff00"><strong>go</strong></span></p><p><span style="background-color: #ffff00"><strong>sp_configure &lsquo;max server memory&rsquo;,6144</strong></span></p><p><span style="background-color: #ffff00"><strong>reconfigure</strong></span></p><p><span style="background-color: #ffff00"><strong>go</strong></span></p><p><span style="color: #ff3300">注意：如果在 boot.ini 文件中使用 ／3GB 开关，SQL Server 最多可以使用 3GB 的内存。</span></p><p>具体信息可以参考：<a href="http://support.microsoft.com/kb/274750/zh-cn"><span style="color: #669966">KB274750</span></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 现在回过头来再了解一下 Windows Server 2003 各版本最大支持的内存容量，以及其他硬件支持信息，便于以后参考。</p><p><strong>Windows Server 2003 R2 Standard Edition</strong></p><p>最多 4 个处理器，最大 4GB 内存</p><p><strong>Windows Server 2003 R2 Enterprise Edition</strong></p><p>最多 8 个处理器，x86 架构最大 64GB 内存，x64 架构最大 2TB 内存</p><p><strong>Windows Server 2003 R2 Datacenter Edition</strong></p><p>x86 架构最多 32 路多处理器，最大 128GB 内存；x64 架构最多 64 路多处理器，最大 2TB 内存</p><p><strong>Windows Server 2003 Web Edition</strong></p><p>最大 2GB 内存</p><p><strong>Windows Server 2003 Standard Edition</strong></p><p>最多 4 个处理器，最大 4GB 内存</p><p><strong>Windows Server 2003 Enterprise Edition</strong></p><p>最多 8 个处理器，x86 架构最大 32GB 内存，x64 架构最大 64GB 内存</p><p><strong>Windows Server 2003 Datacenter Edition</strong></p><p>最多 64 路多处理器，x86 架构最大 128GB 内存，x64 架构最大 2TB 内存</p><p>具体信息可参考：<a href="http://technet.microsoft.com/en-us/windowsserver/bb430827.aspx" title="http://technet.microsoft.com/en-us/windowsserver/bb430827.aspx"><span style="color: #669966">http://technet.microsoft.com/en-us/windowsserver/bb430827.aspx</span></a></p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://goxia.maytide.net/go.php/tags/sql/" rel="tag">sql</a> , <a href="https://goxia.maytide.net/go.php/tags/server/" rel="tag">server</a> , <a href="https://goxia.maytide.net/go.php/tags/memory/" rel="tag">memory</a> , <a href="https://goxia.maytide.net/go.php/tags/awe/" rel="tag">awe</a> , <a href="https://goxia.maytide.net/go.php/tags/pae/" rel="tag">pae</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1178.htm#blogcomment5097</link>
<title><![CDATA[[评论] [SQL Server] 配置 SQL Server 以便使用 2GB 以上的物理内存]]></title> 
<author>某 &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Wed, 20 May 2015 05:42:21 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1178.htm#blogcomment5097</guid> 
<description>
<![CDATA[ 
	IA64的2K3才支持到2T内存，X64的最大1T
]]>
</description>
</item>
</channel>
</rss>