Solved

Calculate Memory Used by SQL Server Instance

Posted on 2007-12-03
7
258 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
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 

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 250 total points
ID: 20408577
You provide the magic numbero when you set up the alert.
Alert if counter rises above XXXKbs
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Performance is the key factor for any successful data integration project, knowing the type of transformation that you’re using is the first step on optimizing the SSIS flow performance, by utilizing the correct transformation or the design alternat…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now