Are there any known guidelines regarding storing images in a bytea
column vs simply storing the meta-data?
Do the images take up a certain percentage more space due to the on-
disk format when stored this way?
jws wrote:
> Do the images take up a certain percentage more space due to the on-
> disk format when stored this way?
Bytes are pretty much stored just as bytes, with four bytes of overhead
for the length field. Larger values (> 2kB) are stored out of line, so
there really shouldn't be much concern about storing the image data in
the database. It's probably more of a question what makes your
processing easier.
--
Peter Eisentraut
http://developer.postgresql.org/~petere/
Есть вопросы? Напишите нам!
✖
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера