Hello: I am trying to find out, how is the B-tree index implemented for multiple columns? does Postgres, justconcatenate the columns --- if this is the case, then how is the search performed? Also, does the optimizerchoose the index, only when the constraining is on the leading subset of the index column? ThanksVJ
Anand, VJ (MED, GEMS-IT) kirjutas K, 03.12.2003 kell 18:18: > Hello: > > I am trying to find out, how is the B-tree index implemented for > multiple columns? does Postgres, just > concatenate the columns --- Yes. > if this is the case, then how is the > search performed? Also, does the optimizer > choose the index, only when the constraining is on the leading > subset of the index column? Yes. If you want it more complicated, you could check out if PG's R-tree indexes suit you. ------------- Hannu
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера