| От | Hannes Erven |
|---|---|
| Тема | Re: Table Vacuum Taking a Long Time |
| Дата | |
| Msg-id | 533C30D8.5040704@erven.at обсуждение |
| Ответ на | Table Vacuum Taking a Long Time (Eliot Gable <egable+pgsql-general@gmail.com>) |
| Список | pgsql-general |
Hi Eliot,
> If I continue to run vacuum
> analyze on it, it continues to take about 90 seconds each time.
> [..]
> I was under the impression that if nothing had been done to the table
> since it was last vacuumed, that it would return immediately.
in addition to what others already said, I'd expect that by specifying
ANALYZE you are forcing PostgreSQL to do quite expensive additional work.
Is there a reason why you cannot (or do not want to) rely on
autovaccuum? Have you tried tuning the parameters?
Even if you must use manual VACUUMs, you can probably get away without
ANALZE.
Best regards,
-hannes
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера