Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 31F6C9FBBF7 for ; Tue, 29 May 2007 23:18:09 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 07750-07 for ; Tue, 29 May 2007 23:18:05 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.249]) by postgresql.org (Postfix) with ESMTP id 6446E9FBBB3 for ; Tue, 29 May 2007 23:18:04 -0300 (ADT) Received: by an-out-0708.google.com with SMTP id c36so610757ana for ; Tue, 29 May 2007 19:18:03 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=k+Dv6psWZ8WvtjWZf01rMHKsIsP3PF8Lx2vgd0p4vaPCMLuD1GSzcezsrkxlGeEyJ2h1prlUPuWDd6WG4BhiLPE211BHgpyjeCJaHrCka6cxJ6SvSMqGN0SY4hEAKZYwvFuW2qIo4m6z5XGbHmfixrgdWSCTkMnl59uCp+hAjg8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=i+uCfBY8xM9SK4jSt5KBtIsqfzISqf1nWhEoEDPG6dLAAHOjrHZTZkCugyDrU3JaKQAHh/Z5hgoY1ucXgr0vLhMukF/IIrV81JLvp/k/3rvVR+5Ls9LCgTmAHgJW3EkQNjD6o9iDsxd209CQqxrf3cFB27IuLIyltOCA4C/kMG4= Received: by 10.100.205.9 with SMTP id c9mr5641253ang.1180491482883; Tue, 29 May 2007 19:18:02 -0700 (PDT) Received: by 10.100.121.15 with HTTP; Tue, 29 May 2007 19:18:02 -0700 (PDT) Message-ID: Date: Wed, 30 May 2007 07:48:02 +0530 From: "Rajesh Kumar Mallah" To: "Luke Lonergan" Subject: Re: setting up raid10 with more than 4 drives Cc: pgsql-performance@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/596 X-Sequence-Number: 24986 On 5/30/07, Luke Lonergan wrote: > Stripe of mirrors is preferred to mirror of stripes for the best balance of > protection and performance. nooo! i am not aksing raid10 vs raid01 . I am considering stripe of mirrors only. the question is how are more number of disks supposed to be BEST utilized in terms of IO performance for 1. for adding more mirrored stripes OR 2. for adding more harddrives to the mirrors. say i had 4 drives in raid10 format D1 raid1 D2 --> MD0 D3 raid1 D4 --> MD1 MD0 raid0 MD1 --> MDF (final) now i get 2 drives D5 and D6 the i got 2 options 1. create a new mirror D5 raid1 D6 --> MD2 MD0 raid0 MD1 raid0 MD2 --> MDF final OR D1 raid1 D2 raid1 D5 --> MD0 D3 raid1 D4 raid1 D6 --> MD1 MD0 raid0 MD1 --> MDF (final) thanks , hope my question is clear now. Regds mallah. > > In the stripe of mirrors you can lose up to half of the disks and still be > operational. In the mirror of stripes, the most you could lose is two > drives. The performance of the two should be similar - perhaps the seek > performance would be different for high concurrent use in PG. > > - Luke > > > On 5/29/07 2:14 PM, "Rajesh Kumar Mallah" wrote: > > > hi, > > > > this is not really postgresql specific, but any help is appreciated. > > i have read more spindles the better it is for IO performance. > > > > suppose i have 8 drives , should a stripe (raid0) be created on > > 2 mirrors (raid1) of 4 drives each OR should a stripe on 4 mirrors > > of 2 drives each be created ? > > > > also does single channel or dual channel controllers makes lot > > of difference in raid10 performance ? > > > > regds > > mallah. > > > > ---------------------------(end of broadcast)--------------------------- > > TIP 9: In versions below 8.0, the planner will ignore your desire to > > choose an index scan if your joining column's datatypes do not > > match > > > > >