|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Thursday, March 07, 2013 10:08 AM
Points: 31,
Visits: 367
|
|
Team, Is there any way to find how much how much memory the single sqlserver instance is actually using in the node? I can see the max memory allocated is 50MB for my instance.But here i want to know hw much actually the instance is using.Can anyone help me on this. Thank you, Mithra.
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Monday, April 08, 2013 2:33 AM
Points: 31,
Visits: 275
|
|
| Did you check the perfmon counter total server memory?
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Tuesday, March 26, 2013 8:41 AM
Points: 2,562,
Visits: 3,451
|
|
Mithra (11/30/2012) I can see the max memory allocated is 50MB for my instance. are you sure for this no ? and task manager can give you estimated value for sqlserver.exe
-------Bhuvnesh---------- While 1 = 1 (Learning SQL....) Click to get fast response of your post
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Today @ 12:31 PM
Points: 1,076,
Visits: 1,919
|
|
Mithra (11/30/2012) Team, Is there any way to find how much how much memory the single sqlserver instance is actually using in the node? I can see the max memory allocated is 50MB for my instance.But here i want to know hw much actually the instance is using.Can anyone help me on this. Thank you, Mithra.
Execute below query on your SQL Server instance:
SELECT CASE counter_name WHEN 'Target Server Memory (KB)' THEN 'MemoryAssignedToSQLServer' WHEN 'Total Server Memory (KB)' THEN 'MemoryUsedBySQLServer' END AS Property, (cntr_value/1024) AS Value_MB FROM sys.dm_os_performance_counters WHERE counter_name IN ('Target Server Memory (KB)','Total Server Memory (KB)')
Hope this helps.
- Divine Flame
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 1:47 PM
Points: 37,731,
Visits: 29,993
|
|
Bhuvnesh (12/3/2012) and task manager can give you estimated value for sqlserver.exe
No, Task manager gives exact values, not estimated. It can be wrong because it doesn't count memory allocated via the AWE mechanism which is used when SQL has the locked pages in memory privilege.
Gail Shaw Microsoft Certified Master: SQL Server 2008, MVP SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter We stand on the bridge and no one may pass
|
|
|
|