Received: from localhost (unknown [200.46.204.184]) by developer.postgresql.org (Postfix) with ESMTP id C72AB2E003D for ; Wed, 2 Apr 2008 20:50:14 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 34586-10 for ; Wed, 2 Apr 2008 20:50:00 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from westnet.com (westnet.com [216.187.52.2]) by developer.postgresql.org (Postfix) with ESMTP id E7AEA2E002D for ; Wed, 2 Apr 2008 20:50:06 -0300 (ADT) Received: from westnet.com (localhost [127.0.0.1]) by westnet.com (8.14.0/8.14.0) with ESMTP id m32NnwIF026229; Wed, 2 Apr 2008 19:49:58 -0400 (EDT) Received: from localhost (gsmith@localhost) by westnet.com (8.14.0/8.13.2/Submit) with ESMTP id m32NnwGS026226; Wed, 2 Apr 2008 19:49:58 -0400 (EDT) X-Authentication-Warning: westnet.com: gsmith owned process doing -bs Date: Wed, 2 Apr 2008 19:49:58 -0400 (EDT) From: Greg Smith X-X-Sender: gsmith@westnet.com To: James Mansion cc: pgsql-performance@postgresql.org Subject: Re: POSIX file updates In-Reply-To: <47F40D54.2020700@mansionfamily.plus.com> Message-ID: References: <47F1413B.40109@mansionfamily.plus.com> <47F3DA25.7050705@mansionfamily.plus.com> <1207167852.8299.179.camel@localhost> <47F40D54.2020700@mansionfamily.plus.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200804/25 X-Sequence-Number: 29518 On Wed, 2 Apr 2008, James Mansion wrote: > I'm well aware that there are battery-backed caches that can be detached > from controllers and moved. But you'd better make darn sure you move > all the drives and plug them in in exactly the right order and make sure > they all spin up OK with the replaced cache, because its expecting them > to be exactly as they were last time they were on the bus. The better controllers tag the drives with a unique ID number so they can route pending writes correctly even after such a disaster. This falls into the category of tests people should do more often but don't: write something into the cache, pull the power, rearrange the drives, and see if everything still recovers. > You would think hard drives could have enough capacitor store to dump > cache to flash or the drive - if only to a special dump zone near where > the heads park. They are spinning already after all. The free market seems to have established that the preferred design model for hard drives is that they be cheap and fast rather than focused on reliability. I rather doubt the tiny percentage of the world who cares as much about disk write integrity as database professionals do can possibly make a big enough market to bother increasing the cost and design complexity of the drive to do this. -- * Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD