Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Another Max Memory Question Expand / Collapse
Author
Message
Posted Thursday, October 3, 2013 4:36 PM
Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: 2 days ago @ 10:51 AM
Points: 558, Visits: 1,652
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.
Post #1501377
Posted Monday, October 7, 2013 8:15 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Today @ 5:31 AM
Points: 2,841, Visits: 3,985
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
Post #1502157
Posted Monday, October 28, 2013 3:41 PM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Monday, June 9, 2014 6:02 AM
Points: 2,674, Visits: 697
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/
Post #1509127
Posted Sunday, November 24, 2013 2:12 PM


SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Tuesday, December 2, 2014 8:16 AM
Points: 1,618, Visits: 1,554
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 2008
Principal DBA: Outerwall, Inc.
Also available for consulting: SQL DBA Master
Post #1517124
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse