Re: [GENERAL] postgreSQL for storing a database of documents

From: Michael Davis <Michael(dot)Davis(at)tvguide(dot)com>
To: Mark Fleming <mfleming(at)coolbox(dot)bowiestate(dot)edu>
Cc: Pgsql-General(at)Postgresql(dot)Org
Subject: Re: [GENERAL] postgreSQL for storing a database of documents
Date: 1999-05-05 14:17:16
Message-ID: 199905051423.KAA75159@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Your e-mail did not arrive at its intended destination. You need to
send it to Michael J. Davis, not Michael Davis.

From: Mark Fleming <mfleming @ coolbox.bowiestate.edu> on 05/04/99
02:23 PM
To: pgsql-general @ postgreSQL(dot)org(at)SMTP@EXCHANGE
cc:
Subject: Re: [GENERAL] postgreSQL for storing a database of
documents

Ari Halberstadt wrote:

> Raphael Finkel <raphael(at)cs(dot)uky(dot)edu> wrote:
> >Is PostgreSQL appropriate for a database of documents? I see
several
> >potential problems.
> >
> >1. Tuples are limited to 8KB. I assume even the "text" type is
limited that
> >way. But my documents may be longer than that.
>
> This would pretty much nix the idea of using postgres for a
document
> repository. You'd need to split the data into separate rows in
another
> table. I've done this for my bulletin board (though most posts
should be
> less than 8K in my case), but I think it would be even more of a
hastle
> with documents. What you can do instead is store descriptive
information in
> the DB and store the actual documents in the file system with a
field in
> the document table containing the path to the file. A few years
ago I
> worked on a commercial document management program that stored
attributes
> in an Oracle database but kept the actual documents on disk.
>

That a good solution, but now that XML is starting to break off it
kinda puts
PostgreSQL users at a disadvantage. We have to have static XML
documents on on
disk in order to use the format and have external search engines to
search for
content in the documents. It is not that big of a headache, but is
an
inconvenience. I will be doing some work on XML soon for my job and
they are
going straight Oracle because they want to create "searchable" XML
documents on
the fly to post and distribute on the web. Very LARGE documents.
Like the legal
code for NYC and such. When Postgre starts using large objects it
is going to
make a lot of noise. Especially for "start-up" companies.

--
Mark Fleming Student ICQ# 16171200
e-mail: mtony(at)iname(dot)com
http://www.globaldrum.com/mfleming
http://coolbox.bowiestate.edu/~mfleming

Browse pgsql-general by date

  From Date Subject
Next Message Michael Davis 1999-05-05 14:20:08 Re: [GENERAL] postgreSQL for storing a database of documents
Previous Message Michael Davis 1999-05-05 14:15:41 Re: [GENERAL] advice on buying sun hardware to run postgres