From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Jim C. Nasby <decibel@decibel.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: Compressing WAL
Date: Sun, 10 Apr 2005 21:12:41 -0400 (EDT)
Message-ID: <200504110112.j3B1Cf018664@candle.pha.pa.us> (raw)
In-Reply-To: <20050405040457.GK93835@decibel.org>
Jim C. Nasby wrote:
> Maybe better for -hackers, but here it goes anyway...
>
> Has anyone looked at compressing WAL's before writing to disk? On a
> system generating a lot of WAL it seems there might be some gains to be
> had WAL data could be compressed before going to disk, since today's
> machines are generally more I/O bound than CPU bound. And unlike the
> base tables, you generally don't need to read the WAL, so you don't
> really need to worry about not being able to quickly scan through the
> data without decompressing it.
I have never heard anyone talk about it, but it seems useful. I think
compressing the page images written on first page modification since
checkpoint would be a big win.
Is this a TODO?
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: pgman@candle.pha.pa.us, decibel@decibel.org
Subject: Re: Compressing WAL
In-Reply-To: <200504110112.j3B1Cf018664@candle.pha.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox