Re: Fwd: [GENERAL] 4B row limit for CLOB tables

From: Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Álvaro Hernández Tortosa <aht(at)8Kdata(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Stephen Frost <sfrost(at)snowman(dot)net>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Fwd: [GENERAL] 4B row limit for CLOB tables
Date: 2015-04-27 06:49:44
Message-ID: 553DDC08.1020309@BlueTreble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On 4/25/15 1:19 PM, Bruce Momjian wrote:
> Note if you are storing a table with rows that exceed 2KB in size
> (aggregate size of each row) then the "Maximum number of rows in a
> table" may be limited to 4 Billion, see TOAST.

That's not accurate though; you could be limited to far less than 4B
rows. If each row has 10 fields that toast, you'd be limited to just
400M rows.
--
Jim Nasby, Data Architect, Blue Treble Consulting
Data in Trouble? Get it in Treble! http://BlueTreble.com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Evan Martin 2015-04-27 12:45:25 Workaround for bug #13148 (deferred EXCLUDE constraint violation)
Previous Message Craig Ringer 2015-04-27 01:45:16 Re: BDR Selective Replication

Browse pgsql-hackers by date

  From Date Subject
Next Message Etsuro Fujita 2015-04-27 06:50:44 Missing psql tab-completion for ALTER FOREIGN TABLE
Previous Message Michael Paquier 2015-04-27 06:39:20 Re: collate.linux.utf8 test coverage