Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id CBC4764FD04 for ; Thu, 11 Sep 2008 14:18:46 -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 73715-02 for ; Thu, 11 Sep 2008 14:18:40 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from ppsw-1.csi.cam.ac.uk (ppsw-1.csi.cam.ac.uk [131.111.8.131]) by postgresql.org (Postfix) with ESMTP id 3BE4664FCD6 for ; Thu, 11 Sep 2008 14:18:39 -0300 (ADT) X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from flymine.sysbiol.cam.ac.uk ([131.111.60.120]:53533 helo=flymine.flymine.org) by ppsw-1.csi.cam.ac.uk (ppsw.cam.ac.uk [131.111.8.131]:25) with esmtp id 1KdpoT-0007NU-6M (Exim 4.70) for pgsql-performance@postgresql.org (return-path ); Thu, 11 Sep 2008 18:18:37 +0100 Received: from host103 ([192.168.128.103] helo=aragorn.flymine.org ident=Debian-exim) by flymine.flymine.org with esmtp (Exim 4.12) id 1KdpoT-00022g-00 for pgsql-performance@postgresql.org; Thu, 11 Sep 2008 18:18:37 +0100 Received: from mnw21 (helo=localhost) by aragorn.flymine.org with local-esmtp (Exim 4.69) (envelope-from ) id 1KdpoT-0001qQ-TP for pgsql-performance@postgresql.org; Thu, 11 Sep 2008 18:18:37 +0100 Date: Thu, 11 Sep 2008 18:18:37 +0100 (BST) From: Matthew Wakeling X-X-Sender: mnw21@aragorn.flymine.org To: pgsql-performance@postgresql.org Subject: Re: Choosing a filesystem In-Reply-To: <48C94770.2090505@shopzeus.com> Message-ID: References: <48C94770.2090505@shopzeus.com> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200809/136 X-Sequence-Number: 31449 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 -- X's book explains this very well, but, poor bloke, he did the Cambridge Maths Tripos... -- Computer Science Lecturer