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

2022-12-15 Thread Christophe Pettus
> On Dec 15, 2022, at 10:23, Christophe Pettus 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

Get size of variable-length attribute as stored on disk

2022-12-15 Thread Christophe Pettus
Hi, 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 tha