Re: Core team statement on replication in PostgreSQL

From: "Gurjeet Singh" <singh(dot)gurjeet(at)gmail(dot)com>
To: "Greg Smith" <gsmith(at)gregsmith(dot)com>
Cc: "Andreas 'ads' Scherbaum" <adsmail(at)wars-nicht(dot)de>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Core team statement on replication in PostgreSQL
Date: 2008-05-31 03:39:14
Message-ID: 65937bea0805302039n30083771r7598f20d1b4d448c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy pgsql-hackers

On Sat, May 31, 2008 at 3:41 AM, Greg Smith <gsmith(at)gregsmith(dot)com> wrote:

> On Sat, 31 May 2008, Gurjeet Singh wrote:
>
> Not if you use pg_clearxlogtail
>>>
>>
>> This means we need to modify pg_standby to not check for filesize when
>> reading XLogs.
>>
>
> No, the idea is that you run the segments through pg_clearxlogtail | gzip,
> which then compresses lightly used segments massively because all the unused
> bytes are 0. File comes out the same size at the other side, but you didn't
> ship a full 16MB if there was only a few KB used.

Got it. I remember reading about pg_clearxlogtail in these mailing lists;
but somehow forgot how it actually worked!

--
gurjeet[(dot)singh](at)EnterpriseDB(dot)com
singh(dot)gurjeet(at){ gmail | hotmail | indiatimes | yahoo }.com

EnterpriseDB http://www.enterprisedb.com

Mail sent from my BlackLaptop device

In response to

Browse pgsql-advocacy by date

  From Date Subject
Next Message Mike Rylander 2008-05-31 06:18:08 Re: Core team statement on replication in PostgreSQL
Previous Message Andrew Dunstan 2008-05-31 01:32:26 Re: Core team statement on replication in PostgreSQL

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Smith 2008-05-31 04:11:47 Re: Overhauling GUCS
Previous Message Andrew Dunstan 2008-05-31 01:32:26 Re: Core team statement on replication in PostgreSQL