用户数 "number of user connections"
锁数 "number of lock"
可打开对象数 "number of open objects"
可打开索引数 "number of open indexes"
设备数 "number of devices"
cpu数 "max online engines" "number of engines at startup"
并行参数(可选) "number of worker processes" "max parallel degree" "max scan parallel degree"
这些参数的调整一般来说会带来 内存需求的上升,不过都是从max memory的范围内进行划分
3. 设置存储过程缓存大小 "procedure cache size"
使用 sp_configure 'memory' 查看当前内存分配情况及剩余情况
Parameter Name Default Memory Used Config Value
Run Value Unit Type
------------------------------ ----------- ----------- ------------
----------- -------------------- ----------
max memory 61440 122880 61440
61440 memory pages(2k) dynamic
total logical memory 61440 49372 24686
24686 memory pages(2k) read-only
total physical memory 0 36460 0
18230 memory pages(2k) read-only
从例子中可看出 目前 max memory 配置值为 61440(默认,以2K为单位,约61440÷512=120M),而total logical memory(代