| От | 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
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера