From: | Justin Pryzby <pryzby(at)telsasoft(dot)com> |
---|---|
To: | Andres Freund <andres(at)anarazel(dot)de> |
Cc: | pgsql-hackers(at)postgresql(dot)org, Dilip Kumar <dilipbalaut(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com> |
Subject: | Re: Move pg_attribute.attcompression to earlier in struct for reduced size? |
Date: | 2021-05-17 21:05:44 |
Message-ID: | 20210517210544.GJ373@telsasoft.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, May 17, 2021 at 01:48:03PM -0700, Andres Freund wrote:
> pg_attribute is one of the biggest table in a new cluster, and often the
> biggest table in production clusters. Its size is also quite relevant in
> memory, due to all the TupleDescs we allocate.
>
> I just noticed that the new attcompression increased the size not just
> by 1 byte, but by 4, due to padding. While an increase from 112 to 116
> bytes isn't the end of the world, it does seem worth considering using
> existing unused bytes instead?
+1
FYI: attcompression was an OID until a few weeks before the feature was merged,
and there were several issues related to that:
aa25d1089 - fixed two issues
226e2be38
--
Justin
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2021-05-17 21:06:32 | Re: Move pg_attribute.attcompression to earlier in struct for reduced size? |
Previous Message | Bruce Momjian | 2021-05-17 21:01:16 | Re: ICU bool problem |