Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 6D4A564FCFC for ; Thu, 11 Sep 2008 14:23:41 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 80313-02 for ; Thu, 11 Sep 2008 14:23:37 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from is.rice.edu (is.rice.edu [128.42.42.24]) by postgresql.org (Postfix) with ESMTP id F1C7264FCD6 for ; Thu, 11 Sep 2008 14:23:36 -0300 (ADT) Received: from scan1.mail.rice.edu (scan1.mail.rice.edu [128.42.58.160]) by is.rice.edu (Postfix) with ESMTP id CAC6241820; Thu, 11 Sep 2008 12:23:33 -0500 (CDT) Received: from is.rice.edu ([128.42.42.24]) by scan1.mail.rice.edu (scan1.mail.rice.edu [128.42.58.160]) (amavisd-new, port 10024) with ESMTP id 10883-02; Thu, 11 Sep 2008 12:23:33 -0500 (CDT) Received: by is.rice.edu (Postfix, from userid 18612) id 1ED584181D; Thu, 11 Sep 2008 12:23:33 -0500 (CDT) Date: Thu, 11 Sep 2008 12:23:32 -0500 From: Kenneth Marshall To: Matthew Wakeling Cc: pgsql-performance@postgresql.org Subject: Re: Choosing a filesystem Message-ID: <20080911172332.GP6714@it.is.rice.edu> References: <48C94770.2090505@shopzeus.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) X-Virus-Scanned: by amavis-2.2.1 at scan1.mail.rice.edu X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200809/137 X-Sequence-Number: 31450 On Thu, Sep 11, 2008 at 06:18:37PM +0100, Matthew Wakeling wrote: > On Thu, 11 Sep 2008, Laszlo Nagy wrote: >> So the basic system will reside on a RAID 1 array, created from two SAS >> disks spinning at 15 000 rpm. I will buy 10 pieces of Seagate Barracuda >> 320GB SATA (ES 7200) disks for the rest. > > That sounds good. Put RAID 1 on the pair, and RAID 1+0 on the rest. It'll > be pretty good. Put the OS and the WAL on the pair, and the database on the > large array. > > However, one of the biggest things that will improve your performance > (especially in OLTP) is to use a proper RAID controller with a > battery-backed-up cache. > > Matthew > But remember that putting the WAL on a separate drive(set) will only help if you do not have competing I/O, such as system logging or paging, going to the same drives. This turns your fast sequential I/O into random I/O with the accompaning 10x or more performance decrease. Ken