Re: create index on function - why?

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: create index on function - why?
Дата
Msg-id 20020215170128.GB2025@wolff.to
обсуждение исходный текст
Ответ на create index on function - why?  (Wei Weng <wweng@kencast.com>)
Список pgsql-sql
On Fri, Feb 15, 2002 at 11:25:40AM -0500, Wei Weng <wweng@kencast.com> wrote:
> I can understand the rationale behind creating index on tables, it 
> speeds up the searching.
> 
> But what is the rationale behind creating index on a function? how does 
> it help with the database performance?

If a where clause includes a function reference, than an index on that
function can speed up finding rows that satisfy the where clause.


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: create index on function - why?
Следующее
От: "Graham Vickrage"
Дата:
Сообщение: SQL For smarties