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

From scott.marlowe
Subject Re: Humor me: Postgresql vs. MySql (esp. licensing)
Date
Msg-id Pine.LNX.4.33.0310100937140.19056-100000@css120.ihs.com
Whole thread Raw
In response to Re: Humor me: Postgresql vs. MySql (esp. licensing)  (Vivek Khera <khera@kcilink.com>)
List pgsql-general
On Thu, 9 Oct 2003, Vivek Khera wrote:

> >>>>> "SD" == Shridhar Daithankar <shridhar_daithankar@persistent.co.in> writes:
>
> SD> Do a shutdown -h on a live database machine with pg. It will
> SD> gracefully shut itself down.
>
>
> I think it is a timing issue.  The PG has no way to notify the OS that
> it has finished exiting, so if it takes a long time to exit, the OS
> 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.

While it is possible to lose a non-committed transaction, WAL prevents the
database from becoming corrupted.  Assuming proper fsyncing of your hard
drives (i.e. SCSI, or IDE with write cache disabled)


pgsql-general by date:

Previous
From: Harry Broomhall
Date:
Subject: Re: UPDATE and outer joins
Next
From: "scott.marlowe"
Date:
Subject: Re: Humor me: Postgresql vs. MySql (esp. licensing)