Re: pg_stat_progress_basebackup - progress reporting for pg_basebackup, in the server side
Kyotaro Horiguchi <horikyota.ntt@gmail.com>
From: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
To: rjuju123@gmail.com
Cc: peter.eisentraut@2ndquadrant.com, masao.fujii@oss.nttdata.com,
magnus@hagander.net, noriyoshi.shinoda@hpe.com, amitlangote09@gmail.com,
masahiko.sawada@2ndquadrant.com, pgsql-hackers@postgresql.org
Date: 2020-03-05T09:41:02Z
Lists: pgsql-hackers
At Thu, 5 Mar 2020 10:32:45 +0100, Julien Rouhaud <rjuju123@gmail.com> wrote in > On Thu, Mar 5, 2020 at 8:15 AM Peter Eisentraut > <peter.eisentraut@2ndquadrant.com> wrote: > > > > On 2020-03-05 05:53, Fujii Masao wrote: > > > Or, as another approach, it might be worth considering to make > > > the server always estimate the total backup size whether --progress is > > > specified or not, as Amit argued upthread. If the time required to > > > estimate the backup size is negligible compared to total backup time, > > > IMO this approach seems better. If we adopt this, we can also get > > > rid of PROGESS option from BASE_BACKUP replication command. > > > > I think that would be preferable. > > +1 +1 -- Kyotaro Horiguchi NTT Open Source Software Center
Commits
-
Report NULL as total backup size if it's not estimated.
- 67e0adfb3f98 13.0 landed
-
Make pg_basebackup ask the server to estimate the total backup size, by default.
- fab13dc50ba5 13.0 landed
-
Report progress of streaming base backup.
- e65497df8f85 13.0 landed