Re: Compression of full-page-writes

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Nikhil Sontakke <nikkhils(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Compression of full-page-writes
Date: 2013-08-30 06:15:12
Message-ID: CAHGQGwFBqDP=D=uyG4dnQ1r6Wrf2zgtuDDDEj2A-Jbrc3wdPvg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Aug 30, 2013 at 2:37 PM, Nikhil Sontakke <nikkhils(at)gmail(dot)com> wrote:
> Hi Fujii-san,
>
> I must be missing something really trivial, but why not try to compress all
> types of WAL blocks and not just FPW?

The size of non-FPW WAL is small, compared to that of FPW.
I thought that compression of such a small WAL would not have
big effect on the reduction of WAL size. Rather, compression of
every WAL records might cause large performance overhead.

Also, focusing on FPW makes the patch very simple. We can
add the compression of other WAL later if we want.

Regards,

--
Fujii Masao

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2013-08-30 06:57:10 Re: Compression of full-page-writes
Previous Message Peter Geoghegan 2013-08-30 06:05:38 Re: Compression of full-page-writes