Re: postgre vs MySQL

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "paul rivers" <rivers(dot)paul(at)gmail(dot)com>
Cc: "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>, "Ivan Sergio Borgonovo" <mail(at)webthatworks(dot)it>, pgsql-general(at)postgresql(dot)org
Subject: Re: postgre vs MySQL
Date: 2008-03-13 03:37:42
Message-ID: dcc563d10803122037r1e8d7c9n9b4fb76d9c29ab72@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Mar 12, 2008 at 1:02 PM, paul rivers <rivers(dot)paul(at)gmail(dot)com> wrote:

> - Auto_increment columns as pkeys in InnoDB tables are practically
> required, yet severely limited scalability due to how a transaction
> would lock the structure to get the next auto-increment (significantly
> improved in 5.1)

Pretty sure they implemented the fix for that in an early 5.0 release.
I remember chatting with Heikki Turri about it.

> There are other complaints you'd expect people to have, but don't seem
> to get talked about much, because people are so used to (from my point
> of view) working around them. For example, statistics on an InnoDB table
> are calculated when the table is first accessed, but not stored
> anywhere, so there are extra costs on database startup. The backup issue
> with InnoDB has already been covered. Tablespace management in InnoDB
> seems exceptionally primitive, and is helped somewhat by the
> tablespace-per-table option. There are many more, again imho.

I remember seeing something about some problems that using the
tablespace per table option on some mysql site... goes to look...
paraphrased from the Mysql Performance Blod... Using the
innodb_file_per_table=1 setting really tends to work against you, as
you tend to get lots of bloated tables over time. If all your innodb
tables are in the same file, then when one frees space, another can
use it. with files per table, you can't recover space this way.

My real complaint with InnoDB is it's a red headed step child. If
mysql supported only innodb, it would be a very different database,
and probably a bit simpler as well. no need to worry about how you
state fk-pk relationships (currently column level references are
silently dropped for innodb OR myisam). If there was a run time
switch that said "use only innodb and use syntax that's sane" I'd
probably be willing to test that out.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ow Mun Heng 2008-03-13 03:45:24 Re: Column Statistics - How to dertermine for whole database
Previous Message Adam Rich 2008-03-13 02:33:53 Re: Column Statistics - How to dertermine for whole database