X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 6D68DD1B4FE for ; Sat, 4 Oct 2003 02:39:04 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 96565-03 for ; Fri, 3 Oct 2003 23:38:21 -0300 (ADT) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id F3EA3D1B4EF for ; Fri, 3 Oct 2003 23:38:15 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id h942cHX12107; Fri, 3 Oct 2003 22:38:17 -0400 (EDT) From: Bruce Momjian Message-Id: <200310040238.h942cHX12107@candle.pha.pa.us> Subject: Re: Tuning/performance issue... In-Reply-To: <1065234119.23288.13.camel@jester> To: Rod Taylor Date: Fri, 3 Oct 2003 22:38:17 -0400 (EDT) Cc: Oleg Lebedev , Jeff , "pgsql-performance@postgresql.org" X-Mailer: ELM [version 2.4ME+ PL106 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/129 X-Sequence-Number: 3877 Rod Taylor wrote: -- Start of PGP signed section. > On Fri, 2003-10-03 at 21:39, Bruce Momjian wrote: > > I have updated the FAQ to be: > > > > In comparison to MySQL or leaner database systems, we are > > faster for multiple users, complex queries, and a read/write query > > load. MySQL is faster for SELECT queries done by a few users. > > > > Is this accurate? It seems so. > > May wish to say ... for simple SELECT queries ... Updated. > Several left outer joins, subselects and a large number of joins are > regularly performed faster in PostgreSQL due to a more mature optimizer. > > But MySQL can pump out SELECT * FROM table WHERE key = value; queries in > a hurry. > > > I've often wondered if they win on those because they have a lighter > weight parser / optimizer with less "lets try simplifying this query" I think that is part of it. > steps or if the MYISAM storage mechanism is simply quicker at pulling > data off the disk. And their heap is indexed by myisam, right. I know with Ingres that Isam was usually faster than btree because you didn't have all those leaves to traverse to get to the data. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073