dbTalk Databases Forums  

Memory Mgt in SQL SERVER

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss Memory Mgt in SQL SERVER in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
smileydip
 
Posts: n/a

Default Memory Mgt in SQL SERVER - 04-06-2005 , 08:14 AM






I have a performance and memory management issues with SQL SERVER. I
feel SQL server does not releases the unused memory back to the OS. I
have been monitoring that at the end of the day the SQL SERVER
performance gets really bad. And it this point it has acquired all the
Cache it could. I have abt 4 GB of RAM on my server and out of it SQL
SERVER uses almost 2.7 GB whether there is load on the machine or not.
If there any way or tool to monitor this. Also is there any way to Free
memory from SQL server back to OS.


Reply With Quote
  #2  
Old   
johnbandettini@yahoo.co.uk
 
Posts: n/a

Default Re: Memory Mgt in SQL SERVER - 04-06-2005 , 09:40 AM






Hi

If you have SQL Server configured to use memory dynamically, (Which is
the default and usually best left unless you have a speciffic reason to
change it) SQL Server will take as much memory as it needs. It then
does not release that memory unless another process needs it. It is
designed to work that way. I believe the only way to reset the memory
usage is to stop and start the SQL Server service. If it is not causing
a problem don't worry about it.

If it does cause a problem, set a limit on the amount of memory that
SQL Server can use.

Regards

John


Reply With Quote
  #3  
Old   
Andy Williams
 
Posts: n/a

Default Re: Memory Mgt in SQL SERVER - 04-06-2005 , 09:43 AM



Take a look at:

http://support.microsoft.com/default...b;en-us;321363

-Andy

"smileydip" <dipeshn.shah (AT) gmail (DOT) com> wrote

Quote:
I have a performance and memory management issues with SQL SERVER. I
feel SQL server does not releases the unused memory back to the OS. I
have been monitoring that at the end of the day the SQL SERVER
performance gets really bad. And it this point it has acquired all the
Cache it could. I have abt 4 GB of RAM on my server and out of it SQL
SERVER uses almost 2.7 GB whether there is load on the machine or not.
If there any way or tool to monitor this. Also is there any way to Free
memory from SQL server back to OS.




Reply With Quote
  #4  
Old   
Greg D. Moore \(Strider\)
 
Posts: n/a

Default Re: Memory Mgt in SQL SERVER - 04-06-2005 , 07:51 PM




"smileydip" <dipeshn.shah (AT) gmail (DOT) com> wrote

Quote:
I have a performance and memory management issues with SQL SERVER. I
feel SQL server does not releases the unused memory back to the OS.
Unless you're using AWE, it does release memory to the OS if the OS request.

However, as SQL is faster with as much memory as possible, it normally will
grab as much as it can and keep it as long as itcan.

Quote:
I
have been monitoring that at the end of the day the SQL SERVER
performance gets really bad. And it this point it has acquired all the
Cache it could. I have abt 4 GB of RAM on my server and out of it SQL
SERVER uses almost 2.7 GB whether there is load on the machine or not.
Sounds about right.

Quote:
If there any way or tool to monitor this. Also is there any way to Free
memory from SQL server back to OS.
Why do you think this will help your performance issue? Almost certainly
the performance issue is related to something else.


Quote:



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.