Re: query plan with index having a btrim is different for strings of different length

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: query plan with index having a btrim is different for strings of different length
Дата
Msg-id 6020.1228937673@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: query plan with index having a btrim is different for strings of different length  (Richard Yen <dba@richyen.com>)
Ответы Re: query plan with index having a btrim is different for strings of different length  (Richard Yen <dba@richyen.com>)
Список pgsql-performance
Richard Yen <dba@richyen.com> writes:
> You guys are right.  I tried "Miller" and gave me the same result.  Is
> there any way to tune this so that for the common last names, the
> query run time doesn't jump from <1s to >300s?

If the planner's estimation is that far off then there must be something
very weird about the table statistics, but you haven't given us any clue
what.

            regards, tom lane

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

Предыдущее
От: Richard Yen
Дата:
Сообщение: Re: query plan with index having a btrim is different for strings of different length
Следующее
От: "Robert Haas"
Дата:
Сообщение: Re: query plan with index having a btrim is different for strings of different length