From: Tim Ellis <Tim.Ellis@gamet.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: FAQ Q
Date: Mon, 10 Jun 2002 16:46:07 -0700
Message-ID: <20020610164607.6439eb6b.Tim.Ellis@gamet.com> (raw)
In-Reply-To: <8872.1023743783@sss.pgh.pa.us>
References: <20020610124654.44d7b7fb.Tim.Ellis@gamet.com>
<8872.1023743783@sss.pgh.pa.us>
On Mon, 10 Jun 2002 17:16:23 -0400
Tom Lane <tgl@sss.pgh.pa.us> 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?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: Tim.Ellis@gamet.com, tgl@sss.pgh.pa.us
Subject: Re: FAQ Q
In-Reply-To: <20020610164607.6439eb6b.Tim.Ellis@gamet.com>
References: <20020610124654.44d7b7fb.Tim.Ellis@gamet.com> <8872.1023743783@sss.pgh.pa.us> <20020610164607.6439eb6b.Tim.Ellis@gamet.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox