From: | Thom Brown <thombrown(at)gmail(dot)com> |
---|---|
To: | Chris Barnes <compuguruchrisbarnes(at)hotmail(dot)com> |
Cc: | Postgres General Postgres General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Is there a tool used to display statement times from postgres logs |
Date: | 2009-11-20 18:17:16 |
Message-ID: | bddc86150911201017j3794f36ag2ca3103522edd627@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
2009/11/20 Chris Barnes <compuguruchrisbarnes(at)hotmail(dot)com>
> Would someone have a tool that displays statement execution times/stats
> from the standard output from postgres logs?
>
> I have attempted pgfouine but not had sucess with the log format.
>
> Does anyone use pgfouine or have something that works for them?
>
> Chris
>
>
>
You may have already tried this, but pgFouine has a custom log prefix which
you should be able to set in postgresql.conf under the log_line_prefix
setting. This is described at
http://pgfouine.projects.postgresql.org/tutorial.html
I have used pgFouine successfully in the past, although I found it didn't
work too well with massive logs. That may have been rectified since.
Regards
Thom
From | Date | Subject | |
---|---|---|---|
Next Message | Bill Moran | 2009-11-20 18:18:49 | Re: Is there a tool used to display statement times from postgres logs |
Previous Message | Chris Barnes | 2009-11-20 18:12:53 | Re: Is there a tool used to display statement times from postgres logs |