pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Kempter <kevin@kevinkempterllc.com>
To: pgsql-performance@postgresql.org
Subject: Best way to index IP data?
Date: Thu, 10 Jan 2008 16:14:54 -0700
Message-ID: <200801101614.54729.kevin@kevinkempterllc.com> (raw)

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? 

Thanks in advance

/Kevin



view thread (42+ messages)  latest in thread

Message-ID: <200801101614.54729.kevin@kevinkempterllc.com>
Permalink:  ../200801101614.54729.kevin@kevinkempterllc.com/
Also on:    postgresql.org/message-id/200801101614.54729.kevin@kevinkempterllc.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: kevin@kevinkempterllc.com
  Subject: Re: Best way to index IP data?
  In-Reply-To: <200801101614.54729.kevin@kevinkempterllc.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox