Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id A07CF9F95CB for ; Thu, 4 Jan 2007 14:42:20 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 82343-03 for ; Thu, 4 Jan 2007 14:42:08 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from larry.aptalaska.net (larry.aptalaska.net [64.186.96.3]) by postgresql.org (Postfix) with ESMTP id 927259FA4F0 for ; Thu, 4 Jan 2007 14:42:09 -0400 (AST) Received: from [192.168.98.9] (rdbck-static-287.palmer.mtaonline.net [64.4.232.33]) (authenticated bits=0) by larry.aptalaska.net (8.13.8/8.13.8) with ESMTP id l04Ig49c020629 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 4 Jan 2007 09:42:05 -0900 Message-ID: <459D4AA0.2090607@aptalaska.net> Date: Thu, 04 Jan 2007 09:42:40 -0900 From: Matthew Schumacher User-Agent: Thunderbird 1.5.0.9 (X11/20061206) MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Re: PostgreSQL to host e-mail? References: <20070104120830.d002d90e.frank@wiles.org> In-Reply-To: <20070104120830.d002d90e.frank@wiles.org> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Bayes: Learn: disabled X-Scanned-By: MIMEDefang 2.58 on 64.186.96.3 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/60 X-Sequence-Number: 22661 Frank Wiles wrote: > On Thu, 4 Jan 2007 15:00:05 -0300 > "Charles A. Landemaine" wrote: > >> I'm building an e-mail service that has two requirements: It should >> index messages on the fly to have lightening search results, and it >> should be able to handle large amounts of space. The server is going >> to be dedicated only for e-mail with 250GB of storage in Raid-5. I'd >> like to know how PostgreSQL could handle such a large amount of data. >> How much RAM would I need? I expect my users to have a 10GB quota per >> e-mail account. > I wouldn't do it this way, I would use cyrus. It stores the messages in plain text each in it's own file (like maildir) but then it also indexes the headers in bdb format and also can index the search database in bdb format. The result is a very simple mail store that can perform searches very fast. The only problem is that the search index in only updated periodically. If you need more information then look at the cyrus-users list as this is WAY off topic. schu