Getting time-dependent load statistics

Поиск
Список
Период
Сортировка
От Torsten Bronger
Тема Getting time-dependent load statistics
Дата
Msg-id 87zlghf5qe.fsf@physik.rwth-aachen.de
обсуждение исходный текст
Ответы Re: Getting time-dependent load statistics  (Bill Moran <wmoran@potentialtech.com>)
Re: Getting time-dependent load statistics  ("Joshua D. Drake" <jd@commandprompt.com>)
Re: Getting time-dependent load statistics  (Scott Marlowe <scott.marlowe@gmail.com>)
Список pgsql-general
Hallöchen!

Yesterday I ported a web app to PG.  Every 10 minutes, a cron job
scanned the log files of MySQL and generated a plot showing the
queries/sec for the last 24h.  (Admittedly queries/sec is not the
holy grail of DB statistics.)

But I still like to have something like this.  At the moment I just
do the same with PG's log file, with

    log_statement_stats = on

But to generate these plots is costly (e.g. I don't need all the
lines starting with !), and to interpret them is equally costly.  Do
you have a suggestion for a better approach?

Tschö,
Torsten.

--
Torsten Bronger, aquisgrana, europa vetus
                   Jabber ID: torsten.bronger@jabber.rwth-aachen.de

В списке pgsql-general по дате отправления:

Предыдущее
От: Ivan Sergio Borgonovo
Дата:
Сообщение: Re: where to divide application and database
Следующее
От: Bill Moran
Дата:
Сообщение: Re: Getting time-dependent load statistics