Re: Best way to index IP data? - Mailing list pgsql-performance

From Joshua D. Drake
Subject Re: Best way to index IP data?
Date
Msg-id 20080110152245.47c959da@commandprompt.com
Whole thread Raw
In response to Best way to index IP data?  (Kevin Kempter <kevin@kevinkempterllc.com>)
List pgsql-performance
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 10 Jan 2008 16:14:54 -0700
Kevin Kempter <kevin@kevinkempterllc.com> wrote:

> Hi List;
> 
> We'll be loading a table with begining & ending I.P.'s - the table
> will likely have upwards of 30million rows.  Any thoughts on how to
> get the best performance out of queries that want to look for IP
> ranges or the use of between queries? Should these be modeled as
> integers? 
> 

http://www.postgresql.org/docs/current/static/datatype-net-types.html

> Thanks in advance
> 
> /Kevin
> 
> ---------------------------(end of
> broadcast)--------------------------- TIP 1: if posting/reading
> through Usenet, please send an appropriate subscribe-nomail command
> to majordomo@postgresql.org so that your message can get through to
> the mailing list cleanly
> 


- -- 
The PostgreSQL Company: Since 1997, http://www.commandprompt.com/ 
Sales/Support: +1.503.667.4564   24x7/Emergency: +1.800.492.2240
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
SELECT 'Training', 'Consulting' FROM vendor WHERE name = 'CMD'


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHhqjHATb/zqfZUUQRAvMOAJ984Np5GMrFd1vixP/zECIl3qUWYgCff6U4
bCBBz1VaxqIoZfCFfKEIZLU=
=+9vD
-----END PGP SIGNATURE-----

pgsql-performance by date:

Previous
From: Kevin Kempter
Date:
Subject: Best way to index IP data?
Next
From: Steve Atkins
Date:
Subject: Re: Best way to index IP data?