| От | Matthew T. O'Connor |
|---|---|
| Тема | Re: AutoVacuum on demand? |
| Дата | |
| Msg-id | 4558AEC1.9010104@zeut.net обсуждение исходный текст |
| Ответ на | AutoVacuum on demand? (Glen Parker <glenebob@nwlink.com>) |
| Ответы |
Re: AutoVacuum on demand?
|
| Список | pgsql-general |
Glen Parker wrote: > I would like a way to run the autovacuum daemon on demand > periodically. Every night at 2 AM, for example. > > Anybody know if this is possible? If not, it's a feature request :-) Autovacuum can be enabled / disabled on the fly using the GUC settings. Perhaps you can write a cron script that runs at 2AM that enables autovac, and at 6AM (just a guess) disables it in the same fashion. I think that should work. Would be curious to hear your results. Matt
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера