October 21, 2011 at 3:40 pm
george sibbald (10/21/2011)
a max memory setting of 118GB is the buffer pool only, other SQL caches will add to that.
george, where did you get this?
October 21, 2011 at 3:47 pm
alexander.suprun (10/21/2011)
george sibbald (10/21/2011)
a max memory setting of 118GB is the buffer pool only, other SQL caches will add to that.george, where did you get this?
Should be in the docs, somewhere. Max server memory (and min server memory) control the buffer pool, the paged memory area (meaning divided into 8kb pages). There's also the multi-page allocations, non-paged memory. On 32-bit SQL that was called MemToLeave (not called that anymore on 64-bit)
Pretty sure I remember Jonathan covering it in his new book (shameless promotion) http://www.simple-talk.com/books/sql-books/troubleshooting-sql-server-a-guide-for-the-accidental-dba/
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
October 21, 2011 at 3:55 pm
If you google/bing SQL Server Max Memory Setting you'll find plenty of resources that talk about that setting being for the buffer pool. Here's just one, http://msdn.microsoft.com/en-us/library/ms180797.aspx
Edit: Changed the Link to a link instead of a code block:-P
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
October 21, 2011 at 4:17 pm
alexander.suprun (10/21/2011)
george sibbald (10/21/2011)
a max memory setting of 118GB is the buffer pool only, other SQL caches will add to that.george, where did you get this?
experience, lots of DBA work and reading stuff.
Take a quick look in task manager and at perfmon counters for memory allocation, you will often see the total amount of memory allocated to sqlservr.exe is greater than the max memory setting.
---------------------------------------------------------------------
October 21, 2011 at 4:35 pm
Thanks! I've never got into details of that max memory setting before.
October 21, 2011 at 4:42 pm
george sibbald (10/21/2011)
alexander.suprun (10/21/2011)
george sibbald (10/21/2011)
a max memory setting of 118GB is the buffer pool only, other SQL caches will add to that.george, where did you get this?
experience, lots of DBA work and reading stuff.
Take a quick look in task manager and at perfmon counters for memory allocation, you will often see the total amount of memory allocated to sqlservr.exe is greater than the max memory setting.
Well, not task manager if you're using locked pages or AWE.
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
October 21, 2011 at 4:49 pm
This might not be the problem but we recently ran into just such a problem. It was a bugger to figure out but the fix was simple... we had purchased a bad memory chip. As soon as we replaced it, performance came right back.
Several years ago, we had a similar problem and it was, again, a memory problem. It turned out that folks had installed a different type of memory and the two were incompatible.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 21, 2011 at 5:15 pm
GilaMonster (10/21/2011)
george sibbald (10/21/2011)
alexander.suprun (10/21/2011)
george sibbald (10/21/2011)
a max memory setting of 118GB is the buffer pool only, other SQL caches will add to that.george, where did you get this?
experience, lots of DBA work and reading stuff.
Take a quick look in task manager and at perfmon counters for memory allocation, you will often see the total amount of memory allocated to sqlservr.exe is greater than the max memory setting.
Well, not task manager if you're using locked pages or AWE.
locked pages?. I decided not to complicate matters with those cans of worms as the OP states he is using 64bit.
---------------------------------------------------------------------
October 21, 2011 at 5:43 pm
george sibbald (10/21/2011)
GilaMonster (10/21/2011)
Well, not task manager if you're using locked pages or AWE.locked pages?. I decided not to complicate matters with those cans of worms as the OP states he is using 64bit.
If locked pages is enabled then task manager reports the wrong memory amount because of the API calls used to allocated the memory (even on 64 bit).
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
October 24, 2011 at 4:23 am
so it does. I told you not to open that can of worms. 🙂
---------------------------------------------------------------------
October 25, 2011 at 7:03 am
If possible, try running a schema comparison including indexes and statistics between the new database and the previous database instance. Perhaps in the process of migrating to the new server something didn't get copied over.
Also look into monitoring plan recompiles and how your cache is being used.
"Do not seek to follow in the footsteps of the wise. Instead, seek what they sought." - Matsuo Basho
Viewing 11 posts - 16 through 26 (of 26 total)
You must be logged in to reply to this topic. Login to reply