Re: log_duration_sample config option patch

From: Euler Taveira de Oliveira <euler(at)timbira(dot)com>
To: Timo Savola <timo(dot)savola(at)dynamoid(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: log_duration_sample config option patch
Date: 2009-01-28 02:38:15
Message-ID: 497FC517.4000407@timbira.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Timo Savola escreveu:
> Hello. The attached patch has made it more feasible for us to gather
> profiling data on a production system for analysis with pgFouine. It
> has been written against PostgreSQL 8.3.5 and tested on Linux. Comments
> welcome.
>
IIRC pgFouine shows exact percentage of query by type; this new GUC implies we
can not rely on it anymore. Also, you could skip us from logging long (and
bad) running queries. Another statistics data in pgFouine will suffer from the
same problem. I see your point in reducing amount of log data but I think it
will limit the tool usability (you can always start/stop statement collection
at runtime).

--
Euler Taveira de Oliveira
http://www.timbira.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ron Mayer 2009-01-28 02:41:52 Re: 8.4 release planning
Previous Message KaiGai Kohei 2009-01-28 02:31:25 Re: 8.4 release planning