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 1fdDRR-0007gT-3W for pgsql-general@arkaria.postgresql.org; Wed, 11 Jul 2018 11:37:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fdDRN-0001vG-HZ for pgsql-general@arkaria.postgresql.org; Wed, 11 Jul 2018 11:37:49 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fdDRN-0001v9-8K for pgsql-general@lists.postgresql.org; Wed, 11 Jul 2018 11:37:49 +0000 Received: from sonic312-48.consmr.mail.gq1.yahoo.com ([98.137.69.230]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fdDRJ-0003Gv-CQ for pgsql-general@postgresql.org; Wed, 11 Jul 2018 11:37:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1531309061; bh=tbQs3Wc4Bv2VJsdh3QmhW/I/XiTX36cYKWfCo+jT6yw=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=JzVqBCKyxQ1yynco+ZaROPhxaRp8uZECQ9VqTyW43snw88GcEqrAE2DBzYFNlzJZBH5e/pd58uTxjkJIUXFkMm+al8AXCutlYD6TKTHJ+7sLHOzkpmHUndcZ6OFPKgMPMipwjo/LltXtK7YYJJZ38drZzvZqEfuk2xrZ8GlVH4gEqHLKWPCDD/vnzgqOqxrP3/FSjGucaGuBr5n6rOn3SmAIThmKyR8ngda+upp+wrfN2Vx/HHpkClPcAAPDFrcXgL0+VllbrbGVkYo+FluUYmGz6dLDF0DiG/eZwrPyRdQeSZ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SUY_J2Vs5uk8tpE21fXPQDM8bsnfhBo- Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Wed, 11 Jul 2018 11:37:41 +0000 Date: Wed, 11 Jul 2018 11:33:40 +0000 (UTC) From: Rijo Roy Reply-To: "rjo_roy@yahoo.com" To: "pgsql-general@postgresql.org" Message-ID: <1734155292.2575738.1531308820197@mail.yahoo.com> Subject: Extremely slow autovacuum:vacuum to prevent wraparound MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2575737_356455141.1531308820196" References: <1734155292.2575738.1531308820197.ref@mail.yahoo.com> 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: 2820 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_2575737_356455141.1531308820196 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Experts,=C2=A0 I am running a PG10.4 in a RHEL 6.9. The tables stored in my database are m= ainly used for reads and very less writes happen. I have recently joined th= is environment and as soon as I logged into the postgresql servers, checked= for dead tuples and relfrozenids.. And almost all have reached the autovac= uum_freeze_max_age of 2billion and autovacuum was disabled.. Last vacuum wa= s run 3 months back.=C2=A0Today I got permission to vacuum the tables but f= or 3 tables, Postgresql has already started the vacuum freeze using the aut= ovacuum daemon running to prevent wraparound and these tables have TB'S of = data.Experts, please confirm whether I can kill these sessions and run a ma= nual vacuum job with parallel jobs.=C2=A0 Thanks in advance.=C2=A0 Regards,=C2=A0Rijo Roy=C2=A0 Sent from Yahoo Mail on Android ------=_Part_2575737_356455141.1531308820196 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Experts, 

<= /div>
I am running a PG= 10.4 in a RHEL 6.9. The tables stored in my database are mainly used for re= ads and very less writes happen. I have recently joined this environment an= d as soon as I logged into the postgresql servers, checked for dead tuples = and relfrozenids.. And almost all have reached the autovacuum_freeze_max_ag= e of 2billion and autovacuum was disabled.. Last vacuum was run 3 months ba= ck. 
Today I= got permission to vacuum the tables but for 3 tables, Postgresql has alrea= dy started the vacuum freeze using the autovacuum daemon running to prevent= wraparound and these tables have TB'S of data.
Experts, please confirm whether I can kill t= hese sessions and run a manual vacuum job with parallel jobs. 

Thanks in advance. 

Regards, 
------=_Part_2575737_356455141.1531308820196--