Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fdFso-0007yX-0U for pgsql-general@arkaria.postgresql.org; Wed, 11 Jul 2018 14:14:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fdFsm-00058O-FT for pgsql-general@arkaria.postgresql.org; Wed, 11 Jul 2018 14:14:16 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fdFsl-00058E-NW for pgsql-general@lists.postgresql.org; Wed, 11 Jul 2018 14:14:16 +0000 Received: from sonic307-9.consmr.mail.gq1.yahoo.com ([98.137.64.33]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fdFsi-0003zN-Ow for pgsql-general@postgresql.org; Wed, 11 Jul 2018 14:14:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1531318451; bh=qSa10cIFvfXnrS/ZzcVVckKmMLeE4YHxtQvAZcE+3zg=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=bTUTbCZJSdTXr63TX4pHx2nSPhtkvXBMY1Gz8BRuxjAsXfB8mf6raICoMVng55nwjFgQ1So4suBRj9/148g4OfPgRjdeSquyhnszPx584td5DH3exFIweDBmy84NjgZUJo9qSxpuWmHgZs4Ooyp/ahxxZ6QWY9QuXX484KM+4SDfNrXUZPM2fEzk+WVytRmQHNC0XEAFw/BzKtlPm6XiRs0wYliycUeIZu3GlizBQJ5rSAABVOXMQlfvgYHyMIgq47/8GxKZvdGlKpzJSImHH+LWFxWlM7VVZVPf3FURoe1LCYI8oAQl1c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1bEf2xbKPTnbDkKSsam.p159AgQ- Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.gq1.yahoo.com with HTTP; Wed, 11 Jul 2018 14:14:11 +0000 Date: Wed, 11 Jul 2018 14:14:07 +0000 (UTC) From: Rijo Roy Reply-To: "rjo_roy@yahoo.com" To: "Steven.Winfield@cantabcapital.com" Cc: "pgsql-general@postgresql.org" Message-ID: <1220344312.2644715.1531318447222@mail.yahoo.com> In-Reply-To: References: <1734155292.2575738.1531308820197.ref@mail.yahoo.com> <1734155292.2575738.1531308820197@mail.yahoo.com> <1621332282.2589089.1531311193173@mail.yahoo.com> <10E91BD1-F97E-4FB4-AB8D-AE90702CC033@yahoo.com> <2065966308.2618660.1531315814396@mail.yahoo.com> Subject: RE: Extremely slow autovacuum:vacuum to prevent wraparound MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2644714_1356098728.1531318447219" X-Mailer: WebService/1.1.12062 YahooMailAndroidMobile YMobile/1.0 (com.yahoo.mobile.client.android.mail/5.28.3; Android/8.0.0; HUAWEIDUK-L09; HWDUK; HUAWEI; DUK-L09; 4.02; 1768x1080;) Content-Length: 11159 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_2644714_1356098728.1531318447219 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Steve,=C2=A0 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.=C2= =A0I just wanted to confirm whether there would be any impact if I cancel o= r terminate the backend for the existing autovacuum :vacuum table_name (to = prevent wraparound). I have initiated a normal vacuum manually but it is st= uck on the table where the autovacuum is processing it.=C2=A0 Thanks,=C2=A0Rijo Roy=C2=A0 Sent from Yahoo Mail on Android=20 =20 On Wed, 11 Jul 2018 at 7:30 pm, Steven Winfield wrote: #yiv7029743585 #yiv7029743585 -- _filtered #yiv702974358= 5 {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-deco= ration:underline;}#yiv7029743585 a:visited, #yiv7029743585 span.yiv70297435= 85MsoHyperlinkFollowed {color:purple;text-decoration:underline;}#yiv7029743= 585 span.yiv7029743585EmailStyle17 {color:#1F497D;}#yiv7029743585 .yiv70297= 43585MsoChpDefault {} _filtered #yiv7029743585 {margin:72.0pt 72.0pt 72.0pt= 72.0pt;}#yiv7029743585 div.yiv7029743585WordSection1 {}#yiv7029743585=20 =C2=A0 =20 =20 =20 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 =20 =C2=A0 =20 No, I have=C2=A0 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.=C2=A0 =20 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 au= tivacuum sessions which is running since 5 days and extremely slow and just= run a manual vacuum against these tables instead.=C2=A0=20 =C2=A0 =20 =C2=A0 =20 Is your autovacuum_freeze_max_age really set to 2 billion? The default valu= e is 200 million. Setting it that high and disabling autovacuum isn=E2=80= =99t just silly - it borders on sabotage! =20 I=E2=80=99ve used pg_cancel_backend() (NOT pg_terminate_backend()) on autov= acuum jobs before without issue. =20 =C2=A0 =20 Good luck! =20 =C2=A0 =20 Steve. =20 =C2=A0 =20 This email is confidential. If you are not the intended recipient, please= advise us immediately and delete this message. The registered name of Cant= ab- part of GAM Systematic is Cantab Capital Partners LLP. See - http://www= .gam.com/en/Legal/Email+disclosures+EU for further information on confident= iality, the risks of non-secure electronic communication, and certain discl= osures which we are required to make in accordance with applicable legislat= ion and regulations. If you cannot access this link, please notify us by re= ply message and we will send the contents to you. GAM Holding AG and its subsidiaries (Cantab =E2=80=93 GAM Systematic) will = collect and use information about you in the course of your interactions wi= th us. Full details about the data types we collect and what we use this fo= r 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 thi= s policy and check it from time to time for updates as it supplements this = notice =20 ------=_Part_2644714_1356098728.1531318447219 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Steve, 

Apologies, I misrea= d it as 2 billion, it is as you said set as 200 million which is the defaul= t 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 exis= ting autovacuum :vacuum table_name (to prevent wraparound). I have initiate= d a normal vacuum manually but it is stuck on the table where the autovacuu= m is processing it. 

Tha= nks, 
Rijo R= oy 

On Wed, 11 Jul 2018 at 7:30 pm, Steven Win= field
<Steven.Winfield@cantabcapital.com> wrote:

&nbs= p;

=20

=20

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<= /span>

=20

 

=20

No, I have  3 sessions of autovacu= um against 3 tables which is doing a Vacuum to prevent wraparound as it hit= the limit of autovacuum_freeze_max_age of 2 billion. 

=20

I also have a vaccumdb= session which is invoked by me on these tables which is currently in pause= d state. So, I want to know whether I can kill the autivacuum sessions whic= h is running since 5 days and extremely slow and just run a manual vacuum against these tables instead. 
=20

&nbs= p;

=20

&nbs= p;

=20

Is yo= ur autovacuum_freeze_max_age really set to 2 billion? The default value is = 200 million. Setting it that high and disabling autovacuum isn=E2=80=99t ju= st silly - it borders on sabotage!

=20

I=E2= =80=99ve used pg_cancel_backend() (NOT pg_terminate_backend()) on autovacuu= m jobs before without issue.

=20

&nbs= p;

=20

Good = luck!

=20

&nbs= p;

=20

Steve= .

=20

&nbs= p;

=20


This em= ail is confidential. If you are not the intended recipient, please advise u= s 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 f= urther information on confidentiality, the risks of non-secure electronic c= ommunication, and certain disclosures which we are required to make in acco= rdance with applicable legislation and regulations. If you cannot access th= is link, please notify us by reply message and we will send the contents to= you.

GAM Holding AG and its subsidiar= ies (Cantab =E2=80=93 GAM Systematic) will collect and use information abou= t you in the course of your interactions with us. Full details about the da= ta 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 th= is notice

------=_Part_2644714_1356098728.1531318447219--