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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Postgres 11 chooses seq scan instead of index-only scan
Дата
Msg-id 16149.1548341096@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Postgres 11 chooses seq scan instead of index-only scan  (twoflower <standa.kurik@gmail.com>)
Ответы Re: Postgres 11 chooses seq scan instead of index-only scan  (twoflower <standa.kurik@gmail.com>)
Список pgsql-general
twoflower <standa.kurik@gmail.com> writes:
> One issue I cannot resolve is the new server using a parallel seq scan
> instead of index-only scan for the following query:
> select count(id) from history_translation

You might need to vacuum the table to ensure that the planner thinks
a reasonable proportion of the pages are all-visible (see
pg_class.relallvisible).

            regards, tom lane


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

Предыдущее
От: Hellmuth Vargas
Дата:
Сообщение: Re: How duplicate values inserted into the primary key column oftable and how to fix it
Следующее
От: twoflower
Дата:
Сообщение: Re: Postgres 11 chooses seq scan instead of index-only scan