X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 647E8D1B4E8 for ; Tue, 28 Oct 2003 20:10:07 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 56184-02 for ; Tue, 28 Oct 2003 16:09:36 -0400 (AST) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by svr1.postgresql.org (Postfix) with ESMTP id B342ED1B4EB for ; Tue, 28 Oct 2003 16:09:16 -0400 (AST) Received: from [172.16.0.30] (h00105a0ba4ff.ne.client2.attbi.com[24.61.55.13]) by comcast.net (rwcrmhc12) with SMTP id <2003102820091701400or03ve>; Tue, 28 Oct 2003 20:09:17 +0000 Subject: BLOBs and alternatives From: "Kent L. Nasveschuk" To: Postgres-Admin list Content-Type: text/plain Organization: Message-Id: <1067370410.2626.24.camel@1134> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 28 Oct 2003 14:46:50 -0500 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/335 X-Sequence-Number: 10896 Hello, I am building a database for company employee info/records system. I just wanted to solicit some opinions on storage of images and documents. I'm using PG 7.3.4 on a Slackware 9 Linux system.I anticipate that the database will be at the bottom of a 3 tier design accessed through a web browser. The majority of data is structured data that fits nicely into standard data types. I do have a few things that should either be stored as BLOBs or separately in a file system. The entries in the database could reference attributes such as: absolute path relative path mime type or file type name IP address These are things such as scanned images, training certificates, licenses, diplomas,text docs, etc. What I was looking for is support for either way or if you have some other ideas. I've read opinions supporting both methods, I don't have experience in storage and retrieval of objects described above. Many thanks. -- Kent L. Nasveschuk