Re: Compression of full-page-writes - Mailing list pgsql-hackers

From Pavan Deolasee
Subject Re: Compression of full-page-writes
Date
Msg-id CABOikdN6qsrxVJoufUf0KqJokFJjawkBix-0soHXTTVUVLjF9Q@mail.gmail.com
Whole thread Raw
In response to Re: Compression of full-page-writes  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-hackers

On Wed, Jun 11, 2014 at 4:19 PM, Fujii Masao <masao.fujii@gmail.com> wrote:

IIUC even when we adopt only one algorithm, additional at least one bit is
necessary to see whether this backup block is compressed or not.

This flag is necessary only for backup block, so there is no need to use
the header of each WAL record. What about just using the backup block
header?


+1. We can also steal a few bits from ForkNumber field in the backup block header if required.

Thanks,
Pavan

--
Pavan Deolasee
http://www.linkedin.com/in/pavandeolasee

pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: Compression of full-page-writes
Next
From: Andres Freund
Date:
Subject: Re: replication commands and log_statements