From: | Victor Sudakov <sudakov(at)sibptus(dot)tomsk(dot)ru> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: getting postgresql-7.4.1 statistics |
Date: | 2004-02-13 03:54:38 |
Message-ID: | c0hhpu$30fp$1@mpeks.tomsk.su |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
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(at)postgresql(dot)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(at)fidonet http://vas.tomsk.ru/
From | Date | Subject | |
---|---|---|---|
Next Message | Rune Froysa | 2004-02-13 09:11:37 | Server-side killing of database connection (7.3.4) |
Previous Message | Bruce Momjian | 2004-02-13 02:09:49 | Re: hanging for 30sec when checkpointing |