Re: NOT IN subquery optimization

From: Jim Finnerty <jfinnert(at)amazon(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: NOT IN subquery optimization
Date: 2019-02-21 03:27:47
Message-ID: 1550719667838-0.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

We can always correctly transform a NOT IN to a correlated NOT EXISTS. In
almost all cases it is more efficient to do so. In the one case that we've
found that is slower it does come down to a more general costing issue, so
that's probably the right way to think about it.

-----
Jim Finnerty, AWS, Amazon Aurora PostgreSQL
--
Sent from: http://www.postgresql-archive.org/PostgreSQL-hackers-f1928748.html

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2019-02-21 03:28:32 Re: Refactoring the checkpointer's fsync request queue
Previous Message Amit Langote 2019-02-21 02:31:31 Re: speeding up planning with partitions