| От | Julien Cigar |
|---|---|
| Тема | Re: column type for pdf file |
| Дата | |
| Msg-id | 4DD43867.2040709@ulb.ac.be обсуждение исходный текст |
| Ответ на | Re: column type for pdf file (Karsten Hilbert <Karsten.Hilbert@gmx.net>) |
| Ответы |
Re: column type for pdf file
Re: column type for pdf file |
| Список | pgsql-sql |
On 05/18/2011 23:00, Karsten Hilbert wrote: > On Wed, May 18, 2011 at 10:46:23PM +0200, Julien Cigar wrote: > >> Unless you've good reasons to do so it's best to store the file on >> the file system > Why ? > > If you suggest reasons are needed for storing the PDF in the > database I'd like to know the reasons for *not* doing so. > It increases the load, consume connections, but the biggest drawback is probably the memory consumption .. IMHO storing binary data in a database is almost always a bad idea .. it could be OK to store things like avatars, small icons, etc, but certainly not to store files of several MB ... file systems are done for that ! > Karsten
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера