X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 81FF79FA4C1 for ; Thu, 15 Jun 2006 02:14:32 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 45326-10 for ; Thu, 15 Jun 2006 02:14:29 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by postgresql.org (Postfix) with ESMTP id CA2389FA4A6 for ; Thu, 15 Jun 2006 02:14:28 -0300 (ADT) Received: by ug-out-1314.google.com with SMTP id a2so709018ugf for ; Wed, 14 Jun 2006 22:14:27 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jqTr4bDhM/9ounZOulKVzQ2j8VDCMSUvijmkk9oNGout3PvjV5d6mtQd9TQHy/c+EyQS/17oBTGLB+xX/xf8IuEC5w4IqL9WrXjcqjEPvz/qZcLZEnLf/CpsMI6fmjXXZv4NHPmZSF+KCCrT60rmcjtH+B7QQJlozo60EAcoigY= Received: by 10.67.30.6 with SMTP id h6mr1384738ugj; Wed, 14 Jun 2006 22:14:26 -0700 (PDT) Received: by 10.67.32.9 with HTTP; Wed, 14 Jun 2006 22:14:26 -0700 (PDT) Message-ID: <36e682920606142214i6a6532f3k1a895a784f7b16dc@mail.gmail.com> Date: Thu, 15 Jun 2006 01:14:26 -0400 From: "Jonah H. Harris" To: "Greg Stark" Subject: Re: Postgres fsync off (not needed) with NetApp Cc: "Mark Lewis" , "Dan Gorman" , pgsql-performance@postgresql.org In-Reply-To: <873be7ay8u.fsf@stark.xeocode.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9A377C54-361D-4F01-BF7A-7632FBA3453C@hi5.com> <1150322085.31200.39.camel@archimedes> <873be7ay8u.fsf@stark.xeocode.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/286 X-Sequence-Number: 19643 On 14 Jun 2006 23:33:53 -0400, Greg Stark wrote: > In fact the benefit of the NVRAM is precisely that it makes sure you *don't* > have any reason to turn fsync off. It should make the fsync essentially free. Having run PostgreSQL on a NetApp with input from NetApp, this is correct. fsync should be turned on, but you will not incur the *real* direct-to-disk cost of the sync, it will be direct-to-NVRAM. -- Jonah H. Harris, Software Architect | phone: 732.331.1300 EnterpriseDB Corporation | fax: 732.331.1301 33 Wood Ave S, 2nd Floor | jharris@enterprisedb.com Iselin, New Jersey 08830 | http://www.enterprisedb.com/