Questions tagged [monitoring]
An ongong check of various statistics and events, which can be used to spot telltale signs of underlying issues.
289 questions
41
votes
1
answer
86k
views
Number of active connections and remaining connections
I would like to get statistics about the peak number of connections over a period of time.
I know the pg_stat_activity view, like select count(*) from pg_stat_activity, but I think this method is not ...
30
votes
1
answer
29k
views
Difference between fetched and returned tuples in postgresql
I'm facing a hard time trying to figure it out some performance problems in my database. I'm using a bunch of resources online to learn what to monitor and how to interpret that information.
From ...
30
votes
3
answers
10k
views
Which PowerShell technique should I use to talk to SQL Server?
I'd ultimately like to use PowerShell to replace the old KornShell scripts we use for SQL instance monitors. I'm having a hard time, though, getting my brain around all the different ways that ...
27
votes
4
answers
133k
views
How to find the latest SQL statements within the database?
I like to get the latest executed statements within my database, along with performance indicators.
As such, I like to know, which SQL statements were most CPU/DISK intensive.
15
votes
4
answers
22k
views
How can I have SQL Server email me the error details when a job fails?
SQL Server lets you configure a job to send email alerts when it fails. This is a simple and effective way to monitor your jobs. However, these alerts do not include any detail--just a success or ...
14
votes
7
answers
9k
views
How can I profile SQL Azure?
I am writing a web site that uses SQL Azure heavily. However, it is painfully slow.
Is there an easy way to profile the live SQL Azure instance?
13
votes
3
answers
19k
views
How to properly monitor the number of PostgreSQL database connections?
I tried to use a Nagios script for monitoring the number of database connections on a Postgres database and I reached this problem: these are counted as currently open-connections and measured every 5 ...
13
votes
2
answers
8k
views
Sudden Mongodb high connections/queues, db stops responding
The issue
We have a strange issue on our mongodb setup. Sometimes we get peaks of high connections and high queues and the mongodb process stops responding if we let the queues and connections ...
11
votes
2
answers
2k
views
alert when any job in a job category fails
Is it possible to set up an alert in SQL Server 2008 that will send an e-mail anytime a job in a specific category fails?
I am wondering because I would like to set up an e-mail anytime an SSRS ...
11
votes
2
answers
17k
views
View Postgresql Memory Usage
I'm running Postgresql on a Ubuntu server and need to be able to monitor its memory usage. Currently I have scripts running in a one-minute cron job that monitor/log various statistics and need to ...
10
votes
1
answer
29k
views
How can I monitor the call count per stored procedure per timespan?
In order to diagnose some performance issues I would like to get a better understanding of the number of times certain procedures are called compared to the system performance. Is there a way to get ...
9
votes
4
answers
16k
views
Monitoring free space in SQL Server data files
I have manually resized mdf/ndf files to a big size to avoid autogrow operations on SQL Server databases.
Since the files are bigger there is very little free space on disk partitions and the ...
9
votes
2
answers
10k
views
Monitor MySQL activity per database?
What is the best way to monitor activity on each database of my server ?
I tried mtop/mytop which display activity in real time but aren't very practical to see all the queries executed on it.
I ...
8
votes
6
answers
9k
views
Creating SQL Server Performance Baseline Monitoring
In order to get an overview and compareable data my current task is to create a performance baseline to get some figures about the different productive SQL Server instances.
My thoughts are:
I want ...
8
votes
6
answers
5k
views
Recommendations for MS SQL Server monitoring software or service? [closed]
I have a client with MS SQL Server instances (2000, 2005) scattered across 20-30 servers. I've been engaged to get things organized and will be periodically reviewing the state of the database ...