Index Question

Поиск
Список
Период
Сортировка
От Bierbryer, Andrew
Тема Index Question
Дата
Msg-id F91B92528B23C243893664497C6659A00A2211@exchange.KLS.corp
обсуждение исходный текст
Ответы Re: Index Question  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general

I have created a table where a unique row is defined by 5 columns and have created an index on these 5 columns. If I then do a select with a where clause that only consists of 3 of these columns, will I get the speed benefits from the index that I have created, or will I need to create another index with only these 3 columns?

 

Thanks,

 

Andrew

 

 

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Function returning 2 columns evaluated twice when both columns are needed
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Index Question