Re: BUG #2930: Hash join abyssmal with many null fields. - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #2930: Hash join abyssmal with many null fields.
Date
Msg-id 18474.1169790592@sss.pgh.pa.us
Whole thread Raw
In response to BUG #2930: Hash join abyssmal with many null fields.  ("Maciej Babinski" <maciej+postgres@apathy.killer-robot.net>)
Responses Re: BUG #2930: Hash join abyssmal with many null fields.  (Maciej Babinski <maciej@killer-robot.net>)
List pgsql-bugs
"Maciej Babinski" <maciej+postgres@apathy.killer-robot.net> writes:
> Hash join of columns with many null fields is very slow unless the null
> fields are commented out.

I see no bug here.  AFAICT your "much faster" query gets that way by
having eliminated all the candidate join rows on the B side.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Troubles in Initializing Postgres Database 8.2
Next
From: Tom Lane
Date:
Subject: Re: BUG #2930: Hash join abyssmal with many null fields.