[GENERAL] Multicolumn Index on OR conditions

Поиск
Список
Период
Сортировка
От Job
Тема [GENERAL] Multicolumn Index on OR conditions
Дата
Msg-id 88EF58F000EC4B4684700C2AA3A73D7A08180ABD2127@W2008DC01.ColliniConsulting.lan
обсуждение исходный текст
Ответы Re: [GENERAL] Multicolumn Index on OR conditions  (vinny <vinny@xs4all.nl>)
Re: [GENERAL] Multicolumn Index on OR conditions  (legrand legrand <legrand_legrand@hotmail.com>)
Список pgsql-general
Hi,

within a query with two or more conditions with "OR", example:

"where a = 2 or b < 3"

could be useful to speed up the query a multi-column index (a,b) even though the two conditions are in "OR" and not in
"AND"?

Thank you!
F


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

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

Предыдущее
От: "Frank Millman"
Дата:
Сообщение: Re: [GENERAL] a JOIN to a VIEW seems slow
Следующее
От: vinny
Дата:
Сообщение: Re: [GENERAL] Multicolumn Index on OR conditions