| От | Jim C. Nasby |
|---|---|
| Тема | Re: ip address data type |
| Дата | |
| Msg-id | 20060424224837.GF64695@pervasive.com обсуждение исходный текст |
| Ответ на | ip address data type ("Sriram Dandapani" <sdandapani@counterpane.com>) |
| Список | pgsql-performance |
On Mon, Apr 24, 2006 at 03:45:14PM -0700, Sriram Dandapani wrote: > Hi > > I have queries that use like operators and regex patterns to determine > if an ip address is internal or external (this is against a table with > say 100 million distinct ip addresses). > > Does the inet data type offer comparison/search performance benefits > over plain text for ip addresses.. Well, benchmark it and find out. :) But it'd be hard to be slower than like or regex... -- Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера