Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 1FC9FB5DBFC for ; Sun, 11 Sep 2011 11:36:37 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 33266-07 for ; Sun, 11 Sep 2011 14:36:26 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from marajade.localdomain (97-64-237-59.client.mchsi.com [97.64.237.59]) by mail.postgresql.org (Postfix) with ESMTP id ADEF7B5DBF2 for ; Sun, 11 Sep 2011 11:36:26 -0300 (ADT) Received: from [192.168.1.116] (173-31-201-111.client.mchsi.com [173.31.201.111]) (Authenticated sender: andy) by marajade.localdomain (Postfix) with ESMTPA id B2ECF4690D; Sun, 11 Sep 2011 09:36:26 -0500 (CDT) Message-ID: <4E6CC769.10604@squeakycode.net> Date: Sun, 11 Sep 2011 09:36:25 -0500 From: Andy Colson User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.21) Gecko/20110903 Lightning/1.0b2 Thunderbird/3.1.13 MIME-Version: 1.0 To: Igor Chudov CC: pgsql-performance@postgresql.org Subject: Re: Postgres for a "data warehouse", 5-10 TB References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.918 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RDNS_DYNAMIC=0.982 X-Spam-Level: X-Archive-Number: 201109/116 X-Sequence-Number: 44892 On 09/11/2011 09:21 AM, Igor Chudov wrote: > > > On Sun, Sep 11, 2011 at 9:16 AM, Claudio Freire > wrote: > > On Sun, Sep 11, 2011 at 3:59 PM, Igor Chudov > wrote: > > Well, right now, my server has twelve 7,200 RPM 2TB hard drives in a RAID-6 > > configuration. > > They are managed by a 3WARE 9750 RAID CARD. > > > > I would say that I am not very concerned with linear relationship of read > > speed to disk speed. If that stuff is somewhat slow, it is OK with me. > > With Raid 6 you'll have abysmal performance on write operations. > In data warehousing, there's lots of writes to temporary files, for > sorting and stuff like that. > > You should either migrate to raid 10, or set up a separate array for > temporary files, perhaps raid 0. > > > Thanks. I will rebuild the RAID array early next week and I will see if I have a Raid 10 option with that card. > > Quantitatively, what would you say is the write speed difference between RAID 10 and RAID 6? > Note that using RAID 10, while faster, cuts your usable space in half. 12 2TB drives in raid 10 == 6 drives * 2TB == 12 TB total space. That's not big enough, is it? -Andy