pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Karsten Hilbert <Karsten.Hilbert@gmx.net>
To: pgsql-sql@postgresql.org
Subject: Re: column type for pdf file
Date: Thu, 19 May 2011 15:53:31 +0200
Message-ID: <20110519135331.GI2381@hermes.hilbert.loc> (raw)
In-Reply-To: <4DD51DAA.4010706@encs.concordia.ca>
References: <4DD42A1C.30202@encs.concordia.ca>
	<4DD4301F.4010403@ulb.ac.be>
	<20110518210041.GF2498@hermes.hilbert.loc>
	<4DD43867.2040709@ulb.ac.be>
	<4DD47D28.3070207@postnewspapers.com.au>
	<4DD4B1EB.50202@techbaza.pl>
	<4DD51DAA.4010706@encs.concordia.ca>

On Thu, May 19, 2011 at 09:39:54AM -0400, Emi Lu wrote:

> All right, it seems that everyone thinks saving a pdf into postgresql
> is not a good idea.

No.

> As a summary, disadvantages are:
> ==================================
> . Memory issue when read/save/retrieve the file
> . Increase load

Those can be a consideration, yes.

> . Consume connections

You will need a connection to the database anyway. There's
no need to use another one.

> . during transaction lo may be lost?

Huh ?

> . file systems do better than DB

That's not a fact but rather an assertion. And a partial one
at that.

You may want to search the archives a bit as this has been
discussed at length various times.

Karsten
-- 
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346



view thread (14+ messages)  latest in thread

Message-ID: <20110519135331.GI2381@hermes.hilbert.loc>
Permalink:  ../20110519135331.GI2381@hermes.hilbert.loc/
Also on:    postgresql.org/message-id/20110519135331.GI2381@hermes.hilbert.loc

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: Karsten.Hilbert@gmx.net
  Subject: Re: column type for pdf file
  In-Reply-To: <20110519135331.GI2381@hermes.hilbert.loc>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox