Re: [PATCHES] Doc update for pg_start_backup

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCHES] Doc update for pg_start_backup
Дата
Msg-id 3833.1183088153@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: [PATCHES] Doc update for pg_start_backup  ("Simon Riggs" <simon@2ndquadrant.com>)
Re: [PATCHES] Doc update for pg_start_backup  (Heikki Linnakangas <heikki@enterprisedb.com>)
Список pgsql-hackers
Heikki Linnakangas <heikki@enterprisedb.com> writes:
> Added a note to the docs that pg_start_backup can take a long time to 
> finish now that we spread out checkpoints:

I was starting to wordsmith this, and then wondered whether it's not
just a stupid idea for pg_start_backup to act that way.  The reason
you're doing it is to take a base backup, right?  What are you going
to take the base backup with?  I do not offhand know of any backup
tools that don't suck major amounts of I/O bandwidth.  That being
the case, you're simply not going to schedule the operation during
full-load periods.  And that leads to the conclusion that
pg_start_backup should just use CHECKPOINT_IMMEDIATE and not slow
you down.

Thoughts?
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [GENERAL] AutoVacuum Behaviour Question
Следующее
От: "Simon Riggs"
Дата:
Сообщение: Re: [PATCHES] Doc update for pg_start_backup