Re: How to inject knowledge into a Postgres database

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to inject knowledge into a Postgres database
Дата
Msg-id 3549.1128694104@sss.pgh.pa.us
обсуждение исходный текст
Ответ на How to inject knowledge into a Postgres database  (han.holl@informationslogik.nl)
Список pgsql-general
han.holl@informationslogik.nl writes:
> Is there a way to tell the planner to always prefer the dateofbirth index ?
> Alternatively, to inform it about the wildly uneven distribution of surnames
> (this must be even worse in China).

Increase the statistics target for that column, and re-ANALYZE the
table.

            regards, tom lane

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

Предыдущее
От: "Andrus"
Дата:
Сообщение: Re: PostgreSQL 8.1 vs. MySQL 5.0?
Следующее
От: smorrey@gmail.com
Дата:
Сообщение: multiple default values specified for column?