pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Erik Wienhold <ewie@ewie.name>
To: oliver_schmidt_@hotmail.de
To: pgsql-docs@lists.postgresql.org
Subject: Re: Further clarification in documentation: No deletion of unreferenced large objects
Date: Mon, 12 Jun 2023 17:47:49 +0200 (CEST)
Message-ID: <411306699.367929.1686584869079@office.mailbox.org> (raw)
In-Reply-To: <168657770315.399156.14528203301769250174@wrigleys.postgresql.org>
References: <168657770315.399156.14528203301769250174@wrigleys.postgresql.org>

> On 12/06/2023 15:48 CEST PG Doc comments form <noreply@postgresql.org> wrote:
>
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/15/datatype-binary.html
> Description:
>
> When deleting a row that references (contains) a large object, I think that
> most users expect the DBMS to take care of the, now unreferenced, BLOB. It's
> good to know that PostgreSQL handles this differently and that one must
> periodically use vacuumlo to avoid BLOB data piling up. At least, that's
> what I understood.
>
> I think a small paragraph in the documentation about this would help many
> people. I can help with writing, if needed.

bytea and large objects are two different ways of storing binary data.  vacuumlo
does not apply to bytea.  Extension lo also mentions the issue with orphan
objects already: https://www.postgresql.org/docs/15/lo.html

Some further info on bytea vs large objects:
https://www.cybertec-postgresql.com/en/binary-data-performance-in-postgresql/

--
Erik





view thread (6+ messages)  latest in thread

Message-ID: <411306699.367929.1686584869079@office.mailbox.org>
Permalink:  ../411306699.367929.1686584869079@office.mailbox.org/
Also on:    postgresql.org/message-id/411306699.367929.1686584869079@office.mailbox.org

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: ewie@ewie.name, oliver_schmidt_@hotmail.de, pgsql-docs@lists.postgresql.org
  Subject: Re: Further clarification in documentation: No deletion of unreferenced large objects
  In-Reply-To: <411306699.367929.1686584869079@office.mailbox.org>

* 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