| От | Tom Lane |
|---|---|
| Тема | Re: vacuumdb question/problem |
| Дата | |
| Msg-id | 17933.1310757071@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: vacuumdb question/problem (David Ondrejik <David.Ondrejik@noaa.gov>) |
| Список | pgsql-admin |
David Ondrejik <David.Ondrejik@noaa.gov> writes:
> I am still wondering how the vacuum process actually works. When it
> throws the output lines that show how many rows are
> recoverable/nonremovable, does this mean that the vacuum has completed?
No, that's just the end of the first pass over the table. After that it
cleans out dead index entries, and then it sets about moving rows down
to fill free space.
As far as your original question is concerned: if you have reason to
think there's a lot of bloat, CLUSTER would be the thing to use.
Old-style VACUUM FULL is seriously inefficient when there's a lot of
rows that have to be moved.
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера