Re: Storing binary data.

Поиск
Список
Период
Сортировка
От Shridhar Daithankar
Тема Re: Storing binary data.
Дата
Msg-id 200408112042.50356.shridhar@frodo.hserus.net
обсуждение исходный текст
Ответ на Storing binary data.  (Jesper Krogh <jesper@krogh.cc>)
Список pgsql-performance
On Wednesday 11 Aug 2004 7:59 pm, Jesper Krogh wrote:
> The "common" solution, I guess would be to store them in the filesystem
> instead, but I like to have them just in the database it is nice clean
> database and application design and if I can get PostgreSQL to "not
> cache" them then it should be excactly as fast i assume.

You can normalize them so that a table contains an id and a bytea column only.
Te main table will contain all the other attributes and a mapping id. That
way you will have only the main table cached.

You don't have to go to filesystem for this, I hope.

HTH

 Shridhar

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

Предыдущее
От: Jesper Krogh
Дата:
Сообщение: Storing binary data.
Следующее
От: Sanjay Arora
Дата:
Сообщение: Re: Hardware upgrade for a high-traffic database