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 3C2A0DBA26 for ; Fri, 18 Nov 2005 09:47:07 -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 20961-10 for ; Fri, 18 Nov 2005 13:47:09 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.mi8.com (d01gw02.mi8.com [63.240.6.46]) by svr1.postgresql.org (Postfix) with ESMTP id 50BF4DBA5F for ; Fri, 18 Nov 2005 09:47:03 -0400 (AST) Received: from 172.16.1.112 by mail.mi8.com with ESMTP (- Welcome to Mi8 Corporation www.Mi8.com (D2)); Fri, 18 Nov 2005 08:47:00 -0500 X-Server-Uuid: 7829E76E-BB9E-4995-8473-3C0929DF7DD1 Received: from MI8NYCMAIL06.Mi8.com ([172.16.1.175]) by D01SMTP02.Mi8.com with Microsoft SMTPSVC(6.0.3790.211); Fri, 18 Nov 2005 08:47:00 -0500 Received: from 69.181.100.71 ([69.181.100.71]) by MI8NYCMAIL06.Mi8.com ( [172.16.1.219]) via Exchange Front-End Server mi8owa.mi8.com ( [172.16.1.104]) with Microsoft Exchange Server HTTP-DAV ; Fri, 18 Nov 2005 08:46:59 -0500 User-Agent: Microsoft-Entourage/11.2.1.051004 Date: Fri, 18 Nov 2005 05:46:58 -0800 Subject: Re: Hardware/OS recommendations for large databases ( From: "Luke Lonergan" To: stange@rentec.com cc: "Dave Cramer" , "Greg Stark" , "Joshua Marsh" , pgsql-performance@postgresql.org Message-ID: Thread-Topic: [PERFORM] Hardware/OS recommendations for large databases ( Thread-Index: AcXsReV45/v76ff9T2yQxgfgf3wdzwAAKXmW In-Reply-To: <437DDA26.4000603@rentec.com> MIME-Version: 1.0 X-OriginalArrivalTime: 18 Nov 2005 13:47:00.0177 (UTC) FILETIME=[8CAA6410:01C5EC46] X-WSS-ID: 6F6304DE2RS9387233-03-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=1.253 required=5 tests=[AWL=0.000, RCVD_NUMERIC_HELO=1.253] X-Spam-Score: 1.253 X-Spam-Level: * X-Archive-Number: 200511/358 X-Sequence-Number: 15615 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. If you are using the 2.6 linux kernel, you may be fooled into thinking you burst more than you actually get in net I/O because the I/O stats changed in tools like iostat and vmstat. The only meaningful stats are (size of data) / (time to process data). Do a sequential scan of one of your large tables that you know the size of, then divide by the run time and report it. I'm compiling some new test data to make my point now. Regards, - Luke