Re: Indexing Order By columns

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Indexing Order By columns
Дата
Msg-id 1094501687.8246.6.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Indexing Order By columns  (Hadley Willan <hadley.willan@deeperdesign.co.nz>)
Список pgsql-general
On Sun, 2004-09-05 at 16:30, Hadley Willan wrote:
> Hi all,
>     Can it speed things up to index the order by columns?

Yes, note that you need to index on what function you might be sorting
by as well:

create index test_dx on test (lower(name));

will allow indexes to be used on an order by lower(name)


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

Предыдущее
От: Secrétariat
Дата:
Сообщение: Re: RAD with postgreSQL
Следующее
От: "Henry Combrinck"
Дата:
Сообщение: Re: Passing RECORD variable from func1() to func2()