Re: pg_dump out of memory for large table with LOB

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_dump out of memory for large table with LOB
Дата
Msg-id 12179.1542228611@sss.pgh.pa.us
обсуждение исходный текст
Ответ на RE: pg_dump out of memory for large table with LOB  (Jean-Marc Lessard <Jean-Marc.Lessard@ultra-ft.com>)
Ответы RE: pg_dump out of memory for large table with LOB  (Jean-Marc Lessard <Jean-Marc.Lessard@ultra-ft.com>)
Список pgsql-general
Jean-Marc Lessard <Jean-Marc.Lessard@ultra-ft.com> writes:
> Would you recommend bytea over LOB considering that the max LOB size is well bellow 1GB?

Yes, probably.  The reason that pg_dump has trouble with lots of small
BLOBs is the 9.0-era decision to treat BLOBs as independent objects
having their own owners, privilege attributes, and archive TOC entries
--- it's really the per-BLOB TOC entries that are causing the issue
for you here.  That model is fine as long as BLOBs are, uh, large.
If you're using them as replacements for bytea, the overhead is going
to be prohibitive.

            regards, tom lane


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

Предыдущее
От: Nicolas Paris
Дата:
Сообщение: Re: Default Privilege Table ANY ROLE
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Default Privilege Table ANY ROLE