Received: from maia.hub.org (maia-1.hub.org [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 5F30F632A2B for ; Thu, 29 Apr 2010 14:32:04 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 66072-09 for ; Thu, 29 Apr 2010 17:31:49 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pv0-f174.google.com (mail-pv0-f174.google.com [74.125.83.174]) by mail.postgresql.org (Postfix) with ESMTP id 984A563312A for ; Thu, 29 Apr 2010 14:31:51 -0300 (ADT) Received: by pvg7 with SMTP id 7so95276pvg.19 for ; Thu, 29 Apr 2010 10:31:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=2h4MIPDpUciZZnF4a224MZ3KYQYthBN8Do2nSAAh2ew=; b=TN2x01Uc3PS6h729LnQjofjPSXohk1OzQPPxssjl6cnWPIrTrjlCKoDqJq562v+3ZX Tjoh+cTqEXWVykmqv4ueIEcL11R0CRL+Cl4JagpuV0CDCOpjZJyUTZ/X17OqDbxkpqmF pcltSOF33hWtQYpD7IDH6B+f0b0n2/2hlayiQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=qS/z0I3CjEkZ7vJ107037tev6Fhq9EacOwDsUDONGVUIhyfq3QqjhCFTant628AJRZ u1RkaAl+0J7CZOpLvrClBcFlMWTw+Q3bSs8xiRYvFePoB6xMQG6jikKT9lls2t0fpHG6 slyU5qq/8Z1m9Lp3QGBqomymlYTghV4sx2K/0= MIME-Version: 1.0 Received: by 10.141.188.5 with SMTP id q5mr4722176rvp.82.1272562310133; Thu, 29 Apr 2010 10:31:50 -0700 (PDT) Received: by 10.141.52.15 with HTTP; Thu, 29 Apr 2010 10:31:50 -0700 (PDT) In-Reply-To: References: <4BD8DCEA.2020003@2ndquadrant.com> <4BD9198E.904@2ndquadrant.com> Date: Thu, 29 Apr 2010 10:31:50 -0700 Message-ID: Subject: Re: more 10K disks or less 15K disks From: Anj Adu To: Greg Smith Cc: pgsql-admin@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201004/352 X-Sequence-Number: 34446 I also want to add that with the perc 6i controllers..we have never had issues. We have been running postgres nonstop for over 2 years and sustaining a throughput of over 60-100 million messages a day without breaking sweat. (postgres 8.1.9 on linux 32 bit ) I have to say I am impressed with the stability/performance of postgres as well as the commodity hardware we use. We do have rare disk failures..but the hot swappable drives make is easy to pop one in and the RAID layer does the rebuilding very well. On Thu, Apr 29, 2010 at 10:26 AM, Anj Adu wrote: > All the disks are usually laid out in a single RAID 10 stripe . There > are no dedicated disks for the OS/WAL as storage is a premium > > On Wed, Apr 28, 2010 at 10:30 PM, Greg Smith wrote= : >> Anj Adu wrote: >>> >>> We do not archive the WALs. We use application-level replication to >>> achieve redundancy. WAL archiving was difficult to support with the >>> earlier hardware we had ( 6x300G 10K disks Dell 2850) given the >>> volumes we were dealing with. The RAID card should be from the same >>> manufacturer (LSI in Dell's case). >>> >> >> The database is generating WAL files that are written to the pg_xlog >> directory. =A0Sometimes this is broken out into a separate drive so that= it's >> possible to measure how much I/O is being written to there, as opposed t= o >> the main database drive. =A0That's the WAL writing I was asking about, n= ot the >> overhead of archiving WAL files to elsewhere. =A0The way that WAL writes= go to >> disk, you can't always speed them up just by throwing more disks at >> them--sometimes, you just need the individual disk involved to be as fas= t as >> possible. >> >> You should try to get the same Dell RAID controller you're already using= , >> that you know delivers good performance running your app. =A0All I've he= ard >> about the models released after the Perc 6i has been bad news. =A0Dell v= aries >> how much they tinker with the LSI firmware in their own version of each >> card, and they didn't do very much of that in the Perc 6 series. =A0They= seem >> to be changing around the newer models more again, which is always bad n= ews. >> >> -- >> Greg Smith =A02ndQuadrant US =A0Baltimore, MD >> PostgreSQL Training, Services and Support >> greg@2ndQuadrant.com =A0 www.2ndQuadrant.us >> >> >