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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Core team statement on replication in PostgreSQL



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

Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group