Re: Making pg_standby compression-friendly

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Charles Duffy <charles(at)dyfis(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Making pg_standby compression-friendly
Date: 2008-10-23 06:15:39
Message-ID: 4900168B.5020101@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Charles Duffy wrote:
> I'm interested in compressing archived WAL segments in an environment
> set up for PITR in the interests of reducing both network traffic and
> storage requirements. However, pg_standby presently checks file sizes,
> requiring that an archive segment be exactly the right size to be
> considered valid. The idea of compressing log segments is not new --
> the clearxlogtail project in pgfoundry provides a tool to make such
> compression more effective, and is explicitly intended for said
> purpose -- but as of 8.3.4, pg_standby appears not to support such
> environments; I propose adding such support.

Can't you decompress the files in whatever script you use to copy them
to the archive location?

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2008-10-23 06:25:02 Re: PGDay.it collation discussion notes
Previous Message Heikki Linnakangas 2008-10-23 06:09:56 Re: Block level concurrency during recovery