Re: BUG #16089: Index only scan does not happen but expected - Mailing list pgsql-bugs

From Dmitry Dolgov
Subject Re: BUG #16089: Index only scan does not happen but expected
Date
Msg-id 20191030151006.cja5q3hd6fclwuq4@localhost
Whole thread Raw
In response to RE: BUG #16089: Index only scan does not happen but expected  (Stepan Yankevych <Stepan_Yankevych@epam.com>)
Responses Re: BUG #16089: Index only scan does not happen but expected
List pgsql-bugs
> On Wed, Oct 30, 2019 at 02:18:09PM +0000, Stepan Yankevych wrote:
>
> >> And in fact at least in my tests this was indeed faster
> Can you show execution plan when index is used?
> Does it uses Index only scan or index scan and table scan?

Yes, at the bottom of the plan there was an Index Only Scan going
through l1_snapshot_201811 (although while populating the table I've set
values only for not nullable columns).



pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #16090: Migración con pg_dump
Next
From: Dmitry Dolgov
Date:
Subject: Re: BUG #16089: Index only scan does not happen but expected