X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 534445466B for ; Tue, 26 Apr 2005 06:10:34 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 30505-04 for ; Tue, 26 Apr 2005 09:10:30 +0000 (GMT) Received: from mail.metronet.co.uk (mail.metronet.co.uk [213.162.97.75]) by svr1.postgresql.org (Postfix) with ESMTP id BBA4154633 for ; Tue, 26 Apr 2005 06:09:51 -0300 (ADT) Received: from mainbox.archonet.com (84-51-143-99.archon037.adsl.metronet.co.uk [84.51.143.99]) by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id 9E58544A46B; Tue, 26 Apr 2005 10:05:28 +0100 (BST) Received: from [192.168.1.17] (client17.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id 364CA15931; Tue, 26 Apr 2005 10:05:33 +0100 (BST) Message-ID: <426E045C.7010601@archonet.com> Date: Tue, 26 Apr 2005 10:05:32 +0100 From: Richard Huxton User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: apoc9009@yahoo.de Cc: pgsql-performance@postgresql.org Subject: Re: BLOB's bypassing the OS Filesystem for better Image References: <426DFA46.8090402@yahoo.de> In-Reply-To: <426DFA46.8090402@yahoo.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.055 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200504/693 X-Sequence-Number: 12090 apoc9009@yahoo.de wrote: > Hi all again, > > My next queststion is dedicated to blobs in my Webapplication (using > Tomcat 5 and JDBC > integrated a the J2EE Appserver JBoss). > > Filesystems with many Filesystem Objects can slow down the Performance > at opening > and reading Data. Which filesystems? I know ext2 used to have issues with many-thousands of files in one directory, but that was a directory scanning issue rather than file reading. > My Question: > Can i speedup my Webapplication if i store my JPEG Images with small > sizes inside my PostgreSQL Database (on verry large Databasis over 1 GByte > and above without Images at this time!) No. Otherwise the filesystem people would build their filesystems on top of PostgreSQL not the other way around. Of course, if you want image updates to be part of a database transaction, then it might be worth storing them in the database. > I hope some Peoples can give me a Tip or Hint where in can > some usefull Information about it! Look into having a separate server (process or actual hardware) to handle requests for static text and images. Keep the Java server for actually processing data. -- Richard Huxton Archonet Ltd