Re: [PATCHES] Full page writes improvement, code update - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCHES] Full page writes improvement, code update
Date
Msg-id 6292.1177538104@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCHES] Full page writes improvement, code update  (Josh Berkus <josh@agliodbs.com>)
Responses Re: [PATCHES] Full page writes improvement, code update  (Koichi Suzuki <suzuki.koichi@oss.ntt.co.jp>)
List pgsql-hackers
Josh Berkus <josh@agliodbs.com> writes:
> Andreas,
>> So imho pg_compresslog is the correct path forward. The current
>> discussion is only about whether we want a more complex pg_compresslog
>> and no change to current WAL, or an increased WAL size for a less
>> complex implementation.
>> Both would be able to compress the WAL to the same "archive log" size.

> Huh?  As conceived, pg_compresslog does nothing to lower log volume for
> general purposes, just on-disk storage size for archiving.  It doesn't help
> us at all with the tremendous amount of log we put out for an OLTP server,
> for example.

I don't see how what you said refutes what he said.  The sticking point
here is that the patch as-proposed *increases* the log volume before
compression.

            regards, tom lane

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Avoiding unnecessary reads in recovery
Next
From: Tom Lane
Date:
Subject: Re: strange buildfarm failures