Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

sql server 2008 memory issue

Posted on 2011-09-27
4
Medium Priority
?
385 Views
Last Modified: 2012-05-12
Hi,

I have sql server 2008 R2 which was installed on windows 2008 R2 box and it consists of 32 GB of Ram and we allocated 28GB to sqlserver with min and max server setting.some times memory is pegging to 100%.i would like to know the sql server utilization alone  at any point of time  without using perfmon and task manger.do we have any qurey(DMV/DMF) to identify this?

Thanks in advance
0
Comment
Question by:chandradineshbabu
4 Comments
 
LVL 18

Expert Comment

by:deighton
ID: 36715699
do you mean it reaches the 28GB max that you set?  I don't think that is abnormal, SQL server is designed to grab memory like that and release it back very quickly if other apps require it.
0
 
LVL 40

Accepted Solution

by:
lcohan earned 2000 total points
ID: 36717297
Sure please see queries below and more about SQL memory usage at:

http://sqlblog.com/blogs/jonathan_kehayias/archive/2009/08/24/troubleshooting-the-sql-server-memory-leak-or-understanding-sql-server-memory-usage.aspx


DBCC MEMORYSTATUS

--find AWE used memory
select  
    sum(awe_allocated_kb) / 1024 as [AWE allocated, Mb]  
from  
    sys.dm_os_memory_clerks

--grouped
select  
    type, sum(multi_pages_kb) total_kb
from  
    sys.dm_os_memory_clerks  
where  
    multi_pages_kb != 0  
group by type

0
 

Author Closing Comment

by:chandradineshbabu
ID: 37028992
it helped me a lot
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Suggested Courses

810 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