Re: 4 billion record limit? - Mailing list pgsql-general

From Joseph Shraibman
Subject Re: 4 billion record limit?
Date
Msg-id 397CE922.D4C7045@selectacast.net
Whole thread Raw
In response to 4 billion record limit?  (Paul Caskey <paul@nmxs.com>)
Responses Re: 4 billion record limit?
List pgsql-general
I'm not too familiar with the postgres internals, but the oid tells
postgres where the row is stored in the filesystem. So by the time
you've run out of oid's you've probably run out of space on your
filesystem.

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?
>
> 2. When I delete records, are those oids ever reused?
>
> --
> Paul Caskey             paul@nmxs.com           Software Engineer
> New Mexico Software     5041 Indian School NE   Albuquerque, NM 87110
> --

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Statistical Analysis
Next
From: Chris Bitmead
Date:
Subject: Re: 4 billion record limit?