November 4, 2015 at 8:21 am
Hi,
Just inherited a new VMWare SQL2014 server.
I noticed the max server memory is set to 2147483647 MB. Which I realize now is the default.
I know from the sysadmin that the VM host has a total of 196 GIGs of memory - for all the servers.
I also know the amount of memory allocated for this SQL server is 64 Gigs.
This server is the primary in an Availability group.
Do I change the max or min settings..do I change it on both primary and secondary? The secondary server runs SSIS and SSRS.
November 4, 2015 at 8:44 am
Yep, that's just the default value
November 4, 2015 at 10:34 am
You change it at the server level, availability groups are at the database level, they don't transfer server settings. Change it on all servers, it might not be set to the same value on the secondary since the secondary has SSRS
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
November 4, 2015 at 10:59 am
Thanks Gail.
My understanding is that in most cases the max memory should be changed from the default.
Is this correct, and does the VM ware admin need to make changes if I change the max memory?
November 4, 2015 at 11:12 am
Always set max server memory. It's not the VMWare admin's job, it's the DBA's job, it's changed in SQL's server settings.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
November 4, 2015 at 4:30 pm
krypto69 (11/4/2015)
Hi,Just inherited a new VMWare SQL2014 server.
I noticed the max server memory is set to 2147483647 MB. Which I realize now is the default.
I know from the sysadmin that the VM host has a total of 196 GIGs of memory - for all the servers.
I also know the amount of memory allocated for this SQL server is 64 Gigs.
This server is the primary in an Availability group.
Do I change the max or min settings..do I change it on both primary and secondary? The secondary server runs SSIS and SSRS.
Assigning over 1\4 of the host memory resources to the one VM really is an argument for making this a physical node in the first place
-----------------------------------------------------------------------------------------------------------
"Ya can't make an omelette without breaking just a few eggs" 😉
November 5, 2015 at 8:21 am
As Gail's already said, it's the DBA's job to set the max server memory. It's usually one of the post-installation steps, and the value depends on various factors including how much RAM the machine has, and how many instances it's hosting.
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply