Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Calculate Memory Used by SQL Server Instance

Posted on 2007-12-03
7
Medium Priority
?
307 Views
Last Modified: 2012-08-14
How do I do that
0
Comment
Question by:dfr031260
  • 4
  • 3
7 Comments
 
LVL 29

Expert Comment

by:QPR
ID: 20400326
0
 

Author Comment

by:dfr031260
ID: 20400934
Not Good Enough.
How do I from a query level, calc this.

Please, no more normie's!  I think I cans...
0
 
LVL 29

Expert Comment

by:QPR
ID: 20406247
normies?
Not sure how to show current usage via a query but you could do something fancy with "total server memory" performance counters
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:dfr031260
ID: 20406249
Guys, is this that hard?  I have a SQL Server configured to use a max of 256mb.  I would like to be able to know if it us running out of headroom.  Is there an alert, talk to me?

Dav
0
 
LVL 29

Expert Comment

by:QPR
ID: 20406399
You want a query or an alert?
Enterprise manager - sql agent... alerts.
SQL server performance condition alert - > choose your memory option.
Alert if reaches X level.
Response = alert operator.

Not sure if this falls into normie(?) category or I think I cans but looks like I'm the only one offering anything at the moment
0
 

Author Comment

by:dfr031260
ID: 20408555
Actually that was rather cool-lala, but I already thought of that.  Questioni is what is the alert calculation, how does it come up with the magic numbero?  Come on GuruFuruMannuTiiiiii, do the VooDoo you do so well BroHammer.  I got a stinking feeling it is an undocumented dbcc thang, but I'll be damned if I can find it.  
Hit me!
0
 
LVL 29

Accepted Solution

by:
QPR earned 750 total points
ID: 20408577
You provide the magic numbero when you set up the alert.
Alert if counter rises above XXXKbs
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
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 different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

877 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