Re: pgfouine - commit details?

From: "Josh Cole" <Josh(dot)Cole(at)t8design(dot)com>
To: "Guillaume Smet" <guillaume(dot)smet(at)gmail(dot)com>
Cc: <pgsql-performance(at)postgresql(dot)org>
Subject: Re: pgfouine - commit details?
Date: 2008-05-07 05:29:38
Message-ID: 9A53DDE1FE082F4D952FDF20AC87E21F3E8006@exchange2.t8design.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

We are shipping the postgres.log to a remote syslog repository to take the I/O burden off our postgresql server. As such if we set log_min_duration_statement to 0 this allow us to get more detailed information about our commits using pgfouine...correct?

--
Josh

________________________________

From: Guillaume Smet [mailto:guillaume(dot)smet(at)gmail(dot)com]
Sent: Tue 5/6/2008 7:31 PM
To: Josh Cole
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: [PERFORM] pgfouine - commit details?

Josh,

On Tue, May 6, 2008 at 11:10 PM, Josh Cole <Josh(dot)Cole(at)t8design(dot)com> wrote:
> We are using pgfouine to try and optimize our database at this time. Is
> there a way to have pgfouine show examples or breakout commits?

I hesitated before not implementing this idea. The problem is that you
often don't log everything and use log_min_duration_statement and thus
you don't have all the queries of the transaction in your log file
(and you usually don't have the BEGIN; command in the logs).

--
Guillaume

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Antoine Baudoux 2008-05-07 07:23:51 Re: multiple joins + Order by + LIMIT query performance issue
Previous Message Greg Smith 2008-05-07 02:37:09 Re: Possible Redundancy/Performance Solution