Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 52D08475ADE for ; Thu, 31 Oct 2002 14:14:03 -0500 (EST) Received: from mail.4dmatrix.com (mail.4dmatrix.com [208.248.151.248]) by postgresql.org (Postfix) with ESMTP id 9A11C4758BD for ; Thu, 31 Oct 2002 14:14:02 -0500 (EST) Received: from joshdesk2 (sonicwall.4dmatrix.com [208.248.151.201] (may be forged)) by mail.4dmatrix.com (8.9.3/8.9.3) with SMTP id LAA16365; Thu, 31 Oct 2002 11:03:10 -0800 Message-ID: <00c601c28111$9be99980$6e02a8c0@4dmatrix.com> From: "Josh Goldberg" To: "working4aliving" , References: Subject: Re: To Blob or Not to Blob? THAT is the question. Date: Thu, 31 Oct 2002 11:13:34 -0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00C3_01C280CE.8D9DC2E0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/324 X-Sequence-Number: 6182 This is a multi-part message in MIME format. ------=_NextPart_000_00C3_01C280CE.8D9DC2E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'm using blobs for ease of management in a high volume, distribuited conte= nt distribution system. My last version of the application used the filesy= stem to manage the content, and now that I've moved everything to the datab= ase my code (php, perl) is much more compact and easier to manage, which tr= anslates to better usability and ease of further development. ----- Original Message -----=20 From: working4aliving=20 To: pgsql-admin@postgresql.org=20 Sent: Thursday, October 31, 2002 5:17 AM Subject: [ADMIN] To Blob or Not to Blob? THAT is the question. I have a java app that (is currently using MYSQL, but we're converting to= Postgre soon) references small (62kb) images for viewing on the screens of= the app. Does anyone have any thoughts on database design that they can share with= me that would validate why I would want to put Images into blobs in the da= tabase, as opposed to just using the filesystem? I haven't seen much info = on (philosophically speaking, I guess) pro's and con's of using blobs vs. = the filesystem reference to the images, so I don't have much data to make a= decision on if blobs for this purpose are a good idea, other than the fact= that I feel IMO that maintenance for them would be much easier in the file= system. Thanx in advance. ------=_NextPart_000_00C3_01C280CE.8D9DC2E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I'm using blobs for ease of management in = a high=20 volume, distribuited content distribution system.  My last version of = the=20 application used the filesystem to manage the content, and now that I've mo= ved=20 everything to the database my code (php, perl) is much more compact an= d=20 easier to manage, which translates to better usability and ease of further= =20 development.
----- Original Message -----
Fro= m:=20 working4aliving
Sent: Thursday, October 31, 2002 5= :17=20 AM
Subject: [ADMIN] To Blob or Not to= Blob?=20 THAT is the question.

I have a java app that (is currently usi= ng MYSQL,=20 but we're converting to Postgre soon) references small (62kb) images for= =20 viewing on the screens of the app.
 
Does anyone have any thoughts on databas= e design=20 that they can share with me that would validate why I would want to put I= mages=20 into blobs in the database, as opposed to just using the filesystem? = ; I=20 haven't seen much info on (philosophically speaking, I guess)  pro's= and=20 con's of using blobs vs. the filesystem reference to the images, so I don= 't=20 have much data to make a decision on if blobs for this purpose are a good= =20 idea, other than the fact that I feel IMO that maintenance for them would= be=20 much easier in the filesystem.
 
Thanx in advance.
 
<= /HTML> ------=_NextPart_000_00C3_01C280CE.8D9DC2E0--