« Return to Thread: Core team statement on replication in PostgreSQL

Re: Core team statement on replication in PostgreSQL

by Greg Smith-12 :: Rate this Message:

Reply to Author | View in Thread

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.

--
* Greg Smith gsmith@... http://www.gregsmith.com Baltimore, MD

--
Sent via pgsql-hackers mailing list (pgsql-hackers@...)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

 « Return to Thread: Core team statement on replication in PostgreSQL