pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Danny Shemesh <dany74q@gmail.com>
To: pgsql-general@postgresql.org
Subject: Re: Index filter instead of index condition w/ IN / ANY queries above certain set size
Date: Wed, 23 Nov 2022 10:22:40 +0100
Message-ID: <df2e15e9b4d5d72ce2e6a6dc65eb8dc529cee8d8.camel@cybertec.at> (raw)
In-Reply-To: <CAFZC=QoOTo4gYBA-gDz-XJejfBZVfgy3VZV7zpQc6T4C+3Yf+g@mail.gmail.com>
References: <CAFZC=QoOTo4gYBA-gDz-XJejfBZVfgy3VZV7zpQc6T4C+3Yf+g@mail.gmail.com>

On Wed, 2022-11-23 at 10:49 +0200, Danny Shemesh wrote:
> I'm trying to understand when the planner decides to use an index condition vs an index filter

I am not sure what you mean by "index filter".

If you could send the result of EXPLAIN (ANALYZE, BUFFERS) for the queries,
that would be most useful.

Yours,
Laurenz Albe





view thread (6+ messages)  latest in thread

Message-ID: <df2e15e9b4d5d72ce2e6a6dc65eb8dc529cee8d8.camel@cybertec.at>
Permalink:  ../df2e15e9b4d5d72ce2e6a6dc65eb8dc529cee8d8.camel@cybertec.at/
Also on:    postgresql.org/message-id/df2e15e9b4d5d72ce2e6a6dc65eb8dc529cee8d8.camel@cybertec.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: laurenz.albe@cybertec.at, dany74q@gmail.com
  Subject: Re: Index filter instead of index condition w/ IN / ANY queries above certain set size
  In-Reply-To: <df2e15e9b4d5d72ce2e6a6dc65eb8dc529cee8d8.camel@cybertec.at>
  References: <CAFZC=QoOTo4gYBA-gDz-XJejfBZVfgy3VZV7zpQc6T4C+3Yf+g@mail.gmail.com> <df2e15e9b4d5d72ce2e6a6dc65eb8dc529cee8d8.camel@cybertec.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox