积极答复者
WIN2008上运行SQL2000,设置最大内存后不能达到最大值

问题
答案
-
Different from your case, it's on x64 machine. And target server memory on your machine is 16gb, that's the amount of memory sql can use. By the way, sql2k doesn't have x64 edition and that link didn't say what's target server memory on that machine.
- 已标记为答案 Amy PengMicrosoft employee, Moderator 2012年12月31日 7:27
全部回复
-
-
LZ可以参考一下msdn,msdn没有给出32位Windows2008的
http://msdn.microsoft.com/en-us/library/aa933149(v=sql.80).aspx
-
LZ可以做一些压力测试,模拟查询大量数据,使SQL缓存大量数据在内存里,就可以知道支持多少内存了
因为上面的表格显示SQL2000企业版支持64G内存在Windows2000上面
LZ也可以看一下这篇文章了解SQL的内存管理,因为不清楚LZ你:“SQL用了16G左右,不能达到28G” 16G在哪里看的
在任务管理器中看到的sqlservr.exe占用的内存就仅仅包含Buffer Pool中非Data Cache部分和MemToLeave部分,而不包含Data Cache部分
上面这篇文章是SQL2005的,SQL2000的内存管理跟SQL2005应该差不多
- 已编辑 Steven.桦仔 2012年12月22日 3:52
-
以下这个回答,有什么意见?
ask:
We have a Windows 2008 Server R2 Enterprise x64 with 32gb. We are also still using SQL Server 2000 Enterprise.
I have been monitoring the memory usage and it is only using 17.3GB total. I have set SQL server to use AWE with a max memory usage of 29gb.
Any ideas how to allow/get SQL server to use the extra ram?
Answer:
The reason it is not using all memory is because it doesn't need it.
SQL Server is very good at managing it's own memory. The sizes of the databases you gave, fit into 11GB of RAM, that leaves 6.3 GB for internal structures such as buffers, plan cache etc. (more than enough).
- 已编辑 dnlife 2012年12月25日 3:32
-
Different from your case, it's on x64 machine. And target server memory on your machine is 16gb, that's the amount of memory sql can use. By the way, sql2k doesn't have x64 edition and that link didn't say what's target server memory on that machine.
- 已标记为答案 Amy PengMicrosoft employee, Moderator 2012年12月31日 7:27