Re: Slow join using network address function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Slow join using network address function
Дата
Msg-id 22239.1077636202@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Slow join using network address function  ("Eric Jain" <Eric.Jain@isb-sib.ch>)
Ответы Re: Slow join using network address function  (Nick Barr <nicky@chuckie.co.uk>)
Re: Slow join using network address function  (Steve Atkins <steve@blighty.com>)
Список pgsql-performance
"Eric Jain" <Eric.Jain@isb-sib.ch> writes:
>> <http://word-to-the-wise.com/ipr.tgz> is a datatype that contains
>> a range of IPv4 addresses, and which has the various operators to
>> make it GIST indexable.

> Great, this looks very promising.

>> No cast operators between ipr and inet types.

> Any way to work around this, short of dumping and reloading tables?

Wouldn't it be better to implement the GIST indexing operators of that
package on the standard datatypes?  It wasn't apparent to me what "range
of IP addresses" does for you that isn't covered by "CIDR subnet" for
real-world cases.

            regards, tom lane

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

Предыдущее
От: "Eric Jain"
Дата:
Сообщение: Re: Slow join using network address function
Следующее
От: "Jonathan M. Gardner"
Дата:
Сообщение: Materialized View Summary