Re: very slow left join

Поиск
Список
Период
Сортировка
От Ben
Тема Re: very slow left join
Дата
Msg-id Pine.LNX.4.64.0805161139080.3347@localhost.localdomain
обсуждение исходный текст
Ответ на Re: very slow left join  ("Scott Marlowe" <scott.marlowe@gmail.com>)
Ответы Re: very slow left join
Список pgsql-performance
On Fri, 16 May 2008, Scott Marlowe wrote:

> Well, I'm guessing that you aren't in locale=C and that the text

Correct, I am not. And my understanding is that by moving to the C locale,
I would loose utf8 validation, so I don't want to go there. Though, it's
news to me that I would get any kind of select performance boost with
locale=C. Why would it help?

> functions in your query aren't indexed.  Try creating an index on them
> something like:
>
> create index abc_txtfield_func on mytable (substring(textfield,1,5));
>
> etc and see if that helps.

It does not. :(

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

Предыдущее
От: "Scott Marlowe"
Дата:
Сообщение: Re: very slow left join
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: very slow left join