Comments on: Misremembering Memory Settings https://thomaslarock.com/2011/03/misremembering-memory-settings/ Thomas LaRock is an author, speaker, data expert, and SQLRockstar. He helps people connect, learn, and share. Along the way he solves data problems, too. Mon, 14 May 2012 19:03:06 +0000 hourly 1 https://wordpress.org/?v=6.7.2 By: The 3 DBA Mistakes You Don't Know You Are Making | SQLRockstar | Thomas LaRock https://thomaslarock.com/2011/03/misremembering-memory-settings/#comment-6961 Mon, 14 May 2012 19:03:06 +0000 http://thomaslarock.com/?p=5444#comment-6961 […] on securing that memory. The easiest way to do this is to configure those memory settings. Even I can’t remember everything, so that’s why I just reference this post when I need general guidelines regarding the […]

]]>
By: 6 Little Known Things That Can Cause Big Performance Issues | SQLRockstar | Thomas LaRock https://thomaslarock.com/2011/03/misremembering-memory-settings/#comment-6920 Wed, 25 Apr 2012 12:37:50 +0000 http://thomaslarock.com/?p=5444#comment-6920 […] wrote a post a while back to help explain this fact as well. And then there is this post by Glenn Berry […]

]]>
By: Chaka Khan https://thomaslarock.com/2011/03/misremembering-memory-settings/#comment-2342 Tue, 15 Mar 2011 19:26:53 +0000 http://thomaslarock.com/?p=5444#comment-2342 When I’m not on tour singing, I like to read Bob Duffy. He’s got great stuff on SQL Infrastructure stuff (a hobby of mine to divert my atention from being a Diva):

http://blogs.msdn.com/b/boduff/archive/2008/03/31/how-to-set-max-server-memory.aspx

]]>
By: Cleveland DBA https://thomaslarock.com/2011/03/misremembering-memory-settings/#comment-2341 Mon, 14 Mar 2011 13:24:13 +0000 http://thomaslarock.com/?p=5444#comment-2341 Thanks for the extra info, that was very helpful.

]]>
By: Mike Waddle https://thomaslarock.com/2011/03/misremembering-memory-settings/#comment-2340 Sun, 13 Mar 2011 06:24:47 +0000 http://thomaslarock.com/?p=5444#comment-2340 Jonathan,

While I would generally use the maximum setting in those situations, I can see where the minimum setting could be useful. I was mainly curious if people have actually used them in that manner successfully. I didn’t mean to imply that the trimming issue was anything but a Windows issue. My expectation at the time of our testing the trimming issue was that the SQLOS would communicate to the OS that it should not take any memory below the minimum setting so I was surprised when it did.

Colleen -As an example Fulltext indexing prior to SQL Server 2008 runs as a separate process and can cause you to need a lot more than 4GB for the OS.

]]>
By: Thomas LaRock https://thomaslarock.com/2011/03/misremembering-memory-settings/#comment-2339 Sat, 12 Mar 2011 01:27:38 +0000 http://thomaslarock.com/?p=5444#comment-2339 In reply to Cleveland DBA.

Colleen,

In some cases 4GB won’t be enough for everything ‘extra’ running on a typical server. The OS itself should have 2GB reserved. After that, consider you have things like AntiVirus software running. and newer x64 servers have a memory requirement perthread on the order of 2MB. So, if you have a server with 16 logical CPU, that could be 480 threads which is 960MB, almost a full GB right there. Oh, and if you are also running SSIS, or SSAS, well those have memory needs, too.

Now, here’s the thing, you *may* be memory starved…but you don’t know if you are unless you are measuring for it! So you could configure your box as I have outlined and never see any problem, or you could see memory pressure down the road and find out that leaving 6GB is better for your server.

The outline I have given is for a new box, one that I have just installed SQL onto, and I don’t have any particular memory requirements handed to me. I need to start somewhere, and the guidelines here just serve as a starting point, nothing more.

]]>
By: Cleveland DBA https://thomaslarock.com/2011/03/misremembering-memory-settings/#comment-2338 Sat, 12 Mar 2011 00:15:26 +0000 http://thomaslarock.com/?p=5444#comment-2338 I’m curious why you recommend leaving 4GB for the OS. This seems excessive to me (assuming a dedicated database server), or perhaps I’ve been memory-starving my servers all this time (!!). Can you explain a little? Thanks.

]]>