pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Gurpreet Aulakh <gaulakh@ecmarket.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Query slower on 8.0.3 (Windows) vs 7.3 (cygwin)
Date: Wed, 21 Sep 2005 23:12:57 -0400
Message-ID: <24008.1127358777@sss.pgh.pa.us> (raw)
In-Reply-To: <IGEGINLEEDLANNHAAKCMIECGCCAA.gaulakh@ecmarket.com>
References: <IGEGINLEEDLANNHAAKCMIECGCCAA.gaulakh@ecmarket.com>

"Gurpreet Aulakh" <gaulakh@ecmarket.com> 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



view thread (8+ messages)  latest in thread

Message-ID: <24008.1127358777@sss.pgh.pa.us>
Permalink:  ../24008.1127358777@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/24008.1127358777@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, gaulakh@ecmarket.com
  Subject: Re: Query slower on 8.0.3 (Windows) vs 7.3 (cygwin)
  In-Reply-To: <24008.1127358777@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox