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 CD19C9DC9F2; Thu, 22 Dec 2005 03:30:22 -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 29292-09; Thu, 22 Dec 2005 03:30:22 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- X-Greylist: from auto-whitelisted by SQLgrey- Received: from server10.araisoft.com (unknown [72.9.228.195]) by postgresql.org (Postfix) with ESMTP id 6F3769DCBC9; Thu, 22 Dec 2005 03:30:20 -0400 (AST) Received: from localhost (unknown [127.0.0.1]) by server10.araisoft.com (Postfix) with ESMTP id 2A7673D62011; Wed, 21 Dec 2005 23:30:18 -0800 (PST) Received: from server10.araisoft.com ([127.0.0.1]) by localhost (server10.araisoft.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27253-03; Wed, 21 Dec 2005 23:30:14 -0800 (PST) Received: from [192.168.1.103] (adsl-69-235-152-146.dsl.irvnca.pacbell.net [69.235.152.146]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server10.araisoft.com (Postfix) with ESMTP id 035303D62008; Wed, 21 Dec 2005 23:30:14 -0800 (PST) Message-ID: <43AA5607.20000@cs.ucr.edu> Date: Wed, 21 Dec 2005 23:30:15 -0800 From: Benjamin Arai User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org, pgsql-general@postgresql.org Subject: Running with fsync=off Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at araisoft.com X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200512/267 X-Sequence-Number: 19987 I want to be able to do large updates on an existing backed up database with fsync=off but at the end of the updates how do I ensure that the data gets synced? Somebody said running "sync ; sync; sync" from the console. This seems reasonable but why not just "sync" or is there another command I should ruyn after the update either in postgres or the console?