SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Another Max Memory Question


Another Max Memory Question

Author
Message
dan-572483
dan-572483
Hall of Fame
Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)Hall of Fame (3.6K reputation)

Group: General Forum Members
Points: 3647 Visits: 2000
We're planning to install a named instance of SQL 2008 R2 on a server that already has a default instance. Naturally we'll have to reduce the Max memory setting on the default instance to prevent the two instances and OS from wrestling over memory. The server has 32GB of RAM and the default instance Max memory setting is currenly 27GB.

The total size of all databases on the named instance will be less than 3GB. Is there any additional benefit to setting the max memory to much more then the size of the databases? I'd prefer to give the named instance the minimum amount it needs and the default instance as much as possible because the default instance hosts about 100GB of data for mutliple applications.
Bhuvnesh
Bhuvnesh
SSChampion
SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)SSChampion (13K reputation)

Group: General Forum Members
Points: 13538 Visits: 4077
Based on the load you have mentioned here.yes i think below ratio can work.

OS - 4 GB
Named- 4/6 GB
Default -- 22/24 GB


BUt keep the memory utilization on your RADAR for few weeks.

-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
colin.Leversuch-Roberts
colin.Leversuch-Roberts
SSChampion
SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)

Group: General Forum Members
Points: 12401 Visits: 715
be aware that the sql memory options are for buffer cache and not the other various memory pools. I generally never use lock pages in memory as this allows you to see how memory is actually being utilised. Note that Tempdb may use as much memory or greater than your database(s)
As with any such scenario you have to monitor and trend to best tune the resources to the demands of the server. I'm assuming this is all x64 so watch your other memory pools.
My advice - take a estimate at what you think is fair - then monitor ( record to a table ) and adjust to suit. Taking pot luck might not be the best choice!
Although I have no affiliation to SQL Diagnostic Manager I'd suggest this as a useful tool to assist.

The GrumpyOldDBA
www.grumpyolddba.co.uk
http://sqlblogcasts.com/blogs/grumpyolddba/
Robert Davis
Robert Davis
SSCertifiable
SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)SSCertifiable (6.8K reputation)

Group: General Forum Members
Points: 6758 Visits: 1632
One thing you can do is to give the new instance an optimistic amount of memory (more than it can use) and then monitor to see how much it actually does use for a while and then adjust your memory settings to a final value.



My blog: SQL Soldier
Twitter: @SQLSoldier
My book: Pro SQL Server 2008 Mirroring
Microsoft Certified Master, SQL Server MVP
Database Engineer at BlueMountain Capital Management
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search