Re: To BLOB Or Not To BLOB

From: Lincoln Yeoh <lylyeoh(at)mecomb(dot)com>
To: "John Henderson" <jrh(at)is(dot)com(dot)fj>, "Frank Joerdens" <frank(at)joerdens(dot)de>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: To BLOB Or Not To BLOB
Date: 2000-04-17 01:40:47
Message-ID: 3.0.5.32.20000417094047.008e4100@pop.mecomb.po.my
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Well I'm currently using the file system for large files. However because
of that I can see a few reasons why people might want to use Postgresql to
handle them. Others can probably mention more.

Using Pg to handle large stuff makes more consistent overall and it's
easier for you to handle exceptions - e.g. if things fail the whole thing
is rolled back, and you theoretically don't get the large files dangling
around. Well ok you probably do until the next vacuum, but at least you
don't have to write your own vacuum to handle that ;). Basically you shift
the problem to Pg (and the very fine developers :) ).

The reasons I decided to go file system were:
1) I'm using Linux and ext2fs has a 2GB limit on files, and it seems like
6.5.3 tables are stored as single files, so better not go down that path :).
2) I'm using Perl, DBI etc and a brief look at BLOB handling put me off.
Maybe it was unwarranted, but given 1) I decided to call the whole thing off.

Cheerio,

Link.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ing. Roberto Andrade Fonseca 2000-04-17 02:31:38 Re: To BLOB Or Not To BLOB (fwd)
Previous Message Lincoln Yeoh 2000-04-17 01:14:42 Re: Postgresqlism & Vacuum?