Re: log_duration is redundant, no? - Mailing list pgsql-hackers

From Guillaume Smet
Subject Re: log_duration is redundant, no?
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: log_duration is redundant, no?  (Tom Lane <[email protected]>)
List pgsql-hackers
On 9/8/06, Tom Lane <[email protected]> wrote:
> I think his basic complaint is that doing the full logging pushup for
> even short-duration queries is too expensive, and that logging only the
> duration and not the query text or parameters makes a significant speed
> difference.  I'm not at all sure that I buy that, but if it's true then
> subsequent filtering obviously doesn't help.

That's exactly my point. And on our highly loaded servers, the
log_duration behaviour makes the difference between:
- we have a clear overview of the server activity and
- we don't have any idea of what happens on this server (apart that
there are queries slower than X ms).

Regards,

--
Guillaume


pgsql-hackers by date:

Previous
From: elein
Date:
Subject: Domains and subtypes, a brief proposal
Next
From: Bruce Momjian
Date:
Subject: Re: log_duration is redundant, no?