Re: FW: Query Plan problem - Mailing list pgsql-performance

From Tom Lane
Subject Re: FW: Query Plan problem
Date
Msg-id 2115.1054531887@sss.pgh.pa.us
Whole thread Raw
In response to FW: Query Plan problem  (George Papastamatopoulos <George.Papastamatopoulos@lawlex.com.au>)
List pgsql-performance
George Papastamatopoulos <George.Papastamatopoulos@lawlex.com.au> writes:
>> ... WHERE tblUser.id IN
>> ('102','103','104','105','106','107','108','109','110','111','112','113','
>> 114','115','116','117','118','119','120','121','122','123','124','125','12
> ...

What's the datatype of tblUser.id?  What indexes do you have on the
table?

Also, are both databases built with the same locale/encoding support
and initdb-time choices?  What are they?

            regards, tom lane

pgsql-performance by date:

Previous
From: George Papastamatopoulos
Date:
Subject: FW: Query Plan problem
Next
From: "Mindaugas Riauba"
Date:
Subject: Degrading performance