RE: Extremely slow autovacuum:vacuum to prevent wraparound - Mailing list pgsql-general

From Steven Winfield
Subject RE: Extremely slow autovacuum:vacuum to prevent wraparound
Date
Msg-id E9FA92C2921F31408041863B74EE4C2001AF005C26@CCPMAILDAG03.cantab.local
Whole thread Raw
In response to RE: Extremely slow autovacuum:vacuum to prevent wraparound  (Rijo Roy <rjo_roy@yahoo.com>)
Responses RE: Extremely slow autovacuum:vacuum to prevent wraparound
List 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 by date:

Previous
From: Rijo Roy
Date:
Subject: RE: Extremely slow autovacuum:vacuum to prevent wraparound
Next
From: Rijo Roy
Date:
Subject: RE: Extremely slow autovacuum:vacuum to prevent wraparound