Re: Further clarification in documentation: No deletion of unreferenced large objects

Поиск
Список
Период
Сортировка
От Erik Wienhold
Тема Re: Further clarification in documentation: No deletion of unreferenced large objects
Дата
Msg-id 411306699.367929.1686584869079@office.mailbox.org
обсуждение исходный текст
Ответ на Further clarification in documentation: No deletion of unreferenced large objects  (PG Doc comments form <noreply@postgresql.org>)
Список pgsql-docs
> 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



В списке pgsql-docs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Sequence Dependency
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Further clarification in documentation: No deletion of unreferenced large objects