Re: Strange plan in pg 8.1.0 - Mailing list pgsql-performance

From Steinar H. Gunderson
Subject Re: Strange plan in pg 8.1.0
Date
Msg-id 20061030122733.GA6357@uio.no
Whole thread Raw
In response to Strange plan in pg 8.1.0  (Mattias Kregert <mattias@kregert.se>)
List pgsql-performance
On Mon, Oct 30, 2006 at 01:05:07PM +0200, Mattias Kregert wrote:
>          ->  Hash Left Join  (cost=59.66..206763.11 rows=1215336 width=27) (actual time=4.959..3228.550 rows=1216434
loops=1)
>                Hash Cond: (("outer".prislista = ("inner".listid)::text) AND ("outer".tjanst =
("inner".tjanstid)::text))

Note the conversion to text here. Are you sure the types are matching on both
sides of the join?

/* Steinar */
--
Homepage: http://www.sesse.net/

pgsql-performance by date:

Previous
From: Mattias Kregert
Date:
Subject: Strange plan in pg 8.1.0
Next
From: "Spiegelberg, Greg"
Date:
Subject: Re: Best COPY Performance