RE: Extremely slow autovacuum:vacuum to prevent wraparound

Поиск
Список
Период
Сортировка
От Steven Winfield
Тема RE: Extremely slow autovacuum:vacuum to prevent wraparound
Дата
Msg-id E9FA92C2921F31408041863B74EE4C2001AF005C26@CCPMAILDAG03.cantab.local
обсуждение исходный текст
Ответ на RE: Extremely slow autovacuum:vacuum to prevent wraparound  (Rijo Roy <rjo_roy@yahoo.com>)
Ответы RE: Extremely slow autovacuum:vacuum to prevent wraparound
Список pgsql-general

From: Rijo Roy [mailto:rjo_roy@yahoo.com]
Sent: 11 July 2018 15:14
To: Steven Winfield
Cc: pgsql-general@postgresql.org
Subject: RE: Extremely slow autovacuum:vacuum to prevent wraparound

 

Hi Steve, 

 

Apologies, I misread it as 2 billion, it is as you said set as 200 million which is the default value for the parameter autovacuum_freeze_max_age. 

I just wanted to confirm whether there would be any impact if I cancel or terminate the backend for the existing autovacuum :vacuum table_name (to prevent wraparound). I have initiated a normal vacuum manually but it is stuck on the table where the autovacuum is processing it. 

 

Thanks, 

Rijo Roy

 

 

Stack Overflow confirms my memories about killing autovacuum - pg_cancel_backend() should be fine.

https://stackoverflow.com/questions/18048842/danger-in-killing-autovacuum-vacuum-queries-to-prevent-wraparound

 

Steve.

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

Предыдущее
От: Rijo Roy
Дата:
Сообщение: RE: Extremely slow autovacuum:vacuum to prevent wraparound
Следующее
От: Rijo Roy
Дата:
Сообщение: RE: Extremely slow autovacuum:vacuum to prevent wraparound