From: nolan@celery.tssi.com
To: shridhar_daithankar@persistent.co.in
Cc: pgsql-general@postgresql.org
Subject: Re: Humor me: Postgresql vs. MySql (esp. licensing)
Date: Thu, 9 Oct 2003 08:33:12 -0500 (CDT)
Message-ID: <20031009133312.17394.qmail@celery.tssi.com> (raw)
In-Reply-To: <3F850350.9010601@persistent.co.in>
> > It sounds like that is more a problem with improper operating protocols
> > than with the underlying database.
>
> No. Problem is machine was shutdown with shutdown -h. It sends sigterm to
> everybody. A good process would flsuh the buffers to disk before finishing.
> Mysql didn't on that occasion.
> Transactions or not, this behaviour is unacceptable for any serious app.
True, but was it because the shutdown scripts weren't set up properly
or does MySQL just not handle the 'kill' properly? (I would consider the
latter a serious bug.)
I still fault the operations protocol, part of what should be done in
setting up a production shop is testing various shutdown options, and it
sounds like that wasn't done in advance or they would have known to build
in extra steps for shutting down MySQL.
> Do a shutdown -h on a live database machine with pg. It will gracefully shut
> itself down.
Is that true for all OS flavors and is it dependent upon the DBA having
set up proper shutdown scripts?
I'm not trying to be argumentative here or defending MySQL, just noting
that a shutdown process that isn't tested can cause problems even with
commercial databases. And as someone who has to put up with MySQL on
occasion, I'm always looking for problem areas for the DBA.
--
Mike Nolan
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-general@postgresql.org
Cc: nolan@celery.tssi.com, shridhar_daithankar@persistent.co.in
Subject: Re: Humor me: Postgresql vs. MySql (esp. licensing)
In-Reply-To: <20031009133312.17394.qmail@celery.tssi.com>
References: <3F850350.9010601@persistent.co.in> <20031009133312.17394.qmail@celery.tssi.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