I am currently skimming through Pro SQL Server 2019 Administration: A Guide for the Modern DBA and I have found one thing that somewhat confuses me.
In Chapter 5: CONFIGURING THE INSTANCE, the section on Min and Max Server Memory (pages 139-140) says:
In many environments, it is likely that you will want to provide the same value for both Min and Max Server Memory. This will avoid the overhead of SQL Server dynamically managing the amount of memory it has reserved.
If you have multiple instances, however, then dynamic memory management may be beneficial so that the instance with the heaviest workload at any given time can consume the most resources.
...Assuming that you have one instance and no other applications, such as SSIS packages, running on the server, you would normally set both the min and max memory setting to be the lowest value from the
- RAM - 2 GB
- (RAM / 8 ) * 7
However, the advice to "provide the same value for both Min and Max Server Memory" is in contradiction with the documentation, which says:
It isn't recommended to set max server memory (MB) and min server memory (MB) to be the same value, or near the same values.
In what situations would it be good idea to set Max Server Memory and Min Server Memory to be the same(ish) value?
Or am I misunderstanding something about the advice?