pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rijo Roy <rjo_roy@yahoo.com>
To: Steven.Winfield@cantabcapital.com <Steven.Winfield@cantabcapital.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: RE: Extremely slow autovacuum:vacuum to prevent wraparound
Date: Wed, 11 Jul 2018 14:14:07 +0000 (UTC)
Message-ID: <1220344312.2644715.1531318447222@mail.yahoo.com> (raw)
In-Reply-To: <E9FA92C2921F31408041863B74EE4C2001AF00585E@CCPMAILDAG03.cantab.local>
References: <1734155292.2575738.1531308820197.ref@mail.yahoo.com>
	<1734155292.2575738.1531308820197@mail.yahoo.com>
	<AB65F73C-ACFB-43DA-896F-C6F30AB7E27A@yahoo.com>
	<1621332282.2589089.1531311193173@mail.yahoo.com>
	<10E91BD1-F97E-4FB4-AB8D-AE90702CC033@yahoo.com>
	<2065966308.2618660.1531315814396@mail.yahoo.com>
	<E9FA92C2921F31408041863B74EE4C2001AF00585E@CCPMAILDAG03.cantab.local>

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 
Sent from Yahoo Mail on Android 
 
  On Wed, 11 Jul 2018 at 7:30 pm, Steven Winfield<Steven.Winfield@cantabcapital.com> wrote:   #yiv7029743585 #yiv7029743585 -- _filtered #yiv7029743585 {panose-1:2 2 6 9 4 2 5 8 3 4;} _filtered #yiv7029743585 {panose-1:2 2 6 9 4 2 5 8 3 4;} _filtered #yiv7029743585 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;} _filtered #yiv7029743585 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;} _filtered #yiv7029743585 {panose-1:2 2 6 9 4 2 5 8 3 4;}#yiv7029743585 #yiv7029743585 p.yiv7029743585MsoNormal, #yiv7029743585 li.yiv7029743585MsoNormal, #yiv7029743585 div.yiv7029743585MsoNormal {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:New;}#yiv7029743585 a:link, #yiv7029743585 span.yiv7029743585MsoHyperlink {color:blue;text-decoration:underline;}#yiv7029743585 a:visited, #yiv7029743585 span.yiv7029743585MsoHyperlinkFollowed {color:purple;text-decoration:underline;}#yiv7029743585 span.yiv7029743585EmailStyle17 {color:#1F497D;}#yiv7029743585 .yiv7029743585MsoChpDefault {} _filtered #yiv7029743585 {margin:72.0pt 72.0pt 72.0pt 72.0pt;}#yiv7029743585 div.yiv7029743585WordSection1 {}#yiv7029743585 
  
 
 
 
From: Rijo Roy [mailto:rjo_roy@yahoo.com]
Sent: 11 July 2018 14:30
To: srkrishna@yahoo.com
Cc: pgsql-general@postgresql.org
Subject: Re: Extremely slow autovacuum:vacuum to prevent wraparound
 
  
 
No, I have  3 sessions of autovacuum against 3 tables which is doing a Vacuum to prevent wraparound as it hit the limit of autovacuum_freeze_max_age of 2 billion. 
 

I also have a vaccumdb session which is invoked by me on these tables which is currently in paused state. So, I want to know whether I can kill the autivacuum sessions which is running since 5 days and extremely slow and just run a manual vacuum against these tables instead.  
  
 
  
 
Is your autovacuum_freeze_max_age really set to 2 billion? The default value is 200 million. Setting it that high and disabling autovacuum isn’t just silly - it borders on sabotage!
 
I’ve used pg_cancel_backend() (NOT pg_terminate_backend()) on autovacuum jobs before without issue.
 
  
 
Good luck!
 
  
 
Steve.
 
  
 
  This email is confidential. If you are not the intended recipient, please advise us immediately and delete this message. The registered name of Cantab- part of GAM Systematic is Cantab Capital Partners LLP. See - http://www.gam.com/en/Legal/Email+disclosures+EU for further information on confidentiality, the risks of non-secure electronic communication, and certain disclosures which we are required to make in accordance with applicable legislation and regulations. If you cannot access this link, please notify us by reply message and we will send the contents to you.

GAM Holding AG and its subsidiaries (Cantab – GAM Systematic) will collect and use information about you in the course of your interactions with us. Full details about the data types we collect and what we use this for and your related rights is set out in our online privacy policy at https://www.gam.com/en/legal/privacy-policy. Please familiarise yourself with this policy and check it from time to time for updates as it supplements this notice    

view thread (9+ messages)  latest in thread

Message-ID: <1220344312.2644715.1531318447222@mail.yahoo.com>
Permalink:  ../1220344312.2644715.1531318447222@mail.yahoo.com/
Also on:    postgresql.org/message-id/1220344312.2644715.1531318447222@mail.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: rjo_roy@yahoo.com, Steven.Winfield@cantabcapital.com
  Subject: Re: Extremely slow autovacuum:vacuum to prevent wraparound
  In-Reply-To: <1220344312.2644715.1531318447222@mail.yahoo.com>
  References: <1734155292.2575738.1531308820197.ref@mail.yahoo.com> <1734155292.2575738.1531308820197@mail.yahoo.com> <AB65F73C-ACFB-43DA-896F-C6F30AB7E27A@yahoo.com> <1621332282.2589089.1531311193173@mail.yahoo.com> <10E91BD1-F97E-4FB4-AB8D-AE90702CC033@yahoo.com> <2065966308.2618660.1531315814396@mail.yahoo.com> <E9FA92C2921F31408041863B74EE4C2001AF00585E@CCPMAILDAG03.cantab.local> <1220344312.2644715.1531318447222@mail.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox