Re: vacuum full questions

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: vacuum full questions
Дата
Msg-id 20090818224859.GA5890@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: vacuum full questions  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Список pgsql-admin
Kevin Grittner wrote:
> Kevin Kempter <kevink@consistentstate.com> wrote:

> > 2) can I safely kill the vacuum full and do a dump, drop table,
> > restore instead?
>
> Killing a VACUUM FULL can leave the table or its indexes more bloated
> than when you started, but it should have no other negative impact.  I
> have generally had to kill my attempts to VACUUM FULL and resort to
> other techniques to deal with extreme bloat.

Note that cancelling a VACUUM FULL is known to cause a database restart
(a.k.a. PANIC) if the circumstances are right, viz. that the initial
transaction committed.  This is an unfixable bug (short of rewriting
vacuum full from scratch) and has been reported in the wild several
times.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: vacuum full questions
Следующее
От: "Donald Fraser"
Дата:
Сообщение: Partial WAL file replay before fail-over startup