如何使SQL Server的内存变得更多

原创|其它|编辑:郝浩|2009-11-20 11:15:50.000|阅读 428 次

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

# 界面/图表报表/文档/IDE等千款热门软控件火热销售中 >>

  今天一个朋友电话过来咨询我有关 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 ‘show advanced options’,1
  reconfigure
  go
  sp_configure ‘awe enabled’,1
  reconfigure
  go
  sp_configure ‘max server memory’,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 内存


标签:

本站文章除注明转载外,均为本站原创或翻译。欢迎任何形式的转载,但请务必注明出处、不得修改原文相关链接,如果存在内容上的异议请邮件反馈至chenjj@evget.com

文章转载自:网络转载

为你推荐

  • 推荐视频
  • 推荐活动
  • 推荐产品
  • 推荐文章
  • 慧都慧问
扫码咨询


添加微信 立即咨询

电话咨询

客服热线
023-68661681

TOP