Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 4C038476644 for ; Thu, 29 Aug 2002 17:43:55 -0400 (EDT) Received: from candle.pha.pa.us (216-55-132-35.dsl.san-diego.abac.net [216.55.132.35]) by postgresql.org (Postfix) with ESMTP id 1D700476606 for ; Thu, 29 Aug 2002 17:43:54 -0400 (EDT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id g7TLhpV23785; Thu, 29 Aug 2002 17:43:51 -0400 (EDT) From: Bruce Momjian Message-Id: <200208292143.g7TLhpV23785@candle.pha.pa.us> Subject: Re: Interpretting WAL debug. In-Reply-To: <20020829174142.J1322@mail.libertyrms.com> To: Andrew Sullivan Date: Thu, 29 Aug 2002 17:43:51 -0400 (EDT) Cc: pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/386 X-Sequence-Number: 5500 Andrew Sullivan wrote: > On Thu, Aug 29, 2002 at 04:03:09PM -0400, Bruce Momjian wrote: > > > > Add timestamps to the logs. See my article on Hardware performance > > tuning on the techdocs.postgresql.org site. > > But please note that adding the timestamp itself imposes a > performance penalty, because you have to call to get the time of day > for every log write. There is a TODO item to add a GUC option and complain if checkpoints happen more frequenly than X seconds. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073