X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 99B7E5664A for ; Wed, 2 Mar 2005 21:40:36 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 05912-04 for ; Wed, 2 Mar 2005 21:40:31 +0000 (GMT) Received: from boutiquenumerique.com (boutiquenumerique.com [82.67.9.10]) by svr1.postgresql.org (Postfix) with ESMTP id 3562156677 for ; Wed, 2 Mar 2005 21:40:29 +0000 (GMT) Received: (qmail 18757 invoked from network); 2 Mar 2005 22:41:14 +0100 Received: from unknown (HELO musicbox) (boutiquenumerique-lists@192.168.0.2) by boutiquenumerique.com with SMTP; 2 Mar 2005 22:41:14 +0100 Date: Wed, 02 Mar 2005 22:45:38 +0100 To: "Scott Marlowe" , mauro Subject: Re: Postgres performance Cc: pgsql-sql@postgresql.org References: <421D8ABC.2030601@archonet.com> <1109775613.30529.359.camel@state.g2switchworks.com> From: PFC Organization: =?iso-8859-15?Q?La_Boutique_Num=E9rique?= Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <1109775613.30529.359.camel@state.g2switchworks.com> User-Agent: Opera M2/7.54u1 (Linux, build 892) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.004 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200503/28 X-Sequence-Number: 20507 > The reason PostgreSQL is slower is because it (and by extension the team > behind it) cares about your data. Sure, postgres is (a bit but not much) slower for a simple query like SELECT * FROM one table WHERE id=some number, and postgres is a lot slower for UPDATES (although I heard that it's faster than MySQL InnoDB)... but try a query with a join on few tables, even a simple one, and postgres will outperform mysql, sometimes by 2x, sometimes 1000 times. I had a case with a join between 4 tables, two of them having 50k records ; I was only pulling 6 records... mysql spent half a second and postgres 0.5 ms... hell !