Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id E0DB5633508 for ; Thu, 29 Apr 2010 01:45:15 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 43267-05 for ; Thu, 29 Apr 2010 04:45:08 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pw0-f46.google.com (mail-pw0-f46.google.com [209.85.160.46]) by mail.postgresql.org (Postfix) with ESMTP id 730E8632EA4 for ; Thu, 29 Apr 2010 01:45:08 -0300 (ADT) Received: by pwj9 with SMTP id 9so10939600pwj.19 for ; Wed, 28 Apr 2010 21:45:07 -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=hbDfwUmp+c106AJWcrwkMl0K/GwVagCxIQyfG2altVc=; b=goPr/PvoH1Kg2pFueiIRjRRhH/LmGBJoLGEsb+GbPNcIigINr0rtTTVOfvigqd6Ak+ xikzBE+duUz4sH4Ja4/cRlTmrbaiC4XI/oMbeWJRU0EtibLljOZT1fEjlsW6tj6BOeWI 46LNaRZ1p1osJbL5NsFRcru+k380gm36CGK50= 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=CmvK24vUz5M3mhjqvezzuZUhNsvrkSLtANJYi5WQTQk3mh008ihveKiDH75kIk/C7t 3I3UHYfaRmiTbIErBmGFhJez8mSk7rtIg/h+nNd9KClobU9zz7hG8zM1d9ABDKrnpE90 v/gjfVJgkTSpwmwxz+WXGW+VwBw1OVniHonQU= MIME-Version: 1.0 Received: by 10.141.13.5 with SMTP id q5mr808707rvi.280.1272516306794; Wed, 28 Apr 2010 21:45:06 -0700 (PDT) Received: by 10.140.143.7 with HTTP; Wed, 28 Apr 2010 21:45:06 -0700 (PDT) In-Reply-To: <4BD8DCEA.2020003@2ndquadrant.com> References: <4BD8DCEA.2020003@2ndquadrant.com> Date: Wed, 28 Apr 2010 21:45:06 -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.899 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201004/346 X-Sequence-Number: 34440 Thanks Greg 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). On our current system (6 x 450G 15K disks), we are able to sustain 100 million records/day but probably not more. On Wed, Apr 28, 2010 at 6:12 PM, Greg Smith wrote: > Anj Adu wrote: >> >> I am faced with a =A0hardware choice for a postgres data warehouse >> (extremely high volume inserts..over 200 million records a day) > > That's an average of 2314 per second, which certainly isn't easy to pull > off. =A0You suggested you're already running this app. =A0Do you have any= idea > how high the volume of data going to the WAL is relative to everything el= se? > >> 12 x 600G disks (15K) =A0(the new Dell Poweredge C server) >> or >> 24 x 600G =A0(10K disks) >> > > You can expect the 15K disks to be 30% (more sequential work) to 50% > (random/commit work) faster than a similar 10K drive. =A0So from most > perspectives, twice as many 10K drives should be considerably faster. =A0= The > main point of concern here is the commit rate, which you can't necessaril= y > improve just by throwing drives at it. =A0That's based on how fast the dr= ives > spin, so there's the potential to discover a 50% regression there compare= d > to the setup you have right now. =A0With the RAID card in there, it shoul= d be > fine, but it's something to be concerned about. > > Also, you didn't mentioned the RAID card for the new system, and whether = it > would be the same in both setups or not. =A0That can be as important as t= he > drives when you have larger arrays. =A0The LSI Megaraid card Dell is usin= g for > the Perc6i is quite fast, and you'll need to make sure you get something > just as good for the new server. > > -- > Greg Smith =A02ndQuadrant US =A0Baltimore, MD > PostgreSQL Training, Services and Support > greg@2ndQuadrant.com =A0 www.2ndQuadrant.us > >