Re: postgres query log analysis?

Поиск
Список
Период
Сортировка
От George Pavlov
Тема Re: postgres query log analysis?
Дата
Msg-id 8C5B026B51B6854CBE88121DBF097A864DEF95@ehost010-33.exch010.intermedia.net
обсуждение исходный текст
Ответ на Re: postgres query log analysis?  ("Larry Rosenman" <ler@lerctr.org>)
Ответы Re: postgres query log analysis?  (Chris <dmagick@gmail.com>)
Список pgsql-general
> Look into pgfouine on pgFoundry.
> http://pgfoundry.org/projects/pgfouine/

thanks! definitely much better, but still not entirely believable, at
least on first try. e.g. i have a query with 4 conditions in the ORDER
BY. pgfouine reports show the query as having the last 3 of those
repeated 18 times! it also fails to normalize a lot of the queries
(seems related to prepared statements). the "queries by type" and the
"hourly reports" are way off (the "queries by type" table has no rows,
the total queries in the hourly statistics section do not match the
number of queries count in the "overall statistics" section and the
select and "write" queries parts all show as 0). all of these problems
are in syslog mode, stderr mode is probably a bit worse. i will play
with the tool some more and try to diagnose the various problems better.

george


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

Предыдущее
От: "Alex Turner"
Дата:
Сообщение: Size of tuples
Следующее
От: Ron Johnson
Дата:
Сообщение: Re: Size of tuples