Maximum table size

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Maximum table size
Date: 2003-09-09 04:45:20
Message-ID: 200309090445.h894jKg25151@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Is our maximum table size limited by the maximum block number?

With our block number maximum of:

#define MaxBlockNumber ((BlockNumber) 0xFFFFFFFE)

0xFFFFFFFE = 4294967294

would the max table size really be (4GB * 8k) or 32 TB, not 16TB, as
listed in the FAQ:

4.5) What is the maximum size for a row, a table, and a database?
...
Maximum size for a table? 16 TB

Is the 16TB number a hold-over from when we weren't sure block number
was unsigned, though now we are pretty sure it is handled as unsigned
consistenly?

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-09-09 06:04:43 Re: Maximum table size
Previous Message Tom Lane 2003-09-09 04:19:48 Re: ISO 8601 "Time Intervals" of the "format with time-unit deignators"