Re: Yet another "Why won't PostgreSQL use my index?"

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Yet another "Why won't PostgreSQL use my index?"
Дата
Msg-id 20020620091703.B86537-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Yet another "Why won't PostgreSQL use my index?"  ("Gregory Wood" <gregw@com-stock.com>)
Список pgsql-general
On Thu, 20 Jun 2002, Gregory Wood wrote:

> Trying to use a single column index on a somewhat large table (1.9M rows),
> and PostgreSQL really doesn't want to. It estimates the number of rows at
> 12749 (actual 354), which is only .6% of the table... well within reasonable
> index range I would think. And yes, I've run an analyze on the table.

It might be interesting to figure out why it's over estimating the rows
so badly.  What do the statistics in pg_statistic for that
relation/attribute look like?


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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Serious Crash last Friday
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Yet another "Why won't PostgreSQL use my index?"