Re: Query slower on 8.0.3 (Windows) vs 7.3 (cygwin)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Gurpreet Aulakh" <gaulakh(at)ecmarket(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Query slower on 8.0.3 (Windows) vs 7.3 (cygwin)
Date: 2005-09-22 03:12:57
Message-ID: 24008.1127358777@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

"Gurpreet Aulakh" <gaulakh(at)ecmarket(dot)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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message K C Lau 2005-09-22 04:21:18 Re: SELECT LIMIT 1 VIEW Performance Issue
Previous Message Gurpreet Aulakh 2005-09-22 00:11:17 Re: Query slower on 8.0.3 (Windows) vs 7.3 (cygwin)