Solved

sql server 2008 memory issue

Posted on 2011-09-27
4
377 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 40

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Database - Move Tables from one Database to Another 4 50
Many to one in one row 2 40
How can I find this data? 3 28
Specify timing interval fro change data 2 57
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
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.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.

730 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