Re: Archive log compression keeping physical log available in the crash recovery - Mailing list pgsql-hackers

From Koichi Suzuki
Subject Re: Archive log compression keeping physical log available in the crash recovery
Date
Msg-id 45D11C26.6040200@oss.ntt.co.jp
Whole thread Raw
In response to Re: Archive log compression keeping physical log available in the crash recovery  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-hackers
Further, because pgbench writes many zero values to fixed length
columns, gzip can achieve better compression.   There're another
suggestion to test with longer checkpoint interval.   I will post the
result.

Thanks.

Martijn van Oosterhout wrote:
> On Fri, Feb 09, 2007 at 01:00:10PM +0900, Koichi Suzuki wrote:
>> Further, we can apply gzip to this archive (2.36GB).   Final size is 
>> 0.75GB, less than one sixtieth of the original WAL.
> 
> Note that if you were compressing on the fly, you'll have to tell gzip
> to regularly flush its buffers to make sure all the data actually hits
> disk. That cuts into your compression ratio...
> 
> Have a nice day,


-- 
Koichi Suzuki


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Foreign keys for non-default datatypes, redux
Next
From: Bruce Momjian
Date:
Subject: Re: [PATCHES] Bad bug in fopen() wrapper code