Re: LIMIT causes planner to do Index Scan using a less optimal index

Поиск
Список
Период
Сортировка
От Grzegorz Jaśkiewicz
Тема Re: LIMIT causes planner to do Index Scan using a less optimal index
Дата
Msg-id q2s2f4958ff1004070612ha4e21200uf29a00f9b1747968@mail.gmail.com
обсуждение исходный текст
Ответ на Re: LIMIT causes planner to do Index Scan using a less optimal index  (Sherry.CTR.Zhu@faa.gov)
Ответы Re: LIMIT causes planner to do Index Scan using a less optimal index  (Sherry.CTR.Zhu@faa.gov)
Список pgsql-performance


2010/4/7 <Sherry.CTR.Zhu@faa.gov>

Do you mean one index on two columns?

something like this:   create index idx1 on tb1(col1, col2);
yup :) It would be quite useless without that feature.
Don't listen to oracle folks, they obviously know not much about products others than oracle db(s).
 




--
GJ

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

Предыдущее
От: Sherry.CTR.Zhu@faa.gov
Дата:
Сообщение: Re: LIMIT causes planner to do Index Scan using a less optimal index
Следующее
От: Sherry.CTR.Zhu@faa.gov
Дата:
Сообщение: Re: LIMIT causes planner to do Index Scan using a less optimal index