Re: Storage of Binary Data
| От | Andrew Sullivan |
|---|---|
| Тема | Re: Storage of Binary Data |
| Дата | |
| Msg-id | 20060727180329.GF27075@phlogiston.dyndns.org обсуждение исходный текст |
| Ответ на | Storage of Binary Data ("Aaron Bono" <postgresql@aranya.com>) |
| Список | pgsql-sql |
> For my web projects, we have been storing binary data (like images, PDF's, > etc) on the hard drive of the web server instead of the database. Within > the database, we keep information, like whether an image is present, in a > separate column. In most cases, this is probably the best approach. It has the problem that COMMITs of this data aren't atomic (the file write could succeed and the database write fail, for example). But that can usually be worked around, and at least you're not bulking your database with binaries. A -- Andrew Sullivan | ajs@crankycanuck.ca This work was visionary and imaginative, and goes to show that visionary and imaginative work need not end up well. --Dennis Ritchie
В списке pgsql-sql по дате отправления: