Re: Can I truncate statements in the log?

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Howard Cole <howardnews(at)selestial(dot)com>
Cc: "'PgSql General'" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Can I truncate statements in the log?
Date: 2008-09-06 17:38:00
Message-ID: 200809061738.m86Hc0a06071@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Howard Cole wrote:
> As part of my log configuration, I log statements that take over 3
> seconds. I find this very useful for optimising tables etc. The problem
> is that it produces verbatim some very large statements which can create
> huge log entries, which are probably responsible themselves for slowing
> the system down. The problem tend to be insert statements for binary
> objects - which can be Megabytes long.
>
> Is it possible to stop logging these excessive insert statements
> somehow, or restricting the log of statements to select, delete etc and
> ignore inserts.

No, sorry.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jorge Godoy 2008-09-06 18:25:41 Re: storing repeating dates / events
Previous Message rkmr.em@gmail.com 2008-09-06 17:34:22 Re: storing repeating dates / events