| От | Roberto de Amorim |
|---|---|
| Тема | Indexes intersection |
| Дата | |
| Msg-id | 00fb01c2fdc7$a80feb50$04c8a8c0@Desenvolvimento обсуждение исходный текст |
| Список | pgsql-general |
Hi all, (please, look at and analyze the situation) does BTree index support intersection? please, I'm not talking about combination of queries, and yes of indexes! for example: I have 2 indexes, the first in on (date_inclusion , date_cancellation ) and the other is in (date_cancellation , date_inclusion ). so, when I do a query like this: select * from mytable where (date_inclusion <= '01/01/2003') and (date_cancellation > '01/01/2003') I think that PostgreSQL should use those 2 indexes and do an intersection automatically between they Roberto de Amorim - +55 48 346-2243 Software engineer at SmartBit Software roberto@smartbit.inf.br
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера