Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

SQL Server Alert to find the Physical server memory usage Expand / Collapse
Author
Message
Posted Wednesday, March 31, 2010 10:59 PM


SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Tuesday, November 12, 2013 10:53 PM
Points: 290, Visits: 714
Hi all,

Is there an alert to find the Physical server memory usage, so that we get an alert message when the physical server memory usage goes beyond a limit.

I'm not looking for WMI query OR the object - SQL Server: Memory alert. I would like to get the actual phyisical memory usage through the SQL Server Alert ssystem.

Any help would be appreciable


John
Post #894430
Posted Thursday, April 01, 2010 6:12 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Yesterday @ 6:52 AM
Points: 2,820, Visits: 3,917


Refer this link http://www.microsoft.com/systemcenter/en/us/operations-manager/om-overview.aspx and attached doc


-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done
Post #894653
Posted Sunday, April 04, 2010 9:51 AM


SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Tuesday, November 12, 2013 10:53 PM
Points: 290, Visits: 714
Hi all,

Is there a way to get an alert from SQL Server itself when a particular limit of Total available memory in the Server has been reached, not using the WMI query.

I have checked the SQL Server Performance condition alert, but it has the counters for the calculating the memory allotted to SQL Server only. I would like to get the memory usage of physical server as a whole.

Thanks


John
Post #896425
Posted Sunday, April 04, 2010 11:53 AM


Right there with Babe

Right there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with Babe

Group: General Forum Members
Last Login: 2 days ago @ 9:47 PM
Points: 798, Visits: 2,105
No...SQL Server will only capture counters and information for what resources it is using. It does not take much note of what is outside the boundary.


Shawn Melton
PS C:\>(Find-Me).TwitterUri
@wshawnmelton
PS C:\>(Find-Me).BlogUri
meltondba.wordpress.com
Post #896440
Posted Sunday, April 04, 2010 12:07 PM


SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Tuesday, November 12, 2013 10:53 PM
Points: 290, Visits: 714
So does this mean WMI query is the only approach to get the information (alert) about the memory usage of the physical server where the SQL Server resides.

John
Post #896444
Posted Sunday, April 04, 2010 12:23 PM


Right there with Babe

Right there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with BabeRight there with Babe

Group: General Forum Members
Last Login: 2 days ago @ 9:47 PM
Points: 798, Visits: 2,105
bigM (4/4/2010)
So does this mean WMI query is the only approach to get the information (alert) about the memory usage of the physical server where the SQL Server resides.

You can use Perfmon alerts but you could call the WMI query from within SQL Server, giving you the option of doing alerts.



Shawn Melton
PS C:\>(Find-Me).TwitterUri
@wshawnmelton
PS C:\>(Find-Me).BlogUri
meltondba.wordpress.com
Post #896450
Posted Monday, April 05, 2010 9:22 AM
SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Tuesday, April 03, 2012 8:35 AM
Points: 1,608, Visits: 198
You can query the sys.dm_os_performance_counters for object name = SQLServer:Memory Manager.
It will give you Total Server Memory that SQL is using and Target Server Memory.


Raymond Laubert
Exceptional DBA of 2009 Finalist
MCT, MCDBA, MCITP:SQL 2005 Admin,
MCSE, OCP:10g
Post #896779
Posted Monday, April 05, 2010 9:52 AM


SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Tuesday, November 12, 2013 10:53 PM
Points: 290, Visits: 714
Ray Laubert (4/5/2010)
You can query the sys.dm_os_performance_counters for object name = SQLServer:Memory Manager.
It will give you Total Server Memory that SQL is using and Target Server Memory.


I wanted to set an alert system on the actual RAM usage of the server by all the processes, not just the SQL Server process. So that when a particular threshold is reached for the RAM usage by all the process, I get an alert email.

For this purpose, I was looking for any default object in the SQL Alerts itself. SQL server has the alert system for the object SQLServer:Memory Manager, but it looks for the Memory that SQL is using. I needed alert in SQL Server for object "Memory".

Taking the result from the table wont trigger the alert.

I believe, it is not present in SQL Server.
I may have to look into perfmon for this.

Thanks. Please feel free to shout if find anything inside the SQL Server itself to track the "Memory" object.


John
Post #896808
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse