Selection of join algorithm.

From: Ishaya Bhatt <ishayabhatt(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Selection of join algorithm.
Date: 2014-03-08 14:18:48
Message-ID: CA+E1M32XmGoOPcaNEADOO40c2Xx09kU0as5+=H5GQU7L18=26w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

I am trying to analyze join performance. But I see that even for a table
having 100,000 rows and join attribute as primary key, postgres always
performs hash join.

Can anyone please tell me under which conditions merge join or nested loop
join is invoked?

Thanks and Regards,
Ishaya

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Patrick Curran 2014-03-08 15:15:20 Re: Static Code Analysis Exploits.
Previous Message Tomonari Katsumata 2014-03-08 12:03:09 Little confusing things about client_min_messages.