Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jlZHQ-00029L-82 for pgsql-general@arkaria.postgresql.org; Wed, 17 Jun 2020 14:43:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jlZHP-0004Xm-4j for pgsql-general@arkaria.postgresql.org; Wed, 17 Jun 2020 14:43:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jlZHO-0004Xf-T6 for pgsql-general@lists.postgresql.org; Wed, 17 Jun 2020 14:43:06 +0000 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5] helo=mx0a-001b2d01.pphosted.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jlZHH-0002vN-JI for pgsql-general@lists.postgresql.org; Wed, 17 Jun 2020 14:43:06 +0000 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 05HEcUNG041307 for ; Wed, 17 Jun 2020 10:42:57 -0400 Received: from smtp.notes.na.collabserv.com (smtp.notes.na.collabserv.com [192.155.248.67]) by mx0b-001b2d01.pphosted.com with ESMTP id 31q6hbsevp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 17 Jun 2020 10:42:57 -0400 Received: from localhost by smtp.notes.na.collabserv.com with smtp.notes.na.collabserv.com ESMTP for from ; Wed, 17 Jun 2020 14:42:56 -0000 Received: from us1a3-smtp05.a3.dal06.isc4sb.com (10.146.71.159) by smtp.notes.na.collabserv.com (10.106.227.16) with smtp.notes.na.collabserv.com ESMTP; Wed, 17 Jun 2020 14:42:52 -0000 Received: from us1a3-mail114.a3.dal06.isc4sb.com ([10.146.6.39]) by us1a3-smtp05.a3.dal06.isc4sb.com with ESMTP id 2020061714425019-592198 ; Wed, 17 Jun 2020 14:42:50 +0000 In-Reply-To: To: Andreas Joseph Krogh Cc: pgsql-general@lists.postgresql.org From: "Jim Hurne" Date: Wed, 17 Jun 2020 10:42:50 -0400 References: MIME-Version: 1.0 X-KeepSent: 3DF1DF08:87AFFCF7-8525858A:0050A459; type=4; name=$KeepSent X-Mailer: IBM Notes Build V1001FP3_08092019 August 09, 2019 X-LLNOutbound: False X-Disclaimed: 21891 X-TNEFEvaluated: 1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="US-ASCII" x-cbid: 20061714-7279-0000-0000-000002F95E71 X-IBM-SpamModules-Scores: BY=0; FL=0; FP=0; FZ=0; HX=0; KW=0; PH=0; SC=0.388783; ST=0; TS=0; UL=0; ISC=; MB=0.000250 X-IBM-SpamModules-Versions: BY=3.00013303; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000295; SDB=6.01392862; UDB=6.00745444; IPR=6.01175141; MB=3.00032594; MTD=3.00000008; XFM=3.00000015; UTC=2020-06-17 14:42:54 X-IBM-AV-DETECTION: SAVI=unsuspicious REMOTE=unsuspicious XFE=unused X-IBM-AV-VERSION: SAVI=2020-06-17 08:48:51 - 6.00011493 x-cbparentid: 20061714-7280-0000-0000-000086A062B1 Message-Id: Subject: Re: Sv: autovacuum failing on pg_largeobject and disk usage of the pg_largeobject growing unchecked X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216,18.0.687 definitions=2020-06-17_04:2020-06-17,2020-06-17 signatures=0 X-Proofpoint-Spam-Reason: orgsafe List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk > In my experience vacuumlo,=20 https://www.postgresql.org/docs/12/vacuumlo.html, is needed to remove=20 large objects, before vacuum can remove them from pg=5Flargeobject. Thanks for the suggestion! vacuumlo deletes any orphaned large objects,=20 presumably by using lo=5Funlink. While we don't use vacuumlo, our service=20 does clean up orphaned large objects in a similar way. And indeed,=20 inspecting the database reveals that there are no orphaned large objects. Regards, Jim Hurne