Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 35D4447545C for ; Fri, 16 Aug 2002 10:44:33 -0400 (EDT) Received: from shevy.roaringpenguin.com (ottawa-hs-209-217-122-117.s-ip.magma.ca [209.217.122.117]) by postgresql.org (Postfix) with ESMTP id 0C8D0474E4E for ; Fri, 16 Aug 2002 10:44:32 -0400 (EDT) Received: from shishi.roaringpenguin.com (shishi.roaringpenguin.com [192.168.2.3]) by shevy.roaringpenguin.com (8.12.1/8.12.1) with SMTP id g7GEiZcV026320 for ; Fri, 16 Aug 2002 10:44:35 -0400 Date: Fri, 16 Aug 2002 10:44:35 -0400 From: "David F. Skoll" To: pgsql-admin@postgresql.org Subject: Large TEXT fields Message-Id: <20020816104435.09e41b35.dfs@roaringpenguin.com> Organization: Roaring Penguin Software Inc. X-Mailer: Sylpheed version 0.8.1 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/194 X-Sequence-Number: 5309 Hi, I'm considering building a database with a table which stores entire e-mail messages, up to around 128kB. - How does PostgreSQL cope with tables with huge amounts of data in a TEXT column? Let's say 50,000 rows of e-mail messages with an average e-mail size of 20kB, with maybe 5% of the messages over 100kB. - Is it better to use the large-object interface? I'd rather avoid this as it's a bit clunky. - Is it better to store the messages as files and have the database hold filenames? I'd *really* rather not do this... Regards, David.