Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 912E6153F352 for ; Mon, 9 Apr 2012 15:37:32 -0300 (ADT) Received: from 30.55.colo.spiretech.net ([69.168.55.30] helo=lists.commandprompt.com) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SHJSy-0006x1-IR for pgsql-bugs@postgresql.org; Mon, 09 Apr 2012 18:37:31 +0000 Received: from perhan.alvh.no-ip.org (spinlock.commandprompt.com [69.168.55.30]) by lists.commandprompt.com (Postfix) with ESMTPA id 78262107; Mon, 9 Apr 2012 11:37:17 -0700 (PDT) Received: from perhan.alvh.no-ip.org ([200.126.81.219] helo=perhan.alvh.no-ip.org) by assp.commandprompt.com with ESMTPS(AES256-SHA) (2.1.1); 9 Apr 2012 11:37:14 -0700 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 3EA626E4B8; Mon, 9 Apr 2012 15:37:09 -0300 (CLST) Content-Type: text/plain; charset=UTF-8 Cc: Robert Haas , stuart.bishop , Pg Bugs , koichi.szk@gmail.com Subject: Re: BUG #6528: pglesslog still referenced in docs, but no 9.1 support From: Alvaro Herrera To: Bruce Momjian In-reply-to: <20120409181310.GA3379@momjian.us> References: <20120409181310.GA3379@momjian.us> Date: Mon, 09 Apr 2012 15:37:09 -0300 Message-Id: <1333996309-sup-1157@alvh.no-ip.org> User-Agent: Sup/git X-Assp-Version: 2.1.1(11364) on assp.commandprompt.com X-Assp-Client-TLS: yes X-Assp-ID: assp.commandprompt.com m1-96637-03400 X-Assp-Envelope-From: alvherre@alvh.no-ip.org X-Assp-Intended-For: stuart.bishop@canonical.com X-Assp-Original-Subject: Re: [BUGS] BUG #6528: pglesslog still referenced in docs, but no 9.1 support Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201204/49 X-Sequence-Number: 32800 Excerpts from Bruce Momjian's message of lun abr 09 15:13:10 -0300 2012: > On Mon, Apr 09, 2012 at 10:10:34AM -0400, Robert Haas wrote: > > This complaint appears to be accurate. I think we should go ahead an= d > > remove that mention. >=20 > Agreed; removed with the attached patch. I didn't bother keeping the > gzip mention because I assume there is little value to using without > pglesslog. I'm not sure that assumption holds. I think you're thinking of the hack that zeroes out the "empty" holes in the middle of data pages; those didn't compress well unless zeroed out before compression. This tool is not about that, but rather about removing redundant info from WAL files. It seems to me that WAL files would be as gzip-compressible regardless of pglesslog being applied. (Another related tool is clearxlogtail which zeroes areas from WAL files when they are empty because of an early switch due to archive timeout). The funny thing is, apparently pg_lesslog was intentionally broken by changing XLR_BKP_REMOVABLE to XLP_BKP_REMOVABLE (different semantics?) and the fixes to make it compile again look simple. It's a bit strange that NTT stopped maintaining the tool .. Maybe it wasn't useful anymore? --=20 =C3=81lvaro Herrera The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support