Re: Skip index cleanup if autovacuum did not do any work
От | Peter Geoghegan |
---|---|
Тема | Re: Skip index cleanup if autovacuum did not do any work |
Дата | |
Msg-id | CAH2-Wz=G3xnjcVVkQuWzzQjtBCL2D1TJjL0cbt-cDwnCAU7mfg@mail.gmail.com обсуждение исходный текст |
Ответ на | Skip index cleanup if autovacuum did not do any work (Feike Steenbergen <feikesteenbergen@gmail.com>) |
Ответы |
Re: Skip index cleanup if autovacuum did not do any work
|
Список | pgsql-hackers |
On Tue, Nov 28, 2017 at 1:36 PM, Feike Steenbergen <feikesteenbergen@gmail.com> wrote: > On a server with a very frequent xid wraparound I can see that the > anti-wraparound vacuum is finished very quickly with the heap, yet it still > scans all the indexes, which causes it to still have to read a lot of data, > which takes a considerable amount of time. BTW, a good short term solution for you might be to change the vacuum cost delay settings. They're pretty conservative by default. There is a good chance that your indexes are mostly in memory even on large tables, and B-Tree indexes are read sequentially during VACUUM. Often, autovacuum runs at a much slower rate than is actually possible, which isn't necessarily the right trade-off. -- Peter Geoghegan
В списке pgsql-hackers по дате отправления: