Re: Streaming base backups - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: Streaming base backups
Date
Msg-id AANLkTim6bZQ_h=L4qLJkagB-boadHcJrpyq7wL1yM0EN@mail.gmail.com
Whole thread Raw
In response to Re: Streaming base backups  (Hannu Krosing <hannu@2ndquadrant.com>)
Responses Re: Streaming base backups  (Hannu Krosing <hannu@2ndquadrant.com>)
List pgsql-hackers
On Sun, Jan 9, 2011 at 09:55, Hannu Krosing <hannu@2ndquadrant.com> wrote:
> On 7.1.2011 15:45, Magnus Hagander wrote:
>>
>> On Fri, Jan 7, 2011 at 02:15, Simon Riggs<simon@2ndquadrant.com>  wrote:
>>
>>> One very useful feature will be some way of confirming the number and
>>> size of files to transfer, so that the base backup client can find out
>>> the progress.
>>
>> The patch already does this. Or rather, as it's coded it does this
>> once per tablespace.
>>
>> It'll give you an approximation only of course, that can change,
>
> In this case you actually could send exact numbers, as you need to only
> transfer the files
>  up to the size they were when starting the base backup. The rest will be
> taken care of by
>  WAL replay

It will still be an estimate, because files can get smaller, and even
go away completely.

But we really don't need more than an estimate...


--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/


pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: WIP: Range Types
Next
From: Hannu Krosing
Date:
Subject: Re: Streaming base backups