Patch: improve selectivity estimation for IN/NOT IN

From: Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Patch: improve selectivity estimation for IN/NOT IN
Date: 2012-03-03 19:52:32
Message-ID: CA+mi_8aPEAzBgWZpNTABGM=cSq7mRMyPWbMsU8eGmUfH75OTLA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello,

the attached patch improves the array selectivity estimation for = ANY
and <> ALL, hence for the IN/NOT IN operators, to avoid the
shortcoming described in
<http://archives.postgresql.org/pgsql-performance/2012-03/msg00006.php>.

Cheers,

-- Daniele

Attachment Content-Type Size
0001-Improve-array-selectivity-estimation-for-ANY-and-ALL.patch text/x-patch 2.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2012-03-03 19:53:31 Re: COPY with hints, rebirth
Previous Message Thom Brown 2012-03-03 19:47:40 Re: Command Triggers, patch v11