Solved

SQL 2005 memory utilisation

Posted on 2011-03-23
5
302 Views
Last Modified: 2012-05-11
Hello experts,

Is there any T-SQL query I can run to measure current memory utilisation in SQL server.
SQL Server spec: SQL 2005 SP3 W2K3 Ent SP2, 32 Bit

Please advise.

Thanks and Regards
0
Comment
Question by:goprasad
  • 2
  • 2
5 Comments
 
LVL 2

Expert Comment

by:Darran Brown
ID: 35202516
hi
Are you looking for memory being used by SQL or t-sql to find what various programs  are using on the server?
For the memory that SQL is using, use Task Managaer on the server. Log onto the server, right click the task bar at the bottoom and choose 'Task Manager'.

Thanks
0
 
LVL 2

Expert Comment

by:Darran Brown
ID: 35202554
You can also use perfomance monitor on the server to collect SQL memory useage over a period of time at set intervals. e.g Check SQL memory usegae every 10 mins for the next 48hrs.
0
 
LVL 14

Expert Comment

by:Daniel_PL
ID: 35202670
Dynamic views and performance counters is what you should start of.
I recommend good article:
http://www.mssqltips.com/tip.asp?tip=2304
0
 

Author Comment

by:goprasad
ID: 35203417
When I executed DBCC Memorystatus, the results under buffer counts is as follow (attached image):
Committed is equal to target . Please explain what does this mean?
 Screenshot
0
 
LVL 14

Accepted Solution

by:
Daniel_PL earned 500 total points
ID: 35205914
This is normal, common situation. It means your memory is stable. Commited being larger than target indicate memory problem - not in your case ;)
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

In this article I will describe the Backup & Restore 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.
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

832 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