Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 6CE56476920 for ; Fri, 4 Oct 2002 12:36:01 -0400 (EDT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by postgresql.org (Postfix) with SMTP id 328704768CD for ; Fri, 4 Oct 2002 12:36:00 -0400 (EDT) Received: (qmail 18434 invoked by uid 0); 4 Oct 2002 16:36:05 -0000 Received: from chello062178186201.1.15.tuwien.teleweb.at (HELO beeblebrox) (62.178.186.201) by mail.gmx.net (mp016-rz3) with SMTP; 4 Oct 2002 16:36:05 -0000 Message-ID: <01c601c26bc4$73d5f900$4201a8c0@beeblebrox> From: "Michael Paesold" To: References: <3D9C8712.9513.9C6521D@localhost> <3D9CBAD7.23509.A908C61@localhost> <3D9C7579.2010206@cybertec.at> <20021003170920.X18497@mail.libertyrms.com> Subject: Re: Large databases, performance Date: Fri, 4 Oct 2002 18:38:21 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/21 X-Sequence-Number: 38 Andrew Sullivan wrote: > On Thu, Oct 03, 2002 at 06:51:05PM +0200, 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. > > It is my understanding that MySQL no longer does this on InnoDB > tables. Whether various bag-on-the-side table types are a good thing > I will leave to others; but there's no reason to go 'round making > claims about old versions of MySQL any more than there is a reason to > continue to talk about PostgreSQL not being crash safe. MySQL has > moved along nearly as quickly as PostgreSQL. Locking and transactions is not fine in MySQL (with InnoDB) though. I tried to do selects on a table I was concurrently inserting to. In a single thread I was constantly inserting 1000 rows per transaction. While inserting I did some random selects on the same table. It often happend that the insert transactions were aborted due to dead lock problems. There I see the problem with locking reads. I like PostgreSQL's MVCC! Regards, Michael Paesold