pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedSv: autovacuum failing on pg_largeobject and disk usage of the pg_largeobject growing unchecked
2+ messages / 2 participants
[nested] [flat]
* Sv: autovacuum failing on pg_largeobject and disk usage of the pg_largeobject growing unchecked
@ 2020-06-16 21:19 Andreas Joseph Krogh <andreas@visena.com>
2020-06-17 14:42 ` Re: Sv: autovacuum failing on pg_largeobject and disk usage of the pg_largeobject growing unchecked Jim Hurne <jhurne@us.ibm.com>
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Joseph Krogh @ 2020-06-16 21:19 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
På tirsdag 16. juni 2020 kl. 17:59:37, skrev Jim Hurne <jhurne@us.ibm.com
<mailto: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.
[...]
In my experience vacuumlo, https://www.postgresql.org/docs/12/vacuumlo.html
<https://www.postgresql.org/docs/12/vacuumlo.html;, is needed to remove large
objects, before vacuum can remove them from pg_largeobject.
--
Andreas Joseph Krogh
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Sv: autovacuum failing on pg_largeobject and disk usage of the pg_largeobject growing unchecked
2020-06-16 21:19 Sv: autovacuum failing on pg_largeobject and disk usage of the pg_largeobject growing unchecked Andreas Joseph Krogh <andreas@visena.com>
@ 2020-06-17 14:42 ` Jim Hurne <jhurne@us.ibm.com>
0 siblings, 0 replies; 2+ messages in thread
From: Jim Hurne @ 2020-06-17 14:42 UTC (permalink / raw)
To: Andreas Joseph Krogh <andreas@visena.com>; +Cc: pgsql-general@lists.postgresql.org
> 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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2020-06-17 14:42 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-06-16 21:19 Sv: autovacuum failing on pg_largeobject and disk usage of the pg_largeobject growing unchecked Andreas Joseph Krogh <andreas@visena.com>
2020-06-17 14:42 ` Jim Hurne <jhurne@us.ibm.com>
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