Solved

sql server 2008 memory issue

Posted on 2011-09-27
4
369 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 15

Expert Comment

by:Eyal
ID: 36714443
0
 
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 39

Accepted Solution

by:
lcohan earned 500 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduced in Microsoft SQL Server 2005, the Copy Database Wizard (http://msdn.microsoft.com/en-us/library/ms188664.aspx) is useful in copying databases and associated objects between SQL instances; therefore, it is a good migration and upgrade tool…
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.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

705 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now