Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 33FB164FD0F for ; Wed, 20 Aug 2008 19:54:11 -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 74769-04 for ; Wed, 20 Aug 2008 19:54:04 -0300 (ADT) X-Greylist: delayed 00:27:49.16847 by SQLgrey-1.7.6 Received: from node01.cambriumhosting.nl (node01.cambriumhosting.nl [217.19.16.162]) by postgresql.org (Postfix) with ESMTP id 291C764FCE6 for ; Wed, 20 Aug 2008 19:54:08 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by node01.cambriumhosting.nl (Postfix) with ESMTP id 3EAADB00007F for ; Thu, 21 Aug 2008 00:26:13 +0200 (CEST) X-Virus-Scanned: by ClamAV (clamav.cambrium.nl) at node.cambriumhosting.nl Received: from node01.cambriumhosting.nl ([127.0.0.1]) by localhost (node01.cambriumhosting.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AY0q2Iyj7hUK for ; Thu, 21 Aug 2008 00:26:09 +0200 (CEST) Received: from [192.168.1.35] (84-245-8-42.dsl.cambrium.nl [84.245.8.42]) by node01.cambriumhosting.nl (Postfix) with ESMTP id 31D54B0000A9 for ; Thu, 21 Aug 2008 00:26:09 +0200 (CEST) Message-Id: <972BDF1A-B4ED-46EC-B416-0CDF15A0439A@technocon.com> From: Christiaan Willemsen To: pgsql-performance@postgresql.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Subject: How to setup disk spindles for best performance Date: Thu, 21 Aug 2008 00:25:59 +0200 X-Mailer: Apple Mail (2.926) 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: 200808/235 X-Sequence-Number: 31116 I'm currently trying to find out what the best configuration is for our new database server. It will server a database of about 80 GB and growing fast. The new machine has plenty of memory (64GB) and 16 SAS disks, of wich two are already in use as a mirror for the OS. The rest can be used for PostgreSQL. So that makes a total of 14 15k.5 SAS diks. There is obviously a lot to interesting reading to be found, most of them stating that the transaction log should be put onto a separate disk spindle. You can also do this with the indexes. Since they will be updated a lot, I guess that might be a good idea. But what no-one states, is what performance these spindle should have in comparison to the data spindle? If I create a raid 10 of 6 disks for the data, 4 disk raid 10 for the log, and 4 disk raid 10 for the indexes, will this yield best performance? Or is it sufficient to just have a simple mirror for the log and/or indexes...? I have not found any information about these figures, and I guess it should be possible to give some pointers on how these different setup might affect performance? So I hope someone has already tested this and can give some tips... Kind regards, Christiaan