pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steinar H. Gunderson <sgunderson@bigfoot.com>
To: Mattias Kregert <mattias@kregert.se>
Cc: pgsql-performance@postgresql.org
Subject: Re: Strange plan in pg 8.1.0
Date: Mon, 30 Oct 2006 13:27:33 +0100
Message-ID: <20061030122733.GA6357@uio.no> (raw)
In-Reply-To: <200610301205.08087.mattias@kregert.se>
References: <200610301205.08087.mattias@kregert.se>

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/



view thread (6+ messages)  latest in thread

Message-ID: <20061030122733.GA6357@uio.no>
Permalink:  ../20061030122733.GA6357@uio.no/
Also on:    postgresql.org/message-id/20061030122733.GA6357@uio.no

 · 

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: sgunderson@bigfoot.com, mattias@kregert.se
  Subject: Re: Strange plan in pg 8.1.0
  In-Reply-To: <20061030122733.GA6357@uio.no>

* 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