Re: pgsql: Document that a CHECKPOINT before taking a file system snapshot
От
Bruce Momjian
Тема
Re: pgsql: Document that a CHECKPOINT before
taking a file system snapshot
Дата
Msg-id
201011250301.oAP314S19309@momjian.us
Ответ на
Re: [COMMITTERS] pgsql: Document that a CHECKPOINT before taking a
file system snapshot (Cédric Villemain)
Список
Дерево обсуждения
pgsql: Document that a CHECKPOINT before taking a file system
snapshot Bruce Momjian <bruce@momjian.us>
Re: pgsql: Document that a CHECKPOINT before taking a
file system snapshot Cédric Villemain <cedric.villemain.debian@gmail.com>
Re: pgsql: Document that a CHECKPOINT before
taking a file system snapshot Bruce Momjian <bruce@momjian.us>
C�dric Villemain wrote: > 2010/11/25 Bruce Momjian : > > Document that a CHECKPOINT before taking a file system snapshot can > > reduce recovery time. > > I didn't follow that on -hackers, but : > > * checkpoint take place in the pg_start_backup process (before it > releases the hand, so before you can start snapshoting) > > * we used to issue a checkpoint *before* pg_start_backup to reduce > pg_start_backup duration in case you have wal_archiving turn off and > full_page_write is off, it reduces a bit the IO contention. (or even > if not I hate seing this pg_start_backup taking seconds/minutes to > finish) > > How the checkpoint before will reduce recovery time ? This is for using file system snapshots, not PITR or continuous archiving. The checkpoint reduces how much WAL has to be replayed. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +
В списке pgsql-committers по дате отправления
От: Bruce Momjian
Дата:
От: Robert Haas
Дата: