public inbox for [email protected]
help / color / mirror / Atom feedFrom: David Rowley <[email protected]>
To: Jean-Christophe BOGGIO <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: Why isn't PG using an index-only scan?
Date: Thu, 18 Sep 2025 23:32:01 +1200
Message-ID: <CAApHDvrQxSO8SJGHqiRuhuSacy5idavz4EkKKfW76qaELHKSOg@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<CAApHDvoUdvw68oHnfACQE=u8XPJ+Te49dZsfC2yW+DVfzdT2+Q@mail.gmail.com>
<[email protected]>
On Thu, 18 Sept 2025 at 19:45, Jean-Christophe BOGGIO
<[email protected]> wrote:
> Ok but then why is it doing it on the AD table? Is it because of the
> number of rows?
It's hard to tell as I don't have a clear view on which columns are
from which tables. Perhaps "ad" can Index Only Scan because all of
the columns required are in an index but with "oeu" there's a column
being used that's not indexed?
David
view thread (9+ messages) latest in thread
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Why isn't PG using an index-only scan?
In-Reply-To: <CAApHDvrQxSO8SJGHqiRuhuSacy5idavz4EkKKfW76qaELHKSOg@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox