Re: fairly current mysql v postgresql comparison need for

From: Mike Mascari <mascarm(at)mascari(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Arjen van der Meijden <acm(at)tweakers(dot)net>, "'scott(dot)marlowe'" <scott(dot)marlowe(at)ihs(dot)com>, "'Randal L(dot) Schwartz'" <merlyn(at)stonehenge(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: fairly current mysql v postgresql comparison need for
Date: 2003-03-24 21:18:51
Message-ID: 3E7F763B.5040200@mascari.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Bruce Momjian wrote:
> Supposedly MySQL did add MVCC in some fashion, so I assume that's how
> they would do it.

Yep. The row-level locking remark threw me. According to 7.5.8
of their docs:

"In the InnoDB transaction model the goal has been to combine
the best properties of a multi-versioning database to
traditional two-phase locking. InnoDB does locking on row level
and runs queries by default as non-locking consistent reads, in
the style of Oracle. The lock table in InnoDB is stored so
space-efficiently that lock escalation is not needed: typically
several users are allowed to lock every row in the database, or
any random subset of the rows, without InnoDB running out of
memory."

Now I'm not sure why someone would need InnoDB Hot Backup:

http://www.innodb.com/hotbackup.html

when the --single-transaction option to mysqldump would provide
a consistent snapshot.

Mike Mascari
mascarm(at)mascari(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Sullivan 2003-03-24 21:28:01 Re: 4 billion + oids
Previous Message Andrew Ayers 2003-03-24 21:08:39 Re: TEXT datatype and VB6...