Re: not really SQL but I need info on BLOBs

From: Denis Braekhus <denis(at)startsiden(dot)no>
To: Theodore Petrosky <tedpet5(at)yahoo(dot)com>, pgsql-sql(at)postgresql(dot)org
Subject: Re: not really SQL but I need info on BLOBs
Date: 2004-05-09 12:43:52
Message-ID: 409E2788.6090706@startsiden.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Theodore Petrosky wrote:
| I am working on a project where the IT department is
| pushing really hard to have all the images in the db.
| I don't know what the agenda is. I am hopeful to come
| up with reasons either why this is good or not good.

We have never used BLOB support for images, however one additional
feature of using BLOBs vs files on a disk would be having easier setup
if multiple servers/clients need to access those images.
In the case of using a filesystem you would either have to provide
access to the images over a network filesystem or replication, whereas
using the DB for storage does not require anything more than access to
the DB..

We are using filesystem replication for situations like this (multiple
webservers needing access to exactly the same images), however there are
multiple other options for this situation. Of course needing to do
editing on the images aswell provides additional hurdles.

Bottom line seems to me to be that if this is all to be located on one
server there is no good reason to not use filesystem storage for images,
whereas if you need multiple servers and generally a more complex setup
you should weigh the pros to the cons..

Regards
- --
Denis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-nr2 (Windows XP)

iD8DBQFAnieIvsCA6eRGOOARAiwYAKCeaMfnq35nGoQRixKAsec/+k4kwwCdHy91
EyIqpTqWbZimUFdOjaFdpbI=
=Uzfm
-----END PGP SIGNATURE-----

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Alvaro Herrera 2004-05-09 16:09:49 Re: Adding MERGE to the TODO list (resend with subject)
Previous Message Christopher Kings-Lynne 2004-05-09 05:32:58 Re: Adding MERGE to the TODO list (resend with subject)