Re: Humor me: Postgresql vs. MySql (esp. licensing) - Mailing list pgsql-general

From Bruce Momjian
Subject Re: Humor me: Postgresql vs. MySql (esp. licensing)
Date
Msg-id 200310102005.h9AK5Xx08938@candle.pha.pa.us
Whole thread Raw
In response to Re: Humor me: Postgresql vs. MySql (esp. licensing)  (Vivek Khera <khera@kcilink.com>)
List pgsql-general
Vivek Khera wrote:
> >>>>> "sm" == scott marlowe <scott.marlowe> writes:
>
> >> will ungracefully kill the DB process(es).  Doesn't matter what DB (or
> >> any other application) you're running, you *can* lose data this way.
>
> sm> While it is possible to lose a non-committed transaction, WAL prevents the
> sm> database from becoming corrupted.  Assuming proper fsyncing of your hard
> sm> drives (i.e. SCSI, or IDE with write cache disabled)
>
> So you're saying it is not possible to corrupt the WAL if the process
> is ungracefully killed by the OS?

Yes, it is impossible, even if the OS crashes too.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-general by date:

Previous
From: Vivek Khera
Date:
Subject: Re: Humor me: Postgresql vs. MySql (esp. licensing)
Next
From: Vivek Khera
Date:
Subject: Re: Table partitioning for maximum speed?