Re: Images storing techniques

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Images storing techniques
Дата
Msg-id 8d61f98e-b271-b817-db22-6875442e0def@enterprisedb.com
обсуждение исходный текст
Ответ на Images storing techniques  (Riccardo Gobbo <riccardo.gobbo.2@studenti.unipd.it>)
Список pgsql-hackers
On 29.03.23 23:29, Riccardo Gobbo wrote:
> Question: for better performance is it better to store images as BYTEA 
> or convert every image in base64 and store the generated string  (so in 
> html it's enough to insert the base64 string in the tag)?
> Converting an image in base64 would use a 30% more memory than storing 
> directly the image's bytes, but I don't know if working with characters 
> rather than bytes could have more prons than cons

Storing as bytea is better.




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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: running logical replication as the subscription owner
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Transparent column encryption