Re: Streaming Replication: Observations, Questions and Comments

From: Alan Hodgson <ahodgson(at)simkin(dot)ca>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Streaming Replication: Observations, Questions and Comments
Date: 2011-08-24 17:33:59
Message-ID: 201108241033.59785.ahodgson@simkin.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On August 24, 2011 08:33:17 AM Samba wrote:
> One strange thing I noticed is that the pg_xlogs on the master have
> outsized the actual data stored in the database by at least 3-4 times,
> which was quite surprising. I'm not sure if 'restore_command' has anything
> to do with it. I did not understand why transaction logs would need to be
> so many times larger than the actual size of the database, have I done
> something wrong somewhere?

If you archive them instead of keeping them in pg_xlog, you can gzip them.
They compress reasonably well.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2011-08-24 17:50:58 Re: postgresql server crash on windows 7 when using plpython
Previous Message c k 2011-08-24 17:33:03 Re: postgresql server crash on windows 7 when using plpython