Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-advocacypgsql-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

pgsql-hackers by date

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

pgsql-advocacy by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group