| От | Bossart, Nathan |
|---|---|
| Тема | Re: do only critical work during single-user vacuum? |
| Дата | |
| Msg-id | C56B730E-3E2F-4FF3-B762-72AF77848D65@amazon.com обсуждение |
| Ответ на | Re: do only critical work during single-user vacuum? (Peter Geoghegan <pg@bowt.ie>) |
| Список | pgsql-hackers |
On 12/9/21, 12:33 PM, "Bossart, Nathan" <bossartn@amazon.com> wrote: > On 12/9/21, 11:34 AM, "John Naylor" <john.naylor@enterprisedb.com> wrote: >> Now that we have a concept of a fail-safe vacuum, maybe it would be >> beneficial to skip a vacuum in single-user mode if the fail-safe >> criteria were not met at the beginning of vacuuming a relation. This >> is not without risk, of course, but it should be much faster than >> today and once up and running the admin would have a chance to get a >> handle on things. Thoughts? > > Would the --min-xid-age and --no-index-cleanup vacuumdb options help > with this? Sorry, I'm not sure what I was thinking. Of coure you cannot use vacuumdb in single-user mode. But I think something like --min-xid-age in VACUUM is what you are looking for. Nathan
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера