pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: scott.marlowe <scott.marlowe@ihs.com>
To: hs@cybertec.at
Cc: shridhar_daithankar@persistent.co.in
Cc: pgsql-performance@postgresql.org
Cc: pgsql-general@postgresql.org
Subject: Re: [HACKERS] Large databases, performance
Date: Fri, 4 Oct 2002 10:05:10 -0600 (MDT)
Message-ID: <Pine.LNX.4.33.0210040958440.9386-100000@css120.ihs.com> (raw)
In-Reply-To: <3D9C7579.2010206@cybertec.at>

On Thu, 3 Oct 2002, Hans-Jürgen Schönig wrote:

> In the case of concurrent transactions MySQL does not do as well due to 
> very bad locking behavious. PostgreSQL is far better because it does row 
> level locking instead of table locking.
> If you have many concurrent transactions MySQL performs some sort of 
> "self-denial-of-service". I'd choose PostgreSQL in order to make sure 
> that the database does not block.

While I'm no big fan of MySQL, I must point out that with innodb tables, 
the locking is row level, and the ability to handle parallel read / write 
is much improved.

Also, Postgresql does NOT use row level locking, it uses MVCC, which is 
"better than row level locking" as Tom puts it.

Of course, hot backup is only 2,000 Euros for an innodb table mysql, while 
hot backup for postgresql is free. :-)

That said, MySQL still doesn't handle parallel load nearly as well as 
postgresql, it's just better than it once was.

> Also: Keep in mind that PostgreSQL has a wonderful core team. MySQL is 
> built on Monty Widenius and the core team = Monty.
> Also: PostgreSQL = ANSI compilant, MySQL = Monty compliant

This is a very valid point.  The "committee" that creates and steers 
Postgresql is very much a meritocracy.  The "committee" that steers MySQL 
is Monty.  

I'm much happier knowing that every time something important needs to be 
done we have a whole cupboard full of curmudgeons arguing the fine points 
so that the "right thing" gets done.





view thread (48+ messages)  latest in thread

Message-ID: <Pine.LNX.4.33.0210040958440.9386-100000@css120.ihs.com>
Permalink:  ../Pine.LNX.4.33.0210040958440.9386-100000@css120.ihs.com/
Also on:    postgresql.org/message-id/Pine.LNX.4.33.0210040958440.9386-100000@css120.ihs.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: scott.marlowe@ihs.com, hs@cybertec.at, shridhar_daithankar@persistent.co.in, pgsql-performance@postgresql.org, pgsql-general@postgresql.org
  Subject: Re: [HACKERS] Large databases, performance
  In-Reply-To: <Pine.LNX.4.33.0210040958440.9386-100000@css120.ihs.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