Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id D78409FA471; Mon, 1 Oct 2007 14:19:22 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 82282-02-8; Mon, 1 Oct 2007 14:19:12 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from outmail129181.authsmtp.co.uk (outmail129181.authsmtp.co.uk [62.13.129.181]) by postgresql.org (Postfix) with ESMTP id 8E9BF9F9C53; Mon, 1 Oct 2007 14:13:53 -0300 (ADT) Received: from outmail128183.authsmtp.com (outmail128183.authsmtp.com [62.13.128.183]) by punt3.authsmtp.com (8.13.8/8.13.8/Kp) with ESMTP id l91HDmwl005008; Mon, 1 Oct 2007 18:13:48 +0100 (BST) Received: from josh-berkus-computer-2.local (adsl-63-195-55-98.dsl.snfc21.pacbell.net [63.195.55.98]) (authenticated bits=0) by mail.authsmtp.com (8.13.8/8.13.8/Kp) with ESMTP id l91HDj94006549; Mon, 1 Oct 2007 18:13:46 +0100 (BST) Message-ID: <47012AC5.9040808@agliodbs.com> Date: Mon, 01 Oct 2007 10:13:41 -0700 From: Josh Berkus User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Tom Lane CC: pgsql-hackers@postgreSQL.org, pgsql-novice@postgreSQL.org, Mija Lee Subject: Re: [HACKERS] PG on NFS may be just a bad idea References: <25517.1191038302@sss.pgh.pa.us> In-Reply-To: <25517.1191038302@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Server-Quench: abbb6510-7041-11dc-b86a-001185d377ca X-AuthRoute: OCdyZgscClZXSx8a IioLCC5HRQ8+YBZL BAkGMA9GIUINWEQN c1ACdx10O0FbHwkB BHYKU15VU1d1Xi1z aBRQZABDZ09QVg11 Uk1LR01SWllhAGR1 XBcaUhl0cgFPNn9z ZkMsDyIJDkJ/dEZg RU5QFHAHZDMzdTIX VhFFdwNVcQtPKhxC bQMuGhFYa3VsHgsT PCIJBAV5BRoXLyId ZC82ZVcbUA4BE3Y+ WgseVTxnF0QJDyQ/ IhVO X-Authentic-SMTP: 61633136333939.squirrel.dmpriest.net.uk:752/Kp X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-Virus-Status: No virus detected - but ensure you scan with your own anti-virus system! X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/2 X-Sequence-Number: 19454 Tom, > Maybe we need to actively discourage people from running Postgres > against NFS-mounted data directories. Shane Kerr's paper cited above > mentions some other rather scary properties, including O_EXCL file > creation not really working properly. Wouldn't you be describing a Linux-specific issue, though? And possibly kernel-specific? It's hard to reconcile this with the real-world performance of PostgreSQL on NFS, which is happening all over the place. Most notably, Joe Conway's 20,000 txn/sec. I *do* think it's an accurate statement that if you're going to use Postgres, or any other OLTP database, on NFS you'd better have access to a NAS expert. But to say that it's a bad idea even if you have expert help is probably going to far. --Josh Berkus