Re: Database versus filesystem for storing images

From: "imageguy" <imageguy1206(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Database versus filesystem for storing images
Date: 2007-01-05 14:59:18
Message-ID: 1168009158.683178.268550@v33g2000cwv.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)killerbytes(dot)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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Fetter 2007-01-05 15:10:43 Re: [JDBC] PgSQL Monitoring( Please let me know the table details )
Previous Message Andrus 2007-01-05 13:35:07 Re: Using duplicate foreign keys