| От | Joseph Shraibman |
|---|---|
| Тема | Re: Idea for vacuuming |
| Дата | |
| Msg-id | 449F5930.5070108@selectacast.net обсуждение исходный текст |
| Ответ на | Re: Idea for vacuuming (Greg Stark <gsstark@mit.edu>) |
| Список | pgsql-general |
The verbose output shows the table being vacuumed last. Maybe it changed after 8.0 Greg Stark wrote: > Jim Nasby <decibel@decibel.org> writes: > >>> My RFE: When vacuuming a table, pg should try to vacuum the primary key >>> first. If that results in 0 recovered entries, then assume the table has no >>> updates/deletes and skip the rest of that table. > > That makes no sense. Vacuum starts by scanning the table itself, not the > indexes. It only goes to the indexes after it has found tuples that need > cleaning up. There's nothing to look at in the indexes that would tell it > whether there are any tuples to clean up. >
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера