此文章主要介绍的是给SQL Server提供更大内存的实际操作步骤,如果对SQL Server提供更大内存的实际操作步骤有兴趣的话你就可以点击以下的文章进行观看了,以下就是文章的详细内容介绍,望大家借鉴。

今天一个朋友电话过来咨询我有关 Windows Server 2003 32bit 企业版***支持的物理内存容量,主要是因为正在运营的一台数据库服务器内存使用达到 2G,服务器效率非常低打算扩展内存,为 SQL Server 提供更多的内存。

经过确认,服务器是 HP G3 系列支持 PAE,即物理地址扩展,服务器应该***支持 32GB,而 Windows Server 2003 32bit 企业版***支持 32GB,为了能够在系统上有效的使用内存需要开启 /PAE 参数,而要使 SQL Server 使用 2GB 以上的内存还需要启用 AWE 内存。为此需要在 SQL Server 查询分析器中执行如下脚本:

    sp_configure‘showadvancedoptions’,1 reconfigure go sp_configure‘aweenabled’,1 reconfigure go sp_configure‘maxservermemory’,6144 reconfigure go

注意:如果在 boot.ini 文件中使用 /3GB 开关,SQL Server 提供最多可以使用 3GB 的内存。

现在回过头来再了解一下 Windows Server 2003 各版本***支持的内存容量,以及其他硬件支持信息,便于以后参考。

Windows Server 2003 R2 Standard Edition

最多 4 个处理器,*** 4GB 内存

Windows Server 2003 R2 Enterprise Edition

最多 8 个处理器,x86 架构*** 64GB 内存,x64 架构*** 2TB 内存

Windows Server 2003 R2 Datacenter Edition

x86 架构最多 32 路多处理器,*** 128GB 内存;x64 架构最多 64 路多处理器,*** 2TB 内存

Windows Server 2003 Web Edition

*** 2GB 内存

Windows Server 2003 Standard Edition

最多 4 个处理器,*** 4GB 内存

Windows Server 2003 Enterprise Edition

最多 8 个处理器,x86 架构*** 32GB 内存,x64 架构*** 64GB 内存

Windows Server 2003 Datacenter Edition

最多 64 路多处理器,x86 架构*** 128GB 内存,x64 架构*** 2TB 内存

以上的相关内容就是对SQL Server提供更多的内存的介绍,望你能有所收获。

【编辑推荐】

    SQL Serverlink Oracle的几种不同方式SQL Server数据库与.NET联通概述SQL Server数组参数的执行与问题SQL server 动态查询的实际操作步骤MS SQL Server 2000视图与其好处描述