Re: how much disk space does a VACUUM FULL take?

Поиск
Список
Период
Сортировка
От Vick Khera
Тема Re: how much disk space does a VACUUM FULL take?
Дата
Msg-id CALd+dcck=wsKEF+GyZBPdHZ3M+jrEOisPfBUnyHhcY1wYXOHHg@mail.gmail.com
обсуждение исходный текст
Ответ на how much disk space does a VACUUM FULL take?  (john gale <john@smadness.com>)
Список pgsql-general

On Tue, Dec 3, 2013 at 4:04 PM, john gale <john@smadness.com> wrote:
Does this suggest that VACUUM FULL needs free disk space on the order of the full size of the table that it's vacuuming to be able to complete?  Or does it / can it write the filesystem files in the 1GB chunks stored in /base while removing the new "unused" files at the same time, thus requiring only a few GB of free space?

There are at least two tools out there that compact your table "live" by arranging it such that the trailing pages of your table are empty (by issuing trivial updates), and letting the standard vacuum truncate the file.

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

Предыдущее
От: Albe Laurenz
Дата:
Сообщение: Re: unexplainable psql exit status 1
Следующее
От: Kevin Grittner
Дата:
Сообщение: Re: Postgres 9.3 read block error went into recovery mode