Possible to trigger autovacuum?

Поиск
Список
Период
Сортировка
От Chris Cleveland
Тема Possible to trigger autovacuum?
Дата
Msg-id CABSN6VfgfrECprJQSs0=qhaJd1usXQtQMOz_AGd-UVaGXJFQNw@mail.gmail.com
обсуждение исходный текст
Ответы Re: Possible to trigger autovacuum?  (Michael Paquier <michael@paquier.xyz>)
Re: Possible to trigger autovacuum?  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-hackers
Is it possible to launch an autovacuum from within an extension?

I'm developing an index access method. After the index gets built it needs some cleanup and optimization. I'd prefer to do this in the amvacuumcleanup() method so it can happen periodically and asynchronously.

I could fire up a background worker to do the job, but it would be a lot simpler to call please_launch_autovacuum_right_now();


--
Chris Cleveland
312-339-2677 mobile

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Patch: Add parse_type Function
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Optimize planner memory consumption for huge arrays