积极答复者
sqlserver 2012内存问题,最大内存设置与任务管理器里显示大致相同,却在数据库里查询dmv 只有一半不到?

问题
答案
-
我发现启动日志有 :
Large Page Allocated: 32MB
Using locked pages in the memory manager.
这个是什么意思 ? 数据库的内存分配是多页的 ? 怎么调整
Here's details of large page http://blogs.msdn.com/b/psssql/archive/2009/06/05/sql-server-and-large-pages-explained.aspx, it's normal.
Regarding locked pages, did you enable 'lock pages in memory' option? Not necessary on 64-bit machine.
全部回复
-
also,in sql 2012,the memroy of clr is controlled by max server memroy of sql server,so clr use memory inside sql server
chenl
Following is from msdn http://msdn.microsoft.com/en-us/library/ms131047.aspx:
Scalability: Common memory management
The CLR calls SQL Server primitives for allocating and de-allocating its memory. Because the memory used by the CLR is accounted for in the total memory usage of the system, SQL Server can stay within its configured memory limits and ensure the CLR and SQL Server are not competing with each other for memory. SQL Server can also reject CLR memory requests when system memory is constrained, and ask CLR to reduce its memory use when other tasks need memory.
-
我发现启动日志有 :
Large Page Allocated: 32MB
Using locked pages in the memory manager.
这个是什么意思 ? 数据库的内存分配是多页的 ? 怎么调整
Here's details of large page http://blogs.msdn.com/b/psssql/archive/2009/06/05/sql-server-and-large-pages-explained.aspx, it's normal.
Regarding locked pages, did you enable 'lock pages in memory' option? Not necessary on 64-bit machine.