X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6F5D4DB8FD for ; Fri, 18 Nov 2005 10:47:50 -0400 (AST) 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 26659-07 for ; Fri, 18 Nov 2005 14:47:53 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from unicorn.rentec.com (unicorn.rentec.com [216.223.240.9]) by svr1.postgresql.org (Postfix) with ESMTP id C7C98DB77A for ; Fri, 18 Nov 2005 10:47:47 -0400 (AST) Received: from ram.rentec.com (mailhost [192.5.35.66]) by unicorn.rentec.com (8.13.1/8.12.1) with ESMTP id jAIEkoVE020786 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 18 Nov 2005 09:46:51 -0500 (EST) X-Source: non-mednet Received: from [172.26.132.145] (hoopoe.rentec.com [172.26.132.145]) by ram.rentec.com (8.13.1/8.12.1) with ESMTP id jAIEkK7Y025463; Fri, 18 Nov 2005 09:46:20 -0500 (EST) Message-ID: <437DE960.9070606@rentec.com> Date: Fri, 18 Nov 2005 09:46:56 -0500 From: Alan Stange Reply-To: stange@rentec.com Organization: Renaissance Technologies Corp. User-Agent: Thunderbird 1.5 (X11/20051025) MIME-Version: 1.0 To: Luke Lonergan CC: Dave Cramer , Greg Stark , Joshua Marsh , pgsql-performance@postgresql.org Subject: Re: Hardware/OS recommendations for large databases ( References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Logged: Logged by unicorn.rentec.com as jAIEkoVE020786 at Fri Nov 18 09:46:51 2005 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.032 required=5 tests=[AWL=0.032] X-Spam-Score: 0.032 X-Spam-Level: X-Archive-Number: 200511/350 X-Sequence-Number: 15607 Luke Lonergan wrote: > Alan, > > On 11/18/05 5:41 AM, "Alan Stange" wrote: > > >> That's interesting, as I occasionally see more than 110MB/s of >> postgresql IO on our system. I'm using a 32KB block size, which has >> been a huge win in performance for our usage patterns. 300GB database >> with a lot of turnover. A vacuum analyze now takes about 3 hours, which >> is much shorter than before. Postgresql 8.1, dual opteron, 8GB memory, >> Linux 2.6.11, FC drives. >> > > 300GB / 3 hours = 27MB/s. > That's 3 hours under load, with 80 compute clients beating on the database at the same time. We have the stats turned way up, so the analyze tends to read a big chunk of the tables a second time as well. We typically don't have three hours a day of idle time. -- Alan