Re: BitmapAnd on correlated column?

From: greigwise <greigwise(at)comcast(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: BitmapAnd on correlated column?
Date: 2019-10-04 13:19:36
Message-ID: 1570195176826-0.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>Extended statistics will tell PostgreSQL that it is very unlikely
>that the first condition will contribute significantly, but that
>is no proof that the condition can be omitted, so the optimizer
>cannot just skip the condition.

Granted it cannot skip the condition, but that doesn't mean that it has to
use that second index. It's doing a recheck on the conditions anyway,
right?

Thanks.
Greig

--
Sent from: https://www.postgresql-archive.org/PostgreSQL-general-f1843780.html

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Matthias Apitz 2019-10-04 13:25:29 Perl DBI converts UTF-8 again to UTF-8 before sending it to the server
Previous Message Marcelo Lacerda 2019-10-04 13:00:17 Clarification on the release notes of postgresql 12 regarding pg_upgrade