ip address data type

From: "Sriram Dandapani" <sdandapani(at)counterpane(dot)com>
To: "Pgsql-Performance \(E-mail\)" <pgsql-performance(at)postgresql(dot)org>
Subject: ip address data type
Date: 2006-04-24 22:45:14
Message-ID: 6992E470F12A444BB787B5C937B9D4DF0406B11B@ca-mail1.cis.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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..

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Jim C. Nasby 2006-04-24 22:48:37 Re: ip address data type
Previous Message Tom Lane 2006-04-24 22:11:44 Re: Index on function less well cached than "regular" index ?