| От | Tom Lane |
|---|---|
| Тема | Re: Storing many big files in database- should I do it? |
| Дата | |
| Msg-id | 17549.1272568691@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Storing many big files in database- should I do it? (Alvaro Herrera <alvherre@commandprompt.com>) |
| Ответы |
Re: Storing many big files in database- should I do it?
|
| Список | pgsql-general |
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Each toasted object also requires an OID, so you cannot have more than 4
> billion toasted attributes in a table.
> I've never seen this to be a problem in real life, but if you're talking
> about having that many large objects, then it will be a problem with
> toast too.
However, that toast limit is per-table, whereas the pg_largeobject limit
is per-database. So for example if you have a partitioned table then
the toast limit only applies per partition. With large objects you'd
fall over at 4G objects (probably quite a bit less in practice) no
matter what.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера