| От | Tom Lane |
|---|---|
| Тема | Re: Unused index influencing sequential scan plan |
| Дата | |
| Msg-id | 603.1350579992@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Unused index influencing sequential scan plan (Peter Geoghegan <peter@2ndquadrant.com>) |
| Список | pgsql-performance |
Peter Geoghegan <peter@2ndquadrant.com> writes:
> Is there a case to be made for a index access method whose
> pseudo-indexes costs essentially nothing to maintain, and simply
> represent an ongoing obligation for ANALYZE to provide statistics for
> an expression?
If we were going to support it, I think we'd be better off exposing such
a feature as DDL having nothing to do with indexes. Not sure it's worth
the trouble though. The ANALYZE wart to compute stats for index
expressions has been there a long time, and there's been essentially
zero field demand for another way to do it. What people really seem to
care about is more intelligence about making use of expression indexes
to avoid recalculation of the expression --- something you'd not get
from a stats-only feature.
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера