X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 1BB409DC861 for ; Tue, 31 Jan 2006 17:33:47 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 60057-01 for ; Tue, 31 Jan 2006 17:33:47 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from candle.pha.pa.us (candle.pha.pa.us [70.90.9.53]) by postgresql.org (Postfix) with ESMTP id EB83E9DC819 for ; Tue, 31 Jan 2006 17:33:43 -0400 (AST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id k0VLXia10223; Tue, 31 Jan 2006 16:33:44 -0500 (EST) From: Bruce Momjian Message-Id: <200601312133.k0VLXia10223@candle.pha.pa.us> Subject: Re: ext3 with data=ordered In-Reply-To: To: Jeff Frost Date: Tue, 31 Jan 2006 16:33:44 -0500 (EST) CC: pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL121 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.125 required=5 tests=[AWL=0.125] X-Spam-Score: 0.125 X-Spam-Level: X-Archive-Number: 200601/330 X-Sequence-Number: 20418 Jeff Frost wrote: > Is it reasonable to mount the PGDATA filesystem with data=writeback on ext3 as > long as the PGXLOG filesystem is mounted data=ordered and fsync=on? Or is > this only acceptable if you have battery backed controllers? data=writeback is fine on all PostgreSQL file systems, including pg_xlog because we fsync() it on commit. In fact it is the recommended mount option for ext3. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073