pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Merlin Moncure <mmoncure@gmail.com>
To: Gregory Stark <stark@enterprisedb.com>
Cc: Mark Mielke <mark@mark.mielke.cc>
Cc: Bill Moran <wmoran@collaborativefusion.com>
Cc: Mario Weilguni <mweilguni@sime.com>
Cc: valiouk@yahoo.co.uk, Jay <arrival123@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Using PK value as a String
Date: Tue, 12 Aug 2008 10:29:17 -0400
Message-ID: <b42b73150808120729x79f893f1m6fc97c6c71a8c44b@mail.gmail.com> (raw)
In-Reply-To: <87hc9qwdke.fsf@oxford.xeocode.com>
References: <18986.60888.qm@web25807.mail.ukl.yahoo.com>
	<48A15ECF.5030203@sime.com>
	<87od3ywg4n.fsf@oxford.xeocode.com>
	<20080812090621.1cafbbab.wmoran@collaborativefusion.com>
	<48A18E64.10707@mark.mielke.cc>
	<87hc9qwdke.fsf@oxford.xeocode.com>

On Tue, Aug 12, 2008 at 9:46 AM, Gregory Stark <stark@enterprisedb.com> wrote:
> "Mark Mielke" <mark@mark.mielke.cc> writes:
>
>>    - Increased keyspace. Even if keyspace allocation is performed, an int4 only
>> has 32-bit of keyspace to allocate. The IPv4 address space is already over 85%
>> allocated as an example of how this can happen. 128-bits has a LOT more
>> keyspace than 32-bits or 64-bits.
>
> The rest of your points are valid (though not particularly convincing to me
> for most applications) but this example is bogus. The IPv4 address space is
> congested because of the hierarchic nature of allocations. Not because there
> is an actual shortage of IPv4 addresses themselves. There would be enough IPv4
> for every ethernet device on the planet for decades to come if we could
> allocate them individually -- but we can't.

Only because of NAT.   There are a _lot_ of IP devices out there maybe
not billions, but maybe so, and 'enough for decades' is quite a
stretch.

merlin



view thread (23+ messages)  latest in thread

Message-ID: <b42b73150808120729x79f893f1m6fc97c6c71a8c44b@mail.gmail.com>
Permalink:  ../b42b73150808120729x79f893f1m6fc97c6c71a8c44b@mail.gmail.com/
Also on:    postgresql.org/message-id/b42b73150808120729x79f893f1m6fc97c6c71a8c44b@mail.gmail.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: mmoncure@gmail.com, stark@enterprisedb.com, mark@mark.mielke.cc, wmoran@collaborativefusion.com, mweilguni@sime.com, arrival123@gmail.com
  Subject: Re: Using PK value as a String
  In-Reply-To: <b42b73150808120729x79f893f1m6fc97c6c71a8c44b@mail.gmail.com>
  References: <18986.60888.qm@web25807.mail.ukl.yahoo.com> <48A15ECF.5030203@sime.com> <87od3ywg4n.fsf@oxford.xeocode.com> <20080812090621.1cafbbab.wmoran@collaborativefusion.com> <48A18E64.10707@mark.mielke.cc> <87hc9qwdke.fsf@oxford.xeocode.com> <b42b73150808120729x79f893f1m6fc97c6c71a8c44b@mail.gmail.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