Re: 4 billion record limit?

Chris Bitmead <chrisb@nimrod.itg.telstra.com.au>

From: Chris Bitmead <chrisb@nimrod.itg.telstra.com.au>
To: Paul Caskey <paul@nmxs.com>
Cc: Postgres Users <pgsql-general@postgresql.org>
Date: 2000-07-25T01:01:48Z
Lists: pgsql-general, pgsql-novice
Paul Caskey wrote:
> 
> PostgreSQL uses a hidden "oid" field to uniquely identify all records
> across all tables in all databases on a particular server.  On my
> platform, this number is an unsigned 32-bit integer, meaning 0 to about 4
> billion.
> 
> 1. This implies a hard limit of 4 billion records on a server, right?

Basically, yes.

> 2. When I delete records, are those oids ever reused?

No.

The real solution is to support 64 bit oids, but that has not been done
yet.