Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id D9D679FA326 for ; Sun, 22 Apr 2007 06:06:30 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 87209-01 for ; Sun, 22 Apr 2007 06:06:27 -0300 (ADT) X-Greylist: delayed 00:05:03.271426 by SQLgrey-1.7.4 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by postgresql.org (Postfix) with ESMTP id C0C079FA147 for ; Sun, 22 Apr 2007 06:06:26 -0300 (ADT) Received: from [84.161.28.145] (helo=[127.0.0.1]) by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis), id 0MKwtQ-1HfXwe3HdV-0004qP; Sun, 22 Apr 2007 11:01:21 +0200 Message-ID: <462B245F.9030100@cech-privat.de> Date: Sun, 22 Apr 2007 11:01:19 +0200 From: Ulrich Cech User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Re: Large objetcs performance References: <26551fb50704040703n75d9b8d9p7ab4bf11109dfe63@mail.gmail.com> In-Reply-To: <26551fb50704040703n75d9b8d9p7ab4bf11109dfe63@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX19PeJ66x288CFtQO+klB3qWLjQizBjhj4W/q2W 13rb254So4N6+BnDB9U8+aot+91gFiuxW7wufcaI9rnfUbZRP8 IgQiioHdMiZfV4KQZXm/A== X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.169 tagged_above=0 required=5 tests=AWL=0.594, BAYES_20=-0.74, SARE_MILLIONSOF=0.315 X-Spam-Level: X-Archive-Number: 200704/368 X-Sequence-Number: 24245 Hello Alexandre, I developed a relative simple "file archive" with PostgreSQL (web application with JSF for user interface). The major structure is one table with some "key word fields", and 3 blob-fields (because exactly 3 files belong to one record). I have do deal with millions of files (95% about 2-5KB, 5% are greater than 1MB). The great advantage is that I don't have to "communicate" with the file system (try to open a directory with 300T files on a windows system... it's horrible, even on the command line). The database now is 12Gb, but searching with the web interface has a maximum of 5 seconds (most searches are faster). The one disadvantage is the backup (I use pg_dump once a week which needs about 10 hours). But for now, this is acceptable for me. But I want to look at slony or port everything to a linux machine. Ulrich