Re: Postgres 11 chooses seq scan instead of index-only scan

Поиск
Список
Период
Сортировка
От twoflower
Тема Re: Postgres 11 chooses seq scan instead of index-only scan
Дата
Msg-id 1548342078079-0.post@n3.nabble.com
обсуждение исходный текст
Ответ на Re: Postgres 11 chooses seq scan instead of index-only scan  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Postgres 11 chooses seq scan instead of index-only scan  (Don Seiler <don@seiler.us>)
Список pgsql-general
Yes! That was it, after running VACUUM TABLE history_translation, the query is now executed using index-only scan.

I was under the impression that ANALYZE TABLE history_translation is enough, but it is not.

Thank you very much.

Sent from the PostgreSQL - general mailing list archive at Nabble.com.

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Postgres 11 chooses seq scan instead of index-only scan
Следующее
От: Geoff Winkless
Дата:
Сообщение: Re: Casting Integer to Boolean in assignment