Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 51CAC632D02 for ; Tue, 2 Mar 2010 19:50:23 -0400 (AST) 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 48445-02 for ; Tue, 2 Mar 2010 23:50:06 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.10]) by mail.postgresql.org (Postfix) with ESMTP id 5E90A632CFF for ; Tue, 2 Mar 2010 19:50:12 -0400 (AST) Received: from [192.168.1.3] (pool-96-244-14-10.bltmmd.fios.verizon.net [96.244.14.10]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0MKuxg-1Nmbqp1QuG-0001Oz; Wed, 03 Mar 2010 00:50:08 +0100 Message-ID: <4B8DA42A.7020806@2ndquadrant.com> Date: Tue, 02 Mar 2010 18:50:02 -0500 From: Greg Smith User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Francisco Reyes CC: Pgsql performance Subject: Re: 10K vs 15k rpm for analytics References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1+2lE3G7w1jCE4bFJlc2T8y+A3jl1DgnQzz406 zcA9k1Om7wx5T5ocYvzTS+SQtb2NRElkQbVBpy1x28AVCl/pxF JZplJxLBQbRsMdyc9sHnrft527CqiBi X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.631 tagged_above=-10 required=5 tests=AWL=-0.521, BAYES_05=-1.11 X-Spam-Level: X-Archive-Number: 201003/43 X-Sequence-Number: 37868 Francisco Reyes wrote: > Anyone has any experience doing analytics with postgres. In particular > if 10K rpm drives are good enough vs using 15K rpm, over 24 drives. > Price difference is $3,000. > Rarely ever have more than 2 or 3 connections to the machine. > So far from what I have seen throughput is more important than TPS for > the queries we do. Usually we end up doing sequential scans to do > summaries/aggregates. For arrays this size, the first priority is to sort out what controller you're going to get, whether it can keep up with the array size, and how you're going to support/monitor it. Once you've got all that nailed down, if you still have the option of 10K vs. 15K the trade-offs are pretty simple: -10K drives are cheaper -15K drives will commit and seek faster. If you have a battery-backed controller, commit speed doesn't matter very much. If you only have 2 or 3 connections, I can't imagine that the improved seek times of the 15K drives will be a major driving factor. As already suggested, 10K drives tend to be larger and can be extremely fast on sequential workloads, particularly if you short-stroke them and stick to putting the important stuff on the fast part of the disk. -- Greg Smith 2ndQuadrant US Baltimore, MD PostgreSQL Training, Services and Support greg@2ndQuadrant.com www.2ndQuadrant.us