From: | "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com> |
---|---|
To: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
Cc: | Gaetano Mendola <mendola(at)bigfoot(dot)com>, <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: rotatelog / logrotate with PostgreSQL |
Date: | 2002-09-26 14:38:00 |
Message-ID: | Pine.LNX.4.33.0209260837470.26236-100000@css120.ihs.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, 26 Sep 2002, Martijn van Oosterhout wrote:
> On Wed, Sep 25, 2002 at 08:58:22AM -0600, scott.marlowe wrote:
> > Well, I've found the syslog facility to be noticeable slower than
> > rotatelogs with pgsql doing its own logging. So that's why I do it the
> > rotatelogs way. Choice is good.
>
> One thing to be careful of is to put a hyphen before the filename in the
> syslog config. This will stop syslog doing a sync() after *every* message,
> which quite noticably kills performance. Also make sure it's only logging to
> the logs you want and not to multiple files.
Thanks, I'll try that.
From | Date | Subject | |
---|---|---|---|
Next Message | Johnson, Shaunn | 2002-09-26 14:40:33 | get date in binary number format |
Previous Message | Tom Lane | 2002-09-26 14:33:58 | Re: Performance while loading data and indexing |