Search Postgresql Archives

Re: Get size of variable-length attribute as stored on disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> On Dec 15, 2022, at 10:23, Christophe Pettus <xof@xxxxxxxxxxxx> wrote:
> Is there a way from SQL to get the size of a particular attribute (field in a row) with a variable-length typed as stored on disk (including compression)?  The use case is to determine the size distribution for setting TOAST_TUPLE_TARGET and making other decisions about what to store in that field.

Like, for instance, pg_column_size.  :-)  Never mind!





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux