I've inherited multiple servers, each containing one database and one instance of SQL Server 2008 R2 SP2. Each server is set to use 12GB min/max memory and has Lock Pages in Memory enabled. The servers have a total of 16GB memory, so 4GB is left for the OS and anything else.
My question is - Is this best practice? Should the servers be set to the same value for min/max memory or will this cause performance issues? I'm investigating a sudden increase in CPU usage across multiple servers and want to rule this out if possible.
max_memoryto11GBbased on this article How much memory does my SQL Server actually need?, but as @sp_BlitzErik pointed out: Don't change memory settings because of CPU issues. – John K. N. Jan 12 '18 at 12:24If the same value is specified for both min server memory and max server memory, then once the memory allocated to the SQL Server Database Engine reaches that value, the SQL Server Database Engine stops dynamically freeing and acquiring memory for the buffer pool.– Erik Darling Jan 12 '18 at 12:33(actually, the REAL fix would be to get the VMware admin to dedicate the resources to the VM and not use ballooning, but if that were an option it probably would have already been done and this hack wouldn't be in place.)
– Eric Cobb Jan 12 '18 at 13:33