pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim Hurne <jhurne@us.ibm.com>
To: Andreas Joseph Krogh <andreas@visena.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re:  Sv: autovacuum failing on pg_largeobject and disk usage of the pg_largeobject growing unchecked
Date: Wed, 17 Jun 2020 10:42:50 -0400
Message-ID: <OF3DF1DF08.87AFFCF7-ON8525858A.0050A459-8525858A.0050D38F@notes.na.collabserv.com> (raw)
In-Reply-To: <VisenaEmail.74.9d4616d0a8a39a38.172befd99f2@tc7-visena>
References: <OF3946AD2A.26D4644F-ON85258589.005766BA-85258589.0057DB01@notes.na.collabserv.com>
	<VisenaEmail.74.9d4616d0a8a39a38.172befd99f2@tc7-visena>

> In my experience vacuumlo, 
https://www.postgresql.org/docs/12/vacuumlo.html,  is needed to remove 
large objects, before vacuum can remove them from pg_largeobject.

Thanks for the suggestion! vacuumlo deletes any orphaned large objects, 
presumably by using lo_unlink. While we don't use vacuumlo, our service 
does clean up orphaned large objects in a similar way. And indeed, 
inspecting the database reveals that there are no orphaned large objects.

Regards,

Jim Hurne






view thread (2+ messages)

Message-ID: <OF3DF1DF08.87AFFCF7-ON8525858A.0050A459-8525858A.0050D38F@notes.na.collabserv.com>
Permalink:  ../OF3DF1DF08.87AFFCF7-ON8525858A.0050A459-8525858A.0050D38F@notes.na.collabserv.com/
Also on:    postgresql.org/message-id/OF3DF1DF08.87AFFCF7-ON8525858A.0050A459-8525858A.0050D38F@notes.na.collabserv.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: jhurne@us.ibm.com, andreas@visena.com
  Subject: Re: autovacuum failing on pg_largeobject and disk usage of the pg_largeobject growing unchecked
  In-Reply-To: <OF3DF1DF08.87AFFCF7-ON8525858A.0050A459-8525858A.0050D38F@notes.na.collabserv.com>
  References: <OF3946AD2A.26D4644F-ON85258589.005766BA-85258589.0057DB01@notes.na.collabserv.com> <VisenaEmail.74.9d4616d0a8a39a38.172befd99f2@tc7-visena> <OF3DF1DF08.87AFFCF7-ON8525858A.0050A459-8525858A.0050D38F@notes.na.collabserv.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