On 10/10/11 23:29, John R Pierce wrote:

> While xfs_freeze is in effect, all writes are blocked.  This is NOT
> what you want to do here, postgres does NOT expect you to take an
> atomic snapshot of the database files, rather, by bracketing your
> backup with pg_start_backup and pg_stop_backup, it puts things in a
> state where a file by file backup will be fine.
>
While true, taking an atomic snapshot should give them lower recovery
times and - all in all - is probably a good thing.
>
> when postgres's writer processes block, I suspect things go sour fast.
They shouldn't!

If blocking writes causes a server failure that persists once writes
have been unblocked, that's a bug IMO. You might have a bit of a backlog
of writes to clear, but after that all should be well, and if it isn't
then something needs fixing.

--
Craig Ringer

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to