From: Victor Sudakov <sudakov@sibptus.tomsk.ru>
To: pgsql-admin@postgresql.org
Subject: Re: getting postgresql-7.4.1 statistics
Date: Fri, 13 Feb 2004 03:54:38 +0000 (UTC)
Message-ID: <c0hhpu$30fp$1@mpeks.tomsk.su> (raw)
References: <5.1.0.14.2.20040212165313.033dee28@imap.eldocomp.com>
Naomi Walker wrote:
>
>> >How do I get the postgresql statistics? I would like to know queries
>> >per second etc.
>> >
>> >The stats_start_collector variable is on, and I can see the
>> >stats collector process running. But how do I query it?
>> >
>> >Thanks a lot for any input.
>>
>>Check out www.postgresql.org/docs/7.3/static/monitoring-stats.html.
>>
>>There are several views and functions available for querying stats, like
>>pg_stat_activity, pg_stat_database. In pgsql, try "select * from
>>pg_stat_activity;", etc.
I still cannot find the average number of queries per second. Could
you please be more specific.
>> >---------------------------(end of broadcast)---------------------------
>> >TIP 3: if posting/reading through Usenet, please send an appropriate
>> > subscribe-nomail command to majordomo@postgresql.org so that your
>> > message can get through to the mailing list cleanly
By the way this advice does not work. Majordomo says:
The command mode "nomail" is invalid.
--
Victor Sudakov, VAS4-RIPE, VAS47-RIPN
2:5005/149@fidonet http://vas.tomsk.ru/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: sudakov@sibptus.tomsk.ru
Subject: Re: getting postgresql-7.4.1 statistics
In-Reply-To: <c0hhpu$30fp$1@mpeks.tomsk.su>
References: <5.1.0.14.2.20040212165313.033dee28@imap.eldocomp.com> <c0hhpu$30fp$1@mpeks.tomsk.su>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox