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 1jlIzf-0004sh-7t for pgsql-general@arkaria.postgresql.org; Tue, 16 Jun 2020 21:19:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jlIze-0007lM-4c for pgsql-general@arkaria.postgresql.org; Tue, 16 Jun 2020 21:19:42 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jlIzd-0007lF-RO for pgsql-general@lists.postgresql.org; Tue, 16 Jun 2020 21:19:41 +0000 Received: from post.visena.com ([46.226.10.50]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.92) (envelope-from ) id 1jlIzb-0002lK-Di for pgsql-general@lists.postgresql.org; Tue, 16 Jun 2020 21:19:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=visena.com; s=20141101.wh; h=Content-Type:MIME-Version:Subject:References:In-Reply-To:Message-ID:To:From:Date; bh=lJ2+37z/UPA26h6NXnAof7FlbNHA8FrC55IDlk7Izl8=; b=c5XlKSj+1b6vGwBn3lu40pC3b9cmpTzyG6zUw9tDnvIOJJyq1TxOAakmuwUS4KFYYY9sTA6LBqj2kgx2PomvOWv4yk2/wbFF9whdXfME5uruIi3NwUuo1eBubFB1o53PdX/waL0Nz63vHS2h1gh5vecg2rwYFgEBok7yz0TSaxA=; Received: from [10.0.1.10] (helo=tc7-visena.wh.internal.visena.com) by post.visena.com with esmtp (Exim 4.82) (envelope-from ) id 1jlIzY-0003KJ-Gz for pgsql-general@lists.postgresql.org; Tue, 16 Jun 2020 23:19:36 +0200 Received: from localhost ([127.0.0.1] helo=tc7-visena.wh.internal.visena.com) by tc7-visena.wh.internal.visena.com with esmtp (Exim 4.90_1) (envelope-from ) id 1jlIzY-00057y-FH for pgsql-general@lists.postgresql.org; Tue, 16 Jun 2020 23:19:36 +0200 Date: Tue, 16 Jun 2020 23:19:36 +0200 (CEST) From: Andreas Joseph Krogh To: pgsql-general@lists.postgresql.org Message-ID: In-Reply-To: References: Subject: Sv: autovacuum failing on pg_largeobject and disk usage of the pg_largeobject growing unchecked MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_540_315268922.1592342376331" X-Mailer: Visena Mail 2.2.326 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_540_315268922.1592342376331 Content-Type: multipart/related; boundary="----=_Part_541_927622972.1592342376331" ------=_Part_541_927622972.1592342376331 Content-Type: multipart/alternative; boundary="----=_Part_542_948833698.1592342376340" ------=_Part_542_948833698.1592342376340 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable P=C3=A5 tirsdag 16. juni 2020 kl. 17:59:37, skrev Jim Hurne >:=20 We have a cloud service that uses PostgreSQL to temporarily store binary content. We're using PostgreSQL's Large Objects to store the binary content. Each large object lives anywhere from a few hundred milliseconds to 5-10 minutes, after which it is deleted. [...]=20 In my experience vacuumlo, https://www.postgresql.org/docs/12/vacuumlo.html= =20 , is needed to remove lar= ge=20 objects, before vacuum can remove them from pg_largeobject.=20 -- Andreas Joseph Krogh=20 ------=_Part_542_948833698.1592342376340 Content-Type: text/html;charset=UTF-8 Content-Transfer-Encoding: quoted-printable
P=C3=A5 tirsdag 16. juni 2020 kl. 17:59:37, skrev Jim Hurne <jhurne@us.ibm.com>:
We = have a cloud service that uses PostgreSQL to temporarily store binary
content. We're using PostgreSQL's Large Objects to store the binary
content. Each large object lives anywhere from a few hundred milliseconds to 5-10 minutes, after which it is deleted.
[...]
=C2=A0
In my experience vacuumlo,=C2=A0https://www.postgresql.org/docs/12/vacuumlo.html= ,=C2=A0 is needed to remove large objects, before vacuum can remove them fr= om pg_largeobject.
=C2=A0
">
--
Andreas Joseph Krogh
------=_Part_542_948833698.1592342376340-- ------=_Part_541_927622972.1592342376331-- ------=_Part_540_315268922.1592342376331--