积极答复者
关于SQL Server 2000 sp4 AWE 问题

问题
答案
-
AWE is for machine with more than 4gb memory. In your case, sql can use about 2.7gb memory if you added /3gb in boot.ini file. Otherwise can only use about 1.7gb memory. Windows divided 4gb base memory in two parts - 2gb for user mode and 2gb for kernal mode. Only OS and certain drivers can use kernal mode memory, all other apps including sql service are sharing user mode memory.
- 已建议为答案 Molly Chen_Moderator 2012年8月10日 3:12
- 已标记为答案 Molly Chen_Moderator 2012年8月15日 2:04
全部回复
-
是否在boot.ini中设置了/3GB呢?
take a look at:http://msdn.microsoft.com/en-us/library/bb613473(v=vs.85).aspx
-
AWE is for machine with more than 4gb memory. In your case, sql can use about 2.7gb memory if you added /3gb in boot.ini file. Otherwise can only use about 1.7gb memory. Windows divided 4gb base memory in two parts - 2gb for user mode and 2gb for kernal mode. Only OS and certain drivers can use kernal mode memory, all other apps including sql service are sharing user mode memory.
- 已建议为答案 Molly Chen_Moderator 2012年8月10日 3:12
- 已标记为答案 Molly Chen_Moderator 2012年8月15日 2:04
-
目标服务器内存是:2088712KB,总服务器内存也是 2088712KB,安装的物理内存是4G,空闲内存1.5G
1:就算了开启了AWE,也需要mssql用到才行啊,比如你打开了SSMS什么也不做,那么mssql肯定不会分配更多的内存
如果你执行一个数据导出操作,有千万级别的数据,那么mssql会分配多一些内存,有可能4G内存都使用上
2:下面这篇帖子有很好的答复,使用PAE选项在boot.ini里面
In 4gb base memory, sql uses memory above 4gb range for buffer cache only. By the way, /pae is in boot.ini file
-
目标服务器内存是:2088712KB,总服务器内存也是 2088712KB,安装的物理内存是4G,空闲内存1.5G
1:就算了开启了AWE,也需要mssql用到才行啊,比如你打开了SSMS什么也不做,那么mssql肯定不会分配更多的内存
如果你执行一个数据导出操作,有千万级别的数据,那么mssql会分配多一些内存,有可能4G内存都使用上
2:下面这篇帖子有很好的答复,使用PAE选项在boot.ini里面
In 4gb base memory, sql uses memory above 4gb range for buffer cache only. By the way, /pae is in boot.ini file
1. sql never use 4gb memory on machine that has only 4gb memory, no matter what you do.
2. PAE is for machine with more than 4gb memory too.
-
这个我在联机文档中看过,在windows 2000中有个3g的限制,但是在 windows 2003中没有提到相关的限制条件。
我用的是 windows 2003,/3g参数 只是3g的地址空间 和内存应该没有什么关系。
我现在也开始怀疑4g内存是不是太少的关系。现在还是无解。