| От | Tom Lane |
|---|---|
| Тема | Re: vacuum full question. |
| Дата | |
| Msg-id | 14511.1082574852@sss.pgh.pa.us обсуждение |
| Ответ на | vacuum full question. (Michael Guerin <guerin@rentec.com>) |
| Список | pgsql-novice |
Michael Guerin <guerin@rentec.com> writes:
> What happens when a vacuum full is canceled? Is any of the completed
> work retained, or is everything lost?
You lose it all; in fact you are worse off than when you started,
because there is now *more* work for the next vacuum to do --- it
has to clean up the dead tuples that the canceled vacuum created
(in the process of moving data around) and never got to commit.
However, this is on a per-table basis --- if you are running a
database-wide vacuum full, it commits after each table, so the
already-processed tables are done.
regards, tom lane
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера