Solved

MS SQL Server 2008

Posted on 2009-07-09
4
206 Views
Last Modified: 2015-01-05
Dear Experts,

There's some time our database server's memory reach the maximum available memory.
Is is a common thing in MS. SQL Server 2008?

Someone said that SQL server2008  just takes all the memory available and will release some back what's not needed when Windows OS asks for it.
If so.. then how we know when we need to upgrade the server's memory?

Kindly advise.

Thank you.

0
Comment
Question by:hotex
  • 2
  • 2
4 Comments
 
LVL 3

Accepted Solution

by:
AdoBeebo earned 500 total points
ID: 24812027
You are correct, SQL Server will take as much memory as is available to work with when it needs it and will release the memory when it does not. You can set the maximum memory that SQL is allowed to use in the SQL Server properties of Management Studio. If you are concerned about running other applications on the server then you could set the value to 2GB less than the total memory in the server. I say 2GB because that is the minimum recommended RAM for Server 2008, although you could change this value to suit your needs. For example, if you have 4GB memory in the server, set the max memory value to 2048 MB and restart the SQL Server services. This will impact how well SQL processes though, so it is a trade off.
If there are other applications on the server which you want to perform better you might consider moving them to a different server.
This article on MSDN explains SQL Server's use of memory very well.
http://msdn.microsoft.com/en-us/library/aa196734(SQL.80).aspx
0
 
LVL 3

Expert Comment

by:AdoBeebo
ID: 24812042
Regarding upgrading the memory, that is up to you to decide, but you can use the Server 2008 utility Performance Monitor to see how the server performs. As RAM is cheap, I would certainly consider putting more RAM in to the server if it can take more, and you are running Server 2008 64 bit (for more than 4GB total RAM).
0
 

Author Comment

by:hotex
ID: 24820138
Hello AdoBeebo,

we are using windows server 2008 64bit with 8GB RAM and it's database server so the only main application is MS. SQL server 2008.

I open the Performance Monitor but still could not analyse and decide when we need to add more RAM or not.
In Reliability and Performance on Memory tab there are header fields:
Image, PID, Hard Faults/min, Commit, Working Set (KB), Shareable (KB), Private (KB)

is it from above fields we should analyse?

Kindly advise.

Thank you.





0
 

Author Closing Comment

by:hotex
ID: 31601488
thanks
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
GeoClustering  and AOG 25 42
Extending VM Disk to be larger than 2 TB ? 11 99
Windows Server Event Log DSM Error-1000 10 33
NTP time source for DC 3 43
In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question