Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 91319650054 for ; Fri, 29 Aug 2008 00:55:35 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 61477-07 for ; Fri, 29 Aug 2008 00:55:17 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from westnet.com (westnet.com [216.187.52.2]) by postgresql.org (Postfix) with ESMTP id 291D7650080 for ; Fri, 29 Aug 2008 00:53:44 -0300 (ADT) Received: from westnet.com (localhost [127.0.0.1]) by westnet.com (8.14.0/8.14.0) with ESMTP id m7T3repw023604; Thu, 28 Aug 2008 23:53:40 -0400 (EDT) Received: from localhost (gsmith@localhost) by westnet.com (8.14.0/8.13.2/Submit) with ESMTP id m7T3rdSh023600; Thu, 28 Aug 2008 23:53:39 -0400 (EDT) X-Authentication-Warning: westnet.com: gsmith owned process doing -bs Date: Thu, 28 Aug 2008 23:53:39 -0400 (EDT) From: Greg Smith X-X-Sender: gsmith@westnet.com To: Tom Lane cc: Craig Ringer , Peter Schuller , pgsql-performance@postgresql.org Subject: Re: Identifying the nature of blocking I/O In-Reply-To: <866.1219628227@sss.pgh.pa.us> Message-ID: References: <20080822115243.GA10981@hyperion.scode.org> <48B1FD1A.7040807@postnewspapers.com.au> <866.1219628227@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200808/412 X-Sequence-Number: 31293 On Sun, 24 Aug 2008, Tom Lane wrote: > Mind you, I don't think Apple sells any hardware that would be really > suitable for a big-ass database server. If you have money to burn, you can get an XServe with up to 8 cores and 32GB of RAM, and get a card to connect it to a Fiber Channel disk array. For only moderately large requirements, you can even get a card with 256MB of battery-backed cache (rebranded LSI) to attach the 3 drives in the chassis. None of these are very cost effective compared to servers like the popular HP models people mention here regularly, but it is possible. As for Systemtap on Linux, it might be possible that will accumulate enough of a standard library to be usable by regular admins one day, but I don't see any sign that's a priority for development. Right now what you have to know in order to write useful scripts is so much more complicated than DTrace, where there's all sorts of useful things you can script trivially. I think a good part of DTrace's success comes from flattening that learning curve. Take a look at the one-liners at http://www.solarisinternals.com/wiki/index.php/DTraceToolkit and compare them against http://sourceware.org/systemtap/examples/ That complexity works against the tool on so many levels. For example, I can easily imagine selling even a paranoid admin on running a simple DTrace script like the one-line examples. Whereas every Systemtap example I've seen looks pretty scary at first, and I can't imagine a DBA in a typical enterprise environment being able to convince their associated admin team they're perfectly safe to run in production. -- * Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD