Re: indices and cidr/inet type

Поиск
Список
Период
Сортировка
От 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 по дате отправления:

Предыдущее
От: Justin Tocci
Дата:
Сообщение: INSERT RULE QUERY ORDER
Следующее
От: Tom Lane
Дата:
Сообщение: Re: INSERT RULE QUERY ORDER