Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 8C4E02E0216 for ; Sat, 1 Mar 2008 06:28:11 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 70041-07 for ; Sat, 1 Mar 2008 06:28:08 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from smtp28.orange.fr (smtp28.orange.fr [80.12.242.100]) by postgresql.org (Postfix) with ESMTP id 928832E016B for ; Sat, 1 Mar 2008 06:28:06 -0400 (AST) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2806.orange.fr (SMTP Server) with ESMTP id A241880000E4 for ; Sat, 1 Mar 2008 11:28:04 +0100 (CET) Received: from axege.com (LNeuilly-152-22-82-133.w193-251.abo.wanadoo.fr [193.251.23.133]) by mwinf2806.orange.fr (SMTP Server) with ESMTP id 86CB580000E1 for ; Sat, 1 Mar 2008 11:28:04 +0100 (CET) X-ME-UUID: 20080301102804552.86CB580000E1@mwinf2806.orange.fr Received: from localhost (localhost [127.0.0.1]) by axege.com (Postfix) with ESMTP id 444E74FE27 for ; Sat, 1 Mar 2008 12:38:43 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at myhostname="axege.com." Received: from axege.com ([127.0.0.1]) by localhost (axege.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id P4AlCOaYI7zg for ; Sat, 1 Mar 2008 12:38:38 +0100 (CET) Received: from [192.168.2.7] (unknown [192.168.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by axege.com (Postfix) with ESMTP id 9F7744FE26 for ; Sat, 1 Mar 2008 12:38:37 +0100 (CET) Subject: Re: 12 disks raid setup From: Franck Routier To: pgsql-performance In-Reply-To: References: <1204285894.11773.33.camel@franck-gusty> <1204296705.11773.51.camel@franck-gusty> <47C8A6D9.1050502@Sheeky.Biz> Content-Type: text/plain; charset=UTF-8 Organization: =?ISO-8859-1?Q?Ax=E8ge?= Sarl Date: Sat, 01 Mar 2008 11:27:57 +0100 Message-Id: <1204367277.9116.16.camel@franck-gusty> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 Content-Transfer-Encoding: 8bit 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: 200803/2 X-Sequence-Number: 28956 Hi, Le vendredi 29 février 2008 à 23:56 -0500, Greg Smith a écrit : > Wording is intentional--if you don't have a battery for it, the cache has > to be turned off (or set to write-through so it's only being used on > reads) in order for the database to be reliable. If you can't finish > writes after a power off, you can't cache writes and expect your database > to survive for too long. Well, am I just wrong, or the file system might also heavily rely on cache, especially as I use XFS ? So anyway Postgresql has no way to know if the data is really on the disk, and in case of a brutal outage, the system may definitely lose data, wether there is another level of caching (Raid controller) or not... Right ?