Re: column type for pdf file - Mailing list pgsql-sql

From Julien Cigar
Subject Re: column type for pdf file
Date
Msg-id 4DD43867.2040709@ulb.ac.be
Whole thread Raw
In response to Re: column type for pdf file  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
Responses Re: column type for pdf file
Re: column type for pdf file
List 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


Attachment

pgsql-sql by date:

Previous
From: Karsten Hilbert
Date:
Subject: Re: column type for pdf file
Next
From: Karsten Hilbert
Date:
Subject: Re: column type for pdf file