From: | Erik Wienhold <ewie(at)ewie(dot)name> |
---|---|
To: | oliver_schmidt_(at)hotmail(dot)de, pgsql-docs(at)lists(dot)postgresql(dot)org |
Subject: | Re: Further clarification in documentation: No deletion of unreferenced large objects |
Date: | 2023-06-12 15:47:49 |
Message-ID: | 411306699.367929.1686584869079@office.mailbox.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
> On 12/06/2023 15:48 CEST PG Doc comments form <noreply(at)postgresql(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | David G. Johnston | 2023-06-12 16:11:32 | Re: Further clarification in documentation: No deletion of unreferenced large objects |
Previous Message | Tom Lane | 2023-06-12 14:15:19 | Re: Sequence Dependency |