Re: BitmapAnd on correlated column? - Mailing list pgsql-general

From greigwise
Subject Re: BitmapAnd on correlated column?
Date
Msg-id 1570195176826-0.post@n3.nabble.com
Whole thread Raw
In response to Re: BitmapAnd on correlated column?  (Laurenz Albe <laurenz.albe@cybertec.at>)
Responses Re: BitmapAnd on correlated column?
List 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



pgsql-general by date:

Previous
From: Marcelo Lacerda
Date:
Subject: Clarification on the release notes of postgresql 12 regarding pg_upgrade
Next
From: Matthias Apitz
Date:
Subject: Perl DBI converts UTF-8 again to UTF-8 before sending it to theserver