Re: Streaming a base backup from master - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Streaming a base backup from master
Date
Msg-id AANLkTikgUoDyU=JHY20sGgJ+TUZRgn4i6yv3m2i+DUnz@mail.gmail.com
Whole thread Raw
In response to Re: Streaming a base backup from master  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
On Fri, Sep 3, 2010 at 11:20 AM, Stephen Frost <sfrost@snowman.net> wrote:
> Kevin,
>
> * Kevin Grittner (Kevin.Grittner@wicourts.gov) wrote:
>> While 1GB granularity would be OK, I doubt it's optimal; I think CRC
>> checks for smaller chunks might be worthwhile.  My gut feel is that
>> somewhere in the 64kB to 1MB range would probably be optimal for us,
>> although the "sweet spot" will depend on how the database is used.
>> A configurable or self-adjusting size would be cool.
>
> We have something much better, called WAL.  If people want to keep their
> backup current, they should use that after getting the base backup up
> and working.  We don't need to support this for the base backup, imv.
>
> In any case, it's certainly not something required for an initial
> implementation..

While I'm certainly not knocking WAL, it's not difficult to think of
cases where being able to incrementally update a backup saves you an
awful lot of bandwidth.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Streaming a base backup from master
Next
From: Robert Haas
Date:
Subject: Re: Interruptible sleeps (was Re: CommitFest 2009-07: Yay, Kevin! Thanks, reviewers!)