Re: Storing many big files in database- should I do it?

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Cc: Anthony <osm(at)inbox(dot)org>, Cédric Villemain <cedric(dot)villemain(dot)debian(at)gmail(dot)com>, Rod <cckramer(at)gmail(dot)com>
Subject: Re: Storing many big files in database- should I do it?
Date: 2010-04-28 02:32:38
Message-ID: 201004271932.38494.adrian.klaver@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tuesday 27 April 2010 5:45:43 pm Anthony wrote:
> On Tue, Apr 27, 2010 at 5:17 AM, Cédric Villemain <
>
> cedric(dot)villemain(dot)debian(at)gmail(dot)com> wrote:
> > store your files in a filesystem, and keep the path to the file (plus
> > metadata, acl, etc...) in database.
>
> What type of filesystem is good for this? A filesystem with support for
> storing tens of thousands of files in a single directory, or should one
> play the 41/56/34/41563489.ext game?
>
> Are there any open source systems which handle keeping a filesystem and
> database in sync for this purpose, or is it a wheel that keeps getting
> reinvented?
>
> I know "store your files in a filesystem" is the best long-term solution.
> But it's just so much easier to just throw everything in the database.

In the for what it is worth department check out this Wiki:
http://sourceforge.net/apps/mediawiki/fuse/index.php?title=DatabaseFileSystems

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chris Velevitch 2010-04-28 03:10:38 Is the wiki down?
Previous Message Bryan Murphy 2010-04-28 01:33:09 Re: Postgresql on EC2/EBS in production?