| От | Tom Lane |
|---|---|
| Тема | Re: Images in Database |
| Дата | |
| Msg-id | 10276.1080436583@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Images in Database ("Rod K" <rod@23net.net>) |
| Список | pgsql-novice |
"Rod K" <rod@23net.net> writes:
> I also don't understand what information you have that leads you to make the
> claim that space is wasted. I guess it is due to your assumption that a
> BLOB is used. A bytea type takes 4 extra bytes than the actual size of the
> data.
Even when using BLOBs, there's not very significant overhead ---
certainly much less than the overhead of putting a small image into a
file, which is probably going to occupy at least 1K on disk. I would
guess that the separate-files approach would be the most bulky of the
three choices.
regards, tom lane
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера