pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
getting postgresql-7.4.1 statistics
4+ messages / 3 participants
[nested] [flat]

* getting postgresql-7.4.1 statistics
@ 2004-02-11 04:55 Victor Sudakov <sudakov@sibptus.tomsk.ru>
  0 siblings, 0 replies; 4+ messages in thread

From: Victor Sudakov @ 2004-02-11 04:55 UTC (permalink / raw)
  To: " <pgsql-admin@postgresql.org.pgsql-novice>

Colleagues,

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.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/149@fidonet http://vas.tomsk.ru/



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* getting postgresql-7.4.1 statistics
@ 2004-02-12 23:53 Naomi Walker <nwalker@eldocomp.com>
  2004-02-13 03:54 ` Re: getting postgresql-7.4.1 statistics Victor Sudakov <sudakov@sibptus.tomsk.ru>
  0 siblings, 1 reply; 4+ messages in thread

From: Naomi Walker @ 2004-02-12 23:53 UTC (permalink / raw)
  To: pgsql-admin



> >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.
>
>Naomi
>
>
>
>
> >--
> >Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
> >2:5005/149@fidonet <http://vas.tomsk.ru/>http://vas.tomsk.ru/
> >
> >---------------------------(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
>
>-------------------------------------------------------------------------------------------------------------------------
>Naomi Walker                         Chief Information Officer
>                                                Eldorado Computing, Inc.
>nwalker@eldocomp.com           602-604-3100
>-------------------------------------------------------------------------------------------------------------------------
>Forget past mistakes. Forget failures. Forget everything except what you're
>going to do now and do it.
>- William Durant, founder of General Motors
>------------------------------------------------------------------------------------------------------------------------
>
>

-------------------------------------------------------------------------------------------------------------------------
Naomi Walker                         Chief Information Officer
                                               Eldorado Computing, Inc.
nwalker@eldocomp.com           602-604-3100
-------------------------------------------------------------------------------------------------------------------------
Forget past mistakes. Forget failures. Forget everything except what you're 
going to do now and do it.
- William Durant, founder of General Motors
------------------------------------------------------------------------------------------------------------------------

-- CONFIDENTIALITY NOTICE --

This message is intended for the sole use of the individual and entity to whom it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended addressee, nor authorized to receive for the intended addressee, you are hereby notified that you may not use, copy, disclose or distribute to anyone the message or any information contained in the message. If you have received this message in error, please immediately advise the sender by reply email, and delete the message. Thank you.

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: getting postgresql-7.4.1 statistics
  2004-02-12 23:53 getting postgresql-7.4.1 statistics Naomi Walker <nwalker@eldocomp.com>
@ 2004-02-13 03:54 ` Victor Sudakov <sudakov@sibptus.tomsk.ru>
  2004-02-13 17:42   ` Re: getting postgresql-7.4.1 statistics CoL <col@mportal.hu>
  0 siblings, 1 reply; 4+ messages in thread

From: Victor Sudakov @ 2004-02-13 03:54 UTC (permalink / raw)
  To: 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@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/



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: getting postgresql-7.4.1 statistics
  2004-02-12 23:53 getting postgresql-7.4.1 statistics Naomi Walker <nwalker@eldocomp.com>
  2004-02-13 03:54 ` Re: getting postgresql-7.4.1 statistics Victor Sudakov <sudakov@sibptus.tomsk.ru>
@ 2004-02-13 17:42   ` CoL <col@mportal.hu>
  0 siblings, 0 replies; 4+ messages in thread

From: CoL @ 2004-02-13 17:42 UTC (permalink / raw)
  To: pgsql-admin

hi,

Victor Sudakov wrote:
> I still cannot find the average number of queries per second. Could
> you please be more specific.

there is no such. You have to write it for your own if you want. Or you 
can log statements to a log file, and then parse that file.

C.



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2004-02-13 17:42 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-02-11 04:55 getting postgresql-7.4.1 statistics Victor Sudakov <sudakov@sibptus.tomsk.ru>
2004-02-12 23:53 getting postgresql-7.4.1 statistics Naomi Walker <nwalker@eldocomp.com>
2004-02-13 03:54 ` Victor Sudakov <sudakov@sibptus.tomsk.ru>
2004-02-13 17:42   ` CoL <col@mportal.hu>

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