Re: Database versus filesystem for storing images - Mailing list pgsql-general

From imageguy
Subject Re: Database versus filesystem for storing images
Date
Msg-id 1168009158.683178.268550@v33g2000cwv.googlegroups.com
Whole thread Raw
In response to Re: Database versus filesystem for storing images  (Scott Ribe <scott_ribe@killerbytes.com>)
List pgsql-general
Scott Ribe wrote:
> Personally, I'd put them on the file system, because then backup software
> can perform incremental backups. In the database, that becomes more of a
> difficulty. One suggestion, don't use a file name from a hash to store the
> image, just use the serial id, and break them up by hundreds or thousands,
> iow image 1123 might be in images/000/000001/000001123.
>
> --
> Scott Ribe
> scott_ribe@killerbytes.com
> http://www.killerbytes.com/
> (303) 722-0567 voice

I think I know the answer, but if you don't have an "application
server" - ie a webserver, etc, and many of the workstations/clients
that need access to the images but may not have access to a network
share, isn't the database the only choice ?

 - or is there a postgresql function/utility that will "server" the
file from the file system based on the reference/link embeded in the
database ??

Geoff.


pgsql-general by date:

Previous
From: "Andrus"
Date:
Subject: Re: Using duplicate foreign keys
Next
From: "goodepic"
Date:
Subject: Re: PyGreSQL Install