Re: PITR Backups

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Toru SHIMOGAKI <shimogaki(dot)toru(at)oss(dot)ntt(dot)co(dot)jp>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Dan Gorman <dgorman(at)hi5(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: PITR Backups
Date: 2007-06-22 13:53:14
Message-ID: 467BD44A.80803@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Toru SHIMOGAKI wrote:
> Joshua D. Drake wrote:
>
>>> - If we don't use hardware level snapshot operation, it takes long time to take
>>> a large backup data, and a lot of full-page-written WAL files are made.
>> Does it? I have done it with fairly large databases without issue.
>
> You mean hardware snapshot?

Oh goodness no. :)

> I know taking a backup using rsync(or tar, cp?) as a
> n online backup method is not so a big problem as documented. But it just take a

I use rsync with pg_start/stop_backup and it works very well. Even on
databases that are TB in size.

> long time if we handle a terabyte database. We have to VACUUM and other batch
> processes to the large database as well, so we don't want to take a long time
> to take a backup...

Ahh o.k. that makes sense. The difference here is probably how often we
take the snapshot. We take them very often to insure we don't have a ton
of logs we have to pull over.

Joshua D. Drake

>
> Regards,
>

--

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Joshua D. Drake 2007-06-22 13:54:01 Re: PITR Backups
Previous Message Sabin Coanda 2007-06-22 13:24:47 Re: PostgreSQL Configuration Tool for Dummies - feedback adjustable control