X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 54C4E52AD2 for ; Wed, 17 Aug 2005 00:10:53 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 04050-02 for ; Wed, 17 Aug 2005 03:10:46 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.203]) by svr1.postgresql.org (Postfix) with ESMTP id 7EBB4528D4 for ; Wed, 17 Aug 2005 00:10:39 -0300 (ADT) Received: by wproxy.gmail.com with SMTP id i22so77519wra for ; Tue, 16 Aug 2005 20:10:39 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Iy+Iwb6xoYEhyU8axm2jXwctLiAGr2jpzRmhUmeu/cCFSAUGYalFIH9NhVWcUB5LqEL0EVqdgSVIrM/rHE0WKxXbuS8/KBcAHZ91fbAY7pjqOzE4yKFX0czNiAoBEeoCKNTE8oq8VtTonQZwLPZROO30UbbgIvYw/Onv9lKVD2k= Received: by 10.54.26.63 with SMTP id 63mr149251wrz; Tue, 16 Aug 2005 20:10:38 -0700 (PDT) Received: by 10.54.86.15 with HTTP; Tue, 16 Aug 2005 20:10:38 -0700 (PDT) Message-ID: <33c6269f0508162010519a7f12@mail.gmail.com> Date: Tue, 16 Aug 2005 23:10:38 -0400 From: Alex Turner To: Anjan Dave Subject: Re: choosing RAID level for xlogs Cc: "Gregory S. Williamson" , pgsql-performance@postgresql.org In-Reply-To: <4BAFBB6B9CC46F41B2AD7D9F4BBAF785098BE1@vt-pe2550-001.VANTAGE.vantage.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4BAFBB6B9CC46F41B2AD7D9F4BBAF785098BE1@vt-pe2550-001.VANTAGE.vantage.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.104 required=5 tests=[AWL=0.080, RCVD_BY_IP=0.024] X-Spam-Level: X-Archive-Number: 200508/194 X-Sequence-Number: 13941 The other point that is well made is that with enough drives you will max out the PCI bus before you max out the drives. 64-bit 66Mhz can do about 400MB/sec, which can be acheived by two 3 drive stripes (6 drive in RAID 10). A true PCI-X card can do better, but can your controller? Remember, U320 is only 320MB/channel... Alex Turner NetEconomist On 8/16/05, Anjan Dave wrote: > Thanks, everyone. I got some excellent replies, including some long expla= nations. Appreciate the time you guys took out for the responses. >=20 > The gist of it i take, is to use RAID10. I have 400MB+ of write cache on = the controller(s), that the RAID5 LUN(s) could benefit from by filling it u= p and writing out the complete stripe, but come to think of it, it's shared= among the two Storage Processors, all the LUNs, not just the ones holding = the pg_xlog directory. The other thing (with Clariion) is the write cache m= irroring. Write isn't signalled complete to the host until the cache conten= t is mirrored across the other SP (and vice-versa), which is a good thing, = but this operation could potentially become a bottleneck with very high loa= d on the SPs. >=20 > Also, one would have to fully trust the controller/manufacturer's claim o= n signalling the write completion. And, performance is a priority over the = drive space lost in RAID10 for me. >=20 > I can use 4 drives instead of 6. >=20 > Thanks, > Anjan >=20 > t-----Original Message----- > From: Gregory S. Williamson [mailto:gsw@globexplorer.com] > Sent: Tue 8/16/2005 6:22 PM > To: Anjan Dave; pgsql-performance@postgresql.org > Cc: > Subject: RE: [PERFORM] choosing RAID level for xlogs >=20 >=20 >=20 > I would be very cautious about ever using RAID5, despite manufact= urers' claims to the contrary. The link below is authored by a very knowled= gable fellow whose posts I know (and trust) from Informix land. >=20 > >=20 > Greg Williamson > DBA > GlobeXplorer LLC >=20 >=20 > -----Original Message----- > From: pgsql-performance-owner@postgresql.org on behalf of Anjan= Dave > Sent: Mon 8/15/2005 1:35 PM > To: pgsql-performance@postgresql.org > Cc: > Subject: [PERFORM] choosing RAID level for xlogs > Hi, >=20 >=20 >=20 > One simple question. For 125 or more checkpoint segments > (checkpoint_timeout is 600 seconds, shared_buffers are at 21760 o= r > 170MB) on a very busy database, what is more suitable, a separate= 6 disk > RAID5 volume, or a RAID10 volume? Databases will be on separate > spindles. Disks are 36GB 15KRPM, 2Gb Fiber Channel. Performance i= s > paramount, but I don't want to use RAID0. >=20 >=20 >=20 > PG7.4.7 on RHAS 4.0 >=20 >=20 >=20 > I can provide more info if needed. >=20 >=20 >=20 > Appreciate some recommendations! >=20 >=20 >=20 > Thanks, >=20 > Anjan >=20 >=20 >=20 >=20 > --- > This email message and any included attachments constitute confid= ential > and privileged information intended exclusively for the listed > addressee(s). If you are not the intended recipient, please notif= y > Vantage by immediately telephoning 215-579-8390, extension 1158. = In > addition, please reply to this message confirming your receipt of= the > same in error. A copy of your email reply can also be sent to > support@vantage.com. Please do not disclose, copy, distribute or = take > any action in reliance on the contents of this information. Kindl= y > destroy all copies of this message and any attachments. Any other= use of > this email is prohibited. Thank you for your cooperation. For mor= e > information about Vantage, please visit our website at > http://www.vantage.com . > --- >=20 >=20 >=20 >=20 >=20 > !DSPAM:4300fd35105094125621296! >=20 >=20 >=20 >=20 > ---------------------------(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 >