Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id C80254759FF for ; Mon, 10 Jun 2002 19:55:21 -0400 (EDT) Received: from linuxmail.lgsinc.com (unknown [12.22.4.163]) by postgresql.org (Postfix) with ESMTP id 58F1C475A76 for ; Mon, 10 Jun 2002 19:55:20 -0400 (EDT) Received: from timetop (sun.lgsinc.com [12.22.4.165]) by linuxmail.lgsinc.com (8.11.0/8.8.7) with SMTP id g5ANsT127303; Mon, 10 Jun 2002 16:54:29 -0700 Date: Mon, 10 Jun 2002 16:46:07 -0700 From: Tim Ellis To: Tom Lane Cc: pgsql-admin@postgresql.org Subject: Re: FAQ Q Message-Id: <20020610164607.6439eb6b.Tim.Ellis@gamet.com> In-Reply-To: <8872.1023743783@sss.pgh.pa.us> References: <20020610124654.44d7b7fb.Tim.Ellis@gamet.com> <8872.1023743783@sss.pgh.pa.us> Organization: Gamet X-Mailer: Sylpheed version 0.7.4 (GTK+ 1.2.10; i586-mandrake-linux-gnu) WerdupHomey: 3.14159265358979323 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archive-Number: 200206/67 X-Sequence-Number: 4502 On Mon, 10 Jun 2002 17:16:23 -0400 Tom Lane wrote: > You do not have to trust Postgres itself: in all cases we push the log > entries out to the OS before declaring a transaction committed. In all cases while fsync mode is enabled, not in all cases (including no-fsync) right? > question at hand is whether we use fsync() or other methods to try to > force the OS to write to disk before we report the transaction > committed. Without that, a system-level crash immediately after a > commit report might mean the "committed" transaction isn't reflected as > committed on disk. So no-fsync simply means that "commit" != "sync'd to disk"? How is this different than the big boys do it? From Sybase internals classes and Oracle documentation, I know that when you say "COMMIT" you don't get any response back until the RDBMS has written that transaction TO DISK. Is the FAQ being too generous in speed and too unfair in recoverability to the commercial offerings here?