windows – 如何限制MS SQL Server内存使用?

我听说MS sql Server占用尽可能多的RAM来缓存结果.好吧,它没有为我们的小服务器的RAM留下足够的讨价还价空间.

如何更改设置以限制可以使用的RAM量?

Windows Server 2008上运行的MS sql Server.

How to configure memory options using SQL Server Management Studio开始:

Use the two server memory options,min server memory and max server memory,to reconfigure the amount of memory (in megabytes) managed by the sql Server Memory Manager for an instance of sql Server.

  1. In Object Explorer,right-click a server and select Properties.
  2. Click the Memory node.
  3. Under Server Memory Options,enter the amount that you want for Minimum server memory and Maximum server memory.

您也可以使用以下命令在T-sql中执行此操作(示例):

exec sp_configure 'max server memory',1024
reconfigure

相关文章

Windows2012R2备用域控搭建 前置操作 域控主域控的主dns:自...
主域控角色迁移和夺取(转载) 转载自:http://yupeizhi.blo...
Windows2012R2 NTP时间同步 Windows2012R2里没有了internet时...
Windows注册表操作基础代码 Windows下对注册表进行操作使用的...
黑客常用WinAPI函数整理之前的博客写了很多关于Windows编程的...
一个简单的Windows Socket可复用框架说起网络编程,无非是建...