Re: Interaction of PITR backups and Bulk operations avoiding WAL

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Interaction of PITR backups and Bulk operations avoiding WAL
Дата
Msg-id 105.1173456953@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Interaction of PITR backups and Bulk operations avoiding WAL  ("Simon Riggs" <simon@2ndquadrant.com>)
Ответы Re: Interaction of PITR backups and Bulk operationsavoiding WAL  ("Simon Riggs" <simon@2ndquadrant.com>)
Список pgsql-hackers
"Simon Riggs" <simon@2ndquadrant.com> writes:
> Say you issue COPY, CREATE INDEX etc..
> pg_start_backup()
> pg_stop_backup()
> ...then bulk operation ends.
> This will result in a base backup that does not contain the data written
> during the bulk operation and the changes aren't in WAL either.

Uh, no.  The state of XLogArchivingActive() isn't affected by that.

It strikes me that allowing archive_command to be changed on the fly
might not be such a good idea though, or at least it shouldn't be
possible to flip it from empty to nonempty during live operation.
        regards, tom lane


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

Предыдущее
От: "Simon Riggs"
Дата:
Сообщение: Re: CLUSTER and MVCC
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: CLUSTER and MVCC