X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id D108ED1B56D for ; Thu, 9 Oct 2003 13:34:54 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 24384-03 for ; Thu, 9 Oct 2003 10:34:12 -0300 (ADT) Received: from celery.tssi.com (celery.tssi.com [198.147.197.6]) by svr1.postgresql.org (Postfix) with SMTP id 290ADD1B567 for ; Thu, 9 Oct 2003 10:34:08 -0300 (ADT) Received: (qmail 17395 invoked by uid 1000); 9 Oct 2003 13:33:13 -0000 Message-ID: <20031009133312.17394.qmail@celery.tssi.com> From: nolan@celery.tssi.com Subject: Re: Humor me: Postgresql vs. MySql (esp. licensing) To: shridhar_daithankar@persistent.co.in (Shridhar Daithankar) Date: Thu, 9 Oct 2003 08:33:12 -0500 (CDT) Cc: pgsql-general@postgresql.org In-Reply-To: <3F850350.9010601@persistent.co.in> from "Shridhar Daithankar" at Oct 09, 2003 12:12:24 PM X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/403 X-Sequence-Number: 50476 > > 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