Re: PostgreSQL Limits and lack of documentation about them.

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: John Naylor <jcnaylor(at)gmail(dot)com>
Cc: David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: PostgreSQL Limits and lack of documentation about them.
Date: 2018-11-07 21:02:56
Message-ID: CA+TgmobMf0Ufh5htjB8g3aC4j2ExxKiAueMq0J1fZ7xSJNcuUg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Nov 6, 2018 at 6:01 AM John Naylor <jcnaylor(at)gmail(dot)com> wrote:
> On 11/1/18, David Rowley <david(dot)rowley(at)2ndquadrant(dot)com> wrote:
> > I've attached an updated patch, again it's just intended as an aid for
> > discussions at this stage. Also included the rendered html.
>
> Looks good so far. Based on experimentation with toasted columns, it
> seems the largest row size is 452GB, but I haven't tried that on my
> laptop. :-) As for the number-of-column limits, it's a matter of how
> much detail we want to include. With all the numbers in my previous
> email, that could probably use its own table if we include them all.

There are a lot of variables here. A particular row size may work for
one encoding and not for another.

IMHO, documenting that you can get up to 1600 integer columns but only
1002 bigint columns doesn't really help anybody, because nobody has a
table with only one type of column, and people usually want to have
some latitude to run ALTER TABLE commands later.

It might be useful for some users to explain that certain things will
should work for values < X, may work for values between X and Y, and
will definitely not work above Y. Or maybe we can provide a narrative
explanation rather than just a table of numbers. Or both. But I
think trying to provide a table of exact cutoffs is sort of like
tilting at windmills.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2018-11-07 21:06:45 Re: fix psql \conninfo & \connect when using hostaddr
Previous Message Peter Geoghegan 2018-11-07 20:52:42 Re: Connections hang indefinitely while taking a gin index's LWLock buffer_content lock