Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 26A2C9FB6DC for ; Tue, 17 Jul 2007 18:54:35 -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 92055-09 for ; Tue, 17 Jul 2007 18:54:33 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from crestone.coronasolutions.com (crestone.coronasolutions.com [66.45.104.24]) by postgresql.org (Postfix) with ESMTP id 047D99FB737 for ; Tue, 17 Jul 2007 18:54:31 -0300 (ADT) Received: from localhost (localhost.localdomain [127.0.0.1]) by crestone.coronasolutions.com (Postfix) with ESMTP id AB34A644AE6; Tue, 17 Jul 2007 15:54:29 -0600 (MDT) Received: from crestone.coronasolutions.com ([127.0.0.1]) by localhost (crestone.coronasolutions.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16071-10; Tue, 17 Jul 2007 15:54:28 -0600 (MDT) Received: from mac.local (c-76-25-77-161.hsd1.co.comcast.net [76.25.77.161]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by crestone.coronasolutions.com (Postfix) with ESMTP id C95B1644AA9 for ; Tue, 17 Jul 2007 15:54:27 -0600 (MDT) Message-ID: <469D3A93.8010701@drivefaster.net> Date: Tue, 17 Jul 2007 15:54:27 -0600 From: Dan Harris User-Agent: Thunderbird 2.0.0.4 (Macintosh/20070604) MIME-Version: 1.0 To: PostgreSQL Performance Subject: Re: importance of fast disks with pg References: <469D382E.6030603@ifi.uio.no> In-Reply-To: <469D382E.6030603@ifi.uio.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at coronasolutions.com X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/204 X-Sequence-Number: 25888 Thomas Finneid wrote: > Hi > > During the somes I did I noticed that it does not necessarily seem to be > true that one needs the fastest disks to have a pg system that is fast. > > It seems to me that its more important to: > - choose the correct methods to use for the operation > - tune the pg memory settings > - tune/disable pg xlog/wal etc > > It also seems to me that fast disks are more important for db systems of > the OLTP type applications with real concurrency of both readers and > writes across many, possibly larger, tables etc. > > Are the above statements close to having any truth in them? > > regards > > thomas I'd say that "it depends". We run an OLAP workload on 350+ gigs of database on a system with 64GB of RAM. I can tell you for certain that fetching non-cached data is very sensitive to disk throughput! Different types of workloads will find different bottlenecks in the system.. -Dan