Re: [GENERAL] Loose indexscan and partial indexes

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: [GENERAL] Loose indexscan and partial indexes
Дата
Msg-id o7keue$6bd$1@blaine.gmane.org
обсуждение исходный текст
Ответ на [GENERAL] Loose indexscan and partial indexes  ("Peter J. Holzer" <hjp-pgsql@hjp.at>)
Ответы Re: [GENERAL] Loose indexscan and partial indexes  ("Peter J. Holzer" <hjp-pgsql@hjp.at>)
Список 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 по дате отправления:

Предыдущее
От: "Peter J. Holzer"
Дата:
Сообщение: [GENERAL] Loose indexscan and partial indexes
Следующее
От: Leonardo M. Ramé
Дата:
Сообщение: [GENERAL] [Off Topic] Visualizing grouping sets/cubes