X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id B2ECC9FA5CD for ; Mon, 17 Jul 2006 06:46:55 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 63511-07 for ; Mon, 17 Jul 2006 06:46:49 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.logix-tt.com (mail.logix-tt.com [212.211.145.186]) by postgresql.org (Postfix) with ESMTP id E8B1C9FA502 for ; Mon, 17 Jul 2006 06:46:49 -0300 (ADT) Received: from kingfisher.intern.logix-tt.com (Tb2bf.t.pppool.de [89.55.178.191]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.logix-tt.com (Postfix) with ESMTP id C7B096588C; Mon, 17 Jul 2006 11:48:29 +0200 (CEST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by kingfisher.intern.logix-tt.com (Postfix) with ESMTP id 8BE4C181C1C49; Mon, 17 Jul 2006 11:47:05 +0200 (CEST) Message-ID: <44BB5C99.5070205@logix-tt.com> Date: Mon, 17 Jul 2006 11:47:05 +0200 From: Markus Schaber Reply-To: pgsql-performance@postgresql.org Organization: Logical Tracking and Tracing International AG, Switzerland User-Agent: Thunderbird 1.5.0.2 (X11/20060516) MIME-Version: 1.0 To: pgsql-performance@postgresql.org Cc: Mikael Carneholm Subject: Re: RAID stripe size question References: <7F10D26ECFA1FB458B89C5B4B0D72C2B4E4BC3@sesrv12.wirelesscar.com> In-Reply-To: <7F10D26ECFA1FB458B89C5B4B0D72C2B4E4BC3@sesrv12.wirelesscar.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200607/162 X-Sequence-Number: 20022 Hi, Mikael, Mikael Carneholm wrote: > An 0+1 array of 4 disks *could* be enough, but I'm still unsure how WAL > activity correlates to "normal data" activity (is it 1:1, 1:2, 1:4, > ...?) I think the main difference is that the WAL activity is mostly linear, where the normal data activity is rather random access. Thus, a mirror of few disks (or, with good controller hardware, raid6 on 4 disks or so) for WAL should be enough to cope with a large set of data and index disks, who have a lot more time spent in seeking. Btw, it may make sense to spread different tables or tables and indices onto different Raid-Sets, as you seem to have enough spindles. And look into the commit_delay/commit_siblings settings, they allow you to deal latency for throughput (means a little more latency per transaction, but much more transactions per second throughput for the whole system.) HTH, Markus -- Markus Schaber | Logical Tracking&Tracing International AG Dipl. Inf. | Software Development GIS Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org