Re: PG_DUMP and table locking in PG7.4

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PG_DUMP and table locking in PG7.4
Дата
Msg-id 5773.1132153644@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PG_DUMP and table locking in PG7.4  (Yann Michel <yann-postgresql@spline.de>)
Ответы Re: PG_DUMP and table locking in PG7.4  (Yann Michel <yann-postgresql@spline.de>)
Список pgsql-hackers
Yann Michel <yann-postgresql@spline.de> writes:
> Well, now that I'm thinking about, what you've written I think this is
> exactly the point. I think, that there is a VACUUM waiting for the dump
> to finish whereas the INSERTS are waiting for the VACUUM to finish.

Only if it's a VACUUM FULL ... plain VACUUM neither blocks INSERT nor is
blocked by pg_dump.

The short answer may be "don't use VACUUM FULL" (at least not for
routine automatic vacuums).
        regards, tom lane


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: OS X 7.4 failure
Следующее
От: Tom Lane
Дата:
Сообщение: Re: question about count(b) where b is a custom type