Re: Index usage

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Index usage
Дата
Msg-id 11051.1061906822@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Index usage  (Pedro Alves <pmalves@think.pt>)
Список pgsql-general
Pedro Alves <pmalves@think.pt> writes:
> The vacuum analyze is run on daily basis, so that cannot be the point.

The next thing I'd try to improve the planner's guess is to increase the
statistics target for the ra_datacolh column (see ALTER TABLE SET
STATISTICS).  It looks like the default of 10 is too small for that
column --- try 100 and see if the rowcount estimates get any closer.

            regards, tom lane

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

Предыдущее
От: Raymond
Дата:
Сообщение: Excel 97 Export to Postgres
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: Buglist