Re: Indexes not always used after inserts/updates/vacuum analyze

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Indexes not always used after inserts/updates/vacuum analyze
Дата
Msg-id 13022.1014907866@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Indexes not always used after inserts/updates/vacuum  (Reinhard Max <max@suse.de>)
Список pgsql-bugs
Reinhard Max <max@suse.de> writes:
> I've just found a case where forcing indexscans results in much higher
> speed.

>         ->  Index Scan using foo_pkey on foo
>         (cost=0.00..25153.18 rows=352072 width=4)
>         (actual time=0.03..157.57 rows=38432 loops=1)

The major estimation error is evidently in this indexscan.  What
statistics does pg_stats show for this table?

            regards, tom lane

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

Предыдущее
От: Reinhard Max
Дата:
Сообщение: Re: Indexes not always used after inserts/updates/vacuum
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Indexes not always used after inserts/updates/vacuum analyze