Re: Indexes with descending date columns

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Indexes with descending date columns
Дата
Msg-id 20060323132448.GB4881@surnet.cl
обсуждение исходный текст
Ответ на Re: Indexes with descending date columns  (Theo Kramer <theo@flame.co.za>)
Ответы Array performance
Список pgsql-performance
Theo Kramer wrote:

> All good input - thanks, however, before I start messing with my stuff
> which I know will be complex - some questions to any of the developers
> on the list.
>
> i  Is it feasible to extend index creation to support descending
>    columns? ... this is supported on other commercial and non
>    commercial databases, but I do not know if this is a SQL standard.

This can be done.  You need to create an operator class which specifies
the reverse sort order (i.e. reverse the operators), and then use it in
the new index.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

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

Предыдущее
От: Bendik Rognlien Johansen
Дата:
Сообщение: Problem with query, server totally unresponsive
Следующее
От: Christopher Browne
Дата:
Сообщение: Re: Scaling up PostgreSQL in Multiple CPU / Dual Core Powered Servers