Re: [GENERAL] Loose indexscan and partial indexes - Mailing list pgsql-general

From Thomas Kellerer
Subject Re: [GENERAL] Loose indexscan and partial indexes
Date
Msg-id o7keue$6bd$1@blaine.gmane.org
Whole thread Raw
In response to [GENERAL] Loose indexscan and partial indexes  ("Peter J. Holzer" <hjp-pgsql@hjp.at>)
Responses Re: [GENERAL] Loose indexscan and partial indexes  ("Peter J. Holzer" <hjp-pgsql@hjp.at>)
List pgsql-general
Peter J. Holzer schrieb am 10.02.2017 um 14:02:
> So it's doing a sequential scan on the initial select in the recursive
> CTE, but using the index on the subsequent selects.
>
> But why? If it uses the index on
>     SELECT MIN(periodizitaet) FROM facttable_imf_ifs WHERE periodizitaet > 'x'
> shouldn't it be able to use the same index on
>     SELECT MIN(periodizitaet) FROM facttable_imf_ifs

What is the definition of the index facttable_imf_ifs_periodizitaet_idx?


pgsql-general by date:

Previous
From: "Peter J. Holzer"
Date:
Subject: [GENERAL] Loose indexscan and partial indexes
Next
From: Leonardo M. Ramé
Date:
Subject: [GENERAL] [Off Topic] Visualizing grouping sets/cubes