pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bob Lunney <bob_lunney@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: Re: Handling of images via Postgressql
Date: Wed, 7 Apr 2010 09:21:28 -0700 (PDT)
Message-ID: <333114.22026.qm@web39702.mail.mud.yahoo.com> (raw)
In-Reply-To: <1270644614.2390.44.camel@dss-052.dsslp.com>

Suresh,
The real question is:  does manipulation of the images have to be transactional?  If so, store them in the database.  If not, store the images in the file system and put the file name in the database, thereby avoiding unecessary WAL overhead.
Bob Lunney

--- On Wed, 4/7/10, Suresh Borse <s.borse@direction.biz> wrote:

From: Suresh Borse <s.borse@direction.biz>
Subject: [ADMIN] Handling of images via Postgressql
To: pgsql-admin@postgresql.org
Date: Wednesday, April 7, 2010, 8:50 AM




  
  

 




How does PostGreSQL perform in case we have to store and use huge no of images:



 Eg 4000 – 10000 images, each approx 2 MB size.



 



The Questions that we have are:



How do we handle such huge no of images so that the application does not slow down?



How does PostGreSQL use caching? In case of images does it cache?



Do you suggest having the images in a different database by itself?







Regards,



Suresh
 




      

view thread (6+ messages)  latest in thread

Message-ID: <333114.22026.qm@web39702.mail.mud.yahoo.com>
Permalink:  ../333114.22026.qm@web39702.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/333114.22026.qm@web39702.mail.mud.yahoo.com

 · 

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-admin@postgresql.org
  Cc: bob_lunney@yahoo.com
  Subject: Re: Handling of images via Postgressql
  In-Reply-To: <333114.22026.qm@web39702.mail.mud.yahoo.com>

* 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