Re: enabling nestedloop and disabling hashjon

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ravi Kiran <ravi(dot)kolanpaka(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: enabling nestedloop and disabling hashjon
Date: 2015-02-09 23:58:02
Message-ID: 6386.1423526282@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Ravi Kiran <ravi(dot)kolanpaka(at)gmail(dot)com> writes:
> I tried modifying the postgresql.conf file where I set the value
> enable_hashjoin=off and also enable_mergejoin=off, so that I could force
> postgres to use nested loop.
> but postgres is still using the hash join algorithm even after modifying
> the postgresql code.

Did you remember "pg_ctl reload"? enable_hashjoin=off will most certainly
work if it's active.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2015-02-10 00:21:20 Re: INSERT ... ON CONFLICT {UPDATE | IGNORE} 2.0
Previous Message Tom Lane 2015-02-09 23:56:18 Re: sloppy back-patching of column-privilege leak