| От | Tom Lane |
|---|---|
| Тема | Re: indices and cidr/inet type |
| Дата | |
| Msg-id | 11707.1060110540@sss.pgh.pa.us обсуждение |
| Ответ на | indices and cidr/inet type (Richard Welty <rwelty@averillpark.net>) |
| Ответы |
Re: indices and cidr/inet type
|
| Список | pgsql-general |
Richard Welty <rwelty@averillpark.net> writes:
> what type of index is recommended when the dominant lookup on a field is
> '<networkaddress>' << ipblock
I don't think we have a suitable index type at the moment; or more
accurately, we don't have a suitable operator class. It would be an
interesting exercise to write an inet opclass for either rtree or GiST.
I'm not sure which one would be more suitable, but probably you could
handle << with one or the other.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера