Re: Invulnerable VACUUM process thrashing everything
В списке pgsql-performance по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Invulnerable VACUUM process thrashing everything |
| Дата | |
| Msg-id | 7577.1135911781@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Invulnerable VACUUM process thrashing everything (Russ Garrett <russ@garrett.co.uk>) |
| Список | pgsql-performance |
Russ Garrett <russ@garrett.co.uk> writes:
> VACUUM *will* respond to a SIGTERM, but it doesn't check very often -
> I've often had to wait hours for it to determine that it's been killed,
> and my tables aren't anywhere near 1TB. Maybe this is a place where
> things could be improved...
Hmm, there are CHECK_FOR_INTERRUPTS calls in all the loops that seem
significant to me. Is there anything odd about your database schema?
Unusual index types or data types maybe? Also, what PG version are
you using?
If you notice a VACUUM not responding to SIGTERM promptly, it'd be
useful to attach to the backend process with gdb and get a stack trace
to find out what it's doing.
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера