pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff MacDonald <info@bignose.ca>
To: Vivek Khera <khera@kcilink.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Humor me: Postgresql vs. MySql (esp. licensing)
Date: Thu, 09 Oct 2003 14:37:10 -0300
Message-ID: <1065721030.3413.1.camel@milhouse.bignose.ca> (raw)
In-Reply-To: <x7oewqnws9.fsf@yertle.int.kciLink.com>
References: <20031009000319.6397.qmail@celery.tssi.com>
	<3F850350.9010601@persistent.co.in>
	<x7oewqnws9.fsf@yertle.int.kciLink.com>

Yes, but at least with transactions when the machine comes back up
you'll be in a consistant state. Ie: postgres will know the transaction
didn't finish, and should rollback what it was doing, when it starts up
again.

Without transactions you don't know if half of your operation completed
or all of it or etc.. pretty dangerous state to have your data in.

Or... at least this is now I understand it.

Jeff.

On Thu, 2003-10-09 at 14:30, 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.




view thread (111+ messages)  latest in thread

Message-ID: <1065721030.3413.1.camel@milhouse.bignose.ca>
Permalink:  ../1065721030.3413.1.camel@milhouse.bignose.ca/
Also on:    postgresql.org/message-id/1065721030.3413.1.camel@milhouse.bignose.ca

 · 

reply

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: info@bignose.ca, khera@kcilink.com
  Subject: Re: Humor me: Postgresql vs. MySql (esp. licensing)
  In-Reply-To: <1065721030.3413.1.camel@milhouse.bignose.ca>
  References: <20031009000319.6397.qmail@celery.tssi.com> <3F850350.9010601@persistent.co.in> <x7oewqnws9.fsf@yertle.int.kciLink.com> <1065721030.3413.1.camel@milhouse.bignose.ca>

* 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