X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 671F1D6D8D for ; Thu, 22 Sep 2005 00:13:14 -0300 (ADT) 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 06757-04 for ; Thu, 22 Sep 2005 03:13:12 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id B4815DA141 for ; Thu, 22 Sep 2005 00:13:11 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j8M3CvbH024009; Wed, 21 Sep 2005 23:12:57 -0400 (EDT) To: "Gurpreet Aulakh" Cc: pgsql-performance@postgresql.org Subject: Re: Query slower on 8.0.3 (Windows) vs 7.3 (cygwin) In-reply-to: References: Comments: In-reply-to "Gurpreet Aulakh" message dated "Wed, 21 Sep 2005 17:11:17 -0700" Date: Wed, 21 Sep 2005 23:12:57 -0400 Message-ID: <24008.1127358777@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 required=5 tests=[AWL=0.006] X-Spam-Level: X-Archive-Number: 200509/232 X-Sequence-Number: 14540 "Gurpreet Aulakh" writes: > What is really interesting is the time it takes for the Hash to occur. For > the first hash, on the 7.3 it takes only 12ms while on the 8.0 it takes > 47ms. You haven't told us a thing about the column datatypes involved (much less what the query actually is) ... but I wonder if this is a textual datatype and the 8.0 installation is using a non-C locale where the 7.3 installation is using C locale. That could account for a considerable slowdown in text comparison speeds. regards, tom lane