Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 82AC59F938C for ; Thu, 4 Jan 2007 14:33:13 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 42596-04-2 for ; Thu, 4 Jan 2007 14:32:52 -0400 (AST) X-Greylist: delayed 00:20:48.769577 by SQLgrey-1.7.4 Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 052D39FA501 for ; Thu, 4 Jan 2007 14:32:15 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from home.wiles.org (frank.wiles.org [24.124.39.75]) by svr4.postgresql.org (Postfix) with ESMTP id 8D20F5AF8B2 for ; Thu, 4 Jan 2007 18:11:26 +0000 (GMT) Received: from localhost.localdomain (frank.wiles.org [24.124.39.75]) by home.wiles.org (8.13.6/8.13.6) with SMTP id l04IBFCf009358; Thu, 4 Jan 2007 12:11:16 -0600 Date: Thu, 4 Jan 2007 12:08:30 -0600 From: Frank Wiles To: "Charles A. Landemaine" Cc: pgsql-performance@postgresql.org Subject: Re: PostgreSQL to host e-mail? Message-Id: <20070104120830.d002d90e.frank@wiles.org> In-Reply-To: References: X-Mailer: Sylpheed version 2.2.10 (GTK+ 2.8.20; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/59 X-Sequence-Number: 22660 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. Well this is a bit like asking "what's the top speed for a van that can carry 8 people", it really isn't enough information to be able to give you a good answer. It depends on everything from the data model you use to represent your E-mail messages, to configuration, to hardware speeds, etc. In general, you want as much RAM as you can afford for the project, the more the better. I'd say 2-4GB is the minimum. And RAID-5 isn't very good for database work in general, you'll get better performance from RAID 1+0. --------------------------------- Frank Wiles http://www.wiles.org ---------------------------------