From owner-freebsd-database@FreeBSD.ORG Tue Jul 22 09:31:58 2003 Return-Path: Delivered-To: freebsd-database@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02E1437B401; Tue, 22 Jul 2003 09:31:58 -0700 (PDT) Received: from mta4.rcsntx.swbell.net (mta4.rcsntx.swbell.net [151.164.30.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FBD043F3F; Tue, 22 Jul 2003 09:31:57 -0700 (PDT) (envelope-from mbsd@pacbell.net) Received: from atlas (adsl-64-160-45-246.dsl.snfc21.pacbell.net [64.160.45.246])h6MGVqvi006749; Tue, 22 Jul 2003 11:31:52 -0500 (CDT) Date: Tue, 22 Jul 2003 09:31:51 -0700 (PDT) From: =?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?= X-X-Sender: mikko@atlas.home To: Dan Langille In-Reply-To: <3F1D2208.2124.52B03E6A@localhost> Message-ID: <20030722092917.L18121@atlas.home> References: <20030721192645.GB61464@perrin.int.nxad.com> <3F1D2208.2124.52B03E6A@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-database@freebsd.org cc: freebsd-performance@freebsd.org cc: Jason Stone Subject: Re: Tuning for PostGreSQL Database X-BeenThere: freebsd-database@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Database use and development under FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2003 16:31:58 -0000 On Tue, 22 Jul 2003, Dan Langille wrote: > On 21 Jul 2003 at 20:35, Jason Stone wrote: > > > I feel like this is an extremely important point. If softupdates changes > > the semantics of sync(2)/fsync(2), then it absolutely has to be off for a > > postgresql server because postgresql counts on fsync in order to make its > > durability guarantees. > > If this means all FreeBSD-PostgreSQL users need to change their > setup, we need to do something ASAP. I'd first recommend getting the > confirmation from the PostgreSQL team, then adjusting the PostgreSQL > documenation and the FreeBSD port. > > Does anyone feel this is urgent enough that they'll do something > about it? I think you can relax. Check the mailing lists, or google a bit and you'll find similar discussions. For example: In short: fsync() works with soft-updates. Too many things would break otherwise. $.02, /Mikko