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

From: David Steele <david(at)pgmasters(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Fwd: [GENERAL] 4B row limit for CLOB tables
Date: 2015-02-03 15:50:28
Message-ID: 54D0EE44.2030100@pgmasters.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On 2/3/15 10:01 AM, José Luis Tallón wrote:

> Hmmm.... alter column set storage external / set storage extended ?
>
> From http://www.postgresql.org/docs/9.4/static/sql-altertable.html :
> ALTER [ COLUMN ] column_name SET STORAGE { PLAIN | EXTERNAL |
> EXTENDED | MAIN }
>
> This would do what you described, right?

EXTENDED is the default for most TOAST-able types and is still subject
to TOAST_TUPLE_THRESHOLD which is normally 2K. EXTERNAL is the same but
with no compression.

See: http://www.postgresql.org/docs/9.4/static/storage-toast.html

--
- David Steele
david(at)pgmasters(dot)net

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adam Hooper 2015-02-03 15:53:11 VACUUM FULL pg_largeobject without (much) downtime?
Previous Message Tom Lane 2015-02-03 15:01:07 Re: [GENERAL] 4B row limit for CLOB tables

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2015-02-03 15:52:38 Re: Release note bloat is getting out of hand
Previous Message Robert Haas 2015-02-03 15:50:22 Re: Redesigning checkpoint_segments