Re: Handling of images via Postgressql

From: Bob Lunney <bob_lunney(at)yahoo(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Handling of images via Postgressql
Date: 2010-04-07 16:21:28
Message-ID: 333114.22026.qm@web39702.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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(dot)borse(at)direction(dot)biz> wrote:

From: Suresh Borse <s(dot)borse(at)direction(dot)biz>
Subject: [ADMIN] Handling of images via Postgressql
To: pgsql-admin(at)postgresql(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Timothy Madden 2010-04-07 16:52:14 Re: Database level encryption
Previous Message Kevin Grittner 2010-04-07 14:26:50 Re: Handling of images via Postgressql