From: Bruce Momjian <bruce@momjian.us>
To: Nicos Panayides <nicos@magneta.com.cy>
Cc: pgsql-admin@postgresql.org
Cc: koichi.szk@gmail.com
Subject: Re: Off-site storage for PITR logs
Date: Fri, 12 Mar 2010 12:11:17 -0500 (EST)
Message-ID: <201003121711.o2CHBHf27975@momjian.us> (raw)
In-Reply-To: <4B9A6E8B.4050303@magneta.com.cy>
Nicos Panayides wrote:
> Hi,
> I am planning an off-site backup solution for a fairly busy
> (mostly-write) 8.3 database. The database is currently about 200GB in
> size. I though about using log shipping and cold standby since it's easy
> in terms of administration and also offers point in time recovery.
>
> The database generates about 3 PITR log files per minute. If my
> calculations are correct the sites need to be connected with a 7MBit
> connection and the logs will need about 68GB of storage per day!
>
> Does anyone have any suggestions on how to significantly reduce the
> volume of log files or recommend another off-site backup solution that
> would require less bandwidth and storage?
I would use pg_lesslog to reduce the size of the WAL files:
http://pgfoundry.org/projects/pglesslog/
However, there is a bug in pg_lesslog so I wouldn't use it until that is
fixed:
http://archives.postgresql.org/pgsql-announce/2010-02/msg00005.php
Koichi, do you have any update on this? I don't see that a new version
has been uploaded, and I also see no mention on the pgfoundry site about
the bug.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
PG East: http://www.enterprisedb.com/community/nav-pg-east-2010.do
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: bruce@momjian.us, nicos@magneta.com.cy, koichi.szk@gmail.com
Subject: Re: Off-site storage for PITR logs
In-Reply-To: <201003121711.o2CHBHf27975@momjian.us>
References: <4B9A6E8B.4050303@magneta.com.cy> <201003121711.o2CHBHf27975@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox