X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (developer.postgresql.org [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id AB1D6B43162 for ; Sun, 6 Jul 2003 00:13:25 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 13734-07 for ; Sat, 5 Jul 2003 21:13:14 -0300 (ADT) Received: from fuji.krosing.net (unknown [194.204.44.118]) by svr1.postgresql.org (Postfix) with ESMTP id D37ADB430BF for ; Sat, 5 Jul 2003 21:13:13 -0300 (ADT) Received: from fuji.krosing.net (localhost.localdomain [127.0.0.1]) by fuji.krosing.net (8.12.8/8.12.8) with ESMTP id h660C1rP017564; Sun, 6 Jul 2003 03:12:02 +0300 Received: (from hannu@localhost) by fuji.krosing.net (8.12.8/8.12.8/Submit) id h660BxDr017562; Sun, 6 Jul 2003 03:11:59 +0300 X-Authentication-Warning: fuji.krosing.net: hannu set sender to hannu@tm.ee using -f Subject: Re: PostgreSQL vs. MySQL From: Hannu Krosing To: Brian Tarbox Cc: Rafal Kedziorski , pgsql-performance@postgresql.org In-Reply-To: <01af01c34227$a6cff470$01000001@trouble> References: <01af01c34227$a6cff470$01000001@trouble> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1057450318.17490.8.camel@fuji.krosing.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.0 Date: 06 Jul 2003 03:11:58 +0300 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/104 X-Sequence-Number: 2397 Brian Tarbox kirjutas R, 04.07.2003 kell 15:27: > I recently took a system from MySQL to Postgres. Same HW, SW, same data. > The major operations where moderately complex queries (joins on 8 tables). > The results we got was that Postgres was fully 3 times slower than MySql. For each and every query ?? > We were on this list a fair bit looking for answers and tried all the > standard answers. Could you post the list of "standard answers" you tried ? > It was still much much much slower. Was this with InnoDB ? what kind of joins were they (i.e "FROM a JOIN b on a.i=b.i" or "FROM a,b WHERE a.i = b.i" ? What was the ratio of planning time to actual execution time in pgsql? Where the queries originally optimized for MySQL ? ---------------- Hannu