X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 2208A11F6949 for ; Tue, 28 Mar 2006 16:44:17 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 09605-07-2 for ; Tue, 28 Mar 2006 16:44:12 -0400 (AST) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id CBD6111F691E for ; Tue, 28 Mar 2006 16:44:09 -0400 (AST) Received: from exchange.g2switchworks.com (mail.g2switchworks.com [63.87.162.25]) by svr4.postgresql.org (Postfix) with ESMTP id 160695AFFB9 for ; Tue, 28 Mar 2006 19:51:07 +0000 (GMT) Received: from 10.10.1.37 ([10.10.1.37]) by exchange.g2switchworks.com ([10.10.1.2]) with Microsoft Exchange Server HTTP-DAV ; Tue, 28 Mar 2006 19:50:45 +0000 Received: from state.g2switchworks.com by mail.g2switchworks.com; 28 Mar 2006 13:50:45 -0600 Subject: Re: Decide between Postgresql and Mysql (help of From: Scott Marlowe To: PFC Cc: Marcos , pgsql-performance@postgresql.org In-Reply-To: References: <1143559902.1241.16.camel@servidor> <1143572392.3625.79.camel@state.g2switchworks.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1143575445.3625.87.camel@state.g2switchworks.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Tue, 28 Mar 2006 13:50:45 -0600 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.142 required=5 tests=[AWL=0.141, UNPARSEABLE_RELAY=0.001] X-Spam-Score: 0.142 X-Spam-Level: X-Archive-Number: 200603/560 X-Sequence-Number: 17997 On Tue, 2006-03-28 at 13:42, PFC wrote: > > This is as much about the code in front of the database as the database > > itself. You'll want to use an architecture that supports pooled > > connections (java, php under lighttpd, etc...) and you'll want to look > > Well, anybody who uses PHP and cares about performance is already using > lighttpd, no ? > > > MySQL and PostgreSQL can handle fairly heavy parallel loads. > > I'll only speak about MyISAM. MySQL == MyISAM. InnoDB is useless : if you > want transactions, use postgres. I agree with most of what you posted, but I'm not quite sure what you meant here. Innodb in and of itself is a fairly decent MVCC implementation, with, as usual, some limitations (it's rollback performance is HORRIFICLY bad). What really makes innodb useless to me is that there's no real support for proper operation by MySQL itself. If you could force MySQL to only use innodb tables, and to NEVER do the wrong things syntactically, it would be ok. But there are thousands of foot-guns in the MySQL - Innodb combination waiting to take off your toes. Too many to count really. To me, that's what makes innodb so useless, the way MySQL fails to integrate well with it.