| От | Tom Lane |
|---|---|
| Тема | Re: VACUUMs take twice as long across all nodes |
| Дата | |
| Msg-id | 20196.1161874041@sss.pgh.pa.us обсуждение |
| Ответ на | VACUUMs take twice as long across all nodes (Gavin Hamill <gdh@laterooms.com>) |
| Ответы |
Re: VACUUMs take twice as long across all nodes
|
| Список | pgsql-performance |
Gavin Hamill <gdh@laterooms.com> writes:
> Nodes 2 and 3 take only the tables necessary to run our search (10 out
> of the full 130) and are much lighter (only 7GB on disk cf. 30GB for
> the full master) , yet the nightly VACUUM FULL has jumped from 2 hours
> to 4 in the space of one day!
I guess the most useful question to ask is "why are you doing VACUUM FULL?"
Plain VACUUM should be considerably faster, and for the level of row
turnover shown by your log, there doesn't seem to be a reason to use FULL.
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера