为 SQL Server 启用 AWE 内存

为 SQL Server 启用 AWE 内存

下面的示例显示如何激活 AWE 以及如何为 min server memory 配置 1 GB 的限制,为 max server memory 配置 6 GB 的限制。

首先,配置 AWE:
-- turn on advance configuration
sp_configure 'show advanced options', 1
reconfigure with override
go

-- enable extended memory
sp_configure 'awe enabled', 1
reconfigure with override
go

然后,配置内存:
-- enable RAM for SQL
sp_configure 'min server memory', 1024
reconfigure with override
go

sp_configure 'max server memory', 6144
reconfigure with override
go

Reference:
http://technet.microsoft.com/zh-cn/library/ms190673.aspx



原文地址:https://www.cnblogs.com/rickie/p/1171224.html