Skip site navigation (1) Skip section navigation (2)

postgres query log analysis?

From: "George Pavlov" <gpavlov(at)mynewplace(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: postgres query log analysis?
Date: 2006-10-09 18:13:23
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general
What do you all use for query log analysis for Postgres. I feel/hope
like there must be something that I am missing.

I have tried PQA ( and it is very
problematic, at least with the kind of application we have. Some of the
  * not aware of prepared statements
  * giving faulty stats in several situations (possibly related to
prepared statements, but maybe some others);
  * very slow on anything but "play" logs;
  * seems to not be maintained lately (since 8.0?).

Pglog-analyze ( is an admirable
attempt, but it is very problematic too:
  * incredibly memory-intensive -- I can at best process a few hours of
my production logs even though I have jacked up my PHP memory limit to
  * gives out stats that seem way off on several accounts (subsecond
queries sometimes show as taking over a minute);
  * seems to have similar to PQA's (if not worse) issues with prepared

Is there any other option? When you enable query logging in your PGSQL
logs what do you do with the output?




pgsql-general by date

Next:From: Larry RosenmanDate: 2006-10-09 18:22:27
Subject: Re: postgres query log analysis?
Previous:From: Lenorovitz, JoelDate: 2006-10-09 17:59:05
Subject: Determining caller of a function (due to a cascaded FK constraint?)

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group