Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 6D1AE632240 for ; Thu, 14 Jan 2010 01:37:11 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 67969-09 for ; Thu, 14 Jan 2010 05:36:58 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.postnewspapers.com.au (202-89-185-120.static.dsl.amnet.net.au [202.89.185.120]) by mail.postgresql.org (Postfix) with ESMTP id 54DC163297F for ; Thu, 14 Jan 2010 01:36:59 -0400 (AST) Received: from localhost (access [127.0.0.1]) by mail.postnewspapers.com.au (Postfix) with ESMTP id 8110B1E044B; Thu, 14 Jan 2010 13:36:56 +0800 (WST) X-Virus-Scanned: Debian amavisd-new at postnewspapers.com.au Received: from mail.postnewspapers.com.au ([127.0.0.1]) by localhost (access.postnewspapers.com.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id PY0+KQwwZhpP; Thu, 14 Jan 2010 13:36:55 +0800 (WST) Received: from [192.168.3.115] (unknown [192.168.3.115]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "Craig Ringer", Issuer "POST Certificate Authority" (verified OK)) by mail.postnewspapers.com.au (Postfix) with ESMTPSA id F27431E0446; Thu, 14 Jan 2010 13:36:54 +0800 (WST) Message-ID: <4B4EAD76.9030305@postnewspapers.com.au> Date: Thu, 14 Jan 2010 13:36:54 +0800 From: Craig Ringer User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Robert Haas CC: Eduardo Piombino , pgsql-performance@postgresql.org Subject: Re: a heavy duty operation on an "unused" table kills my server References: <4B4D5698.8040808@emolecules.com> <4B4D61DA.7080008@postnewspapers.com.au> <603c8f071001130823l69804fe3m5c6fbb081c55c265@mail.gmail.com> In-Reply-To: <603c8f071001130823l69804fe3m5c6fbb081c55c265@mail.gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.263 tagged_above=-10 required=5 tests=AWL=-0.153, BAYES_05=-1.11 X-Spam-Level: X-Archive-Number: 201001/268 X-Sequence-Number: 37148 Robert Haas wrote: > I'm kind of surprised that there are disk I/O subsystems that are so > bad that a single thread doing non-stop I/O can take down the whole > server. Is that normal? No. > Does it happen on non-Windows operating > systems? Yes. My 3ware 8500-8 on a Debian Sarge box was so awful that launching a terminal would go from a 1/4 second operation to a 5 minute operation under heavy write load by one writer. I landed up having to modify the driver to partially mitigate the issue, but a single user on the terminal server performing any sort of heavy writing would still absolutely nuke performance. I landed up having dramatically better results by disabling the controller's RAID features, instead exposing each disk to the OS separately and using Linux's software RAID. > What kind of hardware should I not buy to make sure this > doesn't happen to me? 3ware's older cards. Apparently their new ones are a lot better, but I haven't verified this personally. Anything in RAID-5 without a BBU. Anything at all without a BBU, preferably. -- Craig Ringer