Get size of variable-length attribute as stored on disk

Поиск
Список
Период
Сортировка
Искать
От
Christophe Pettus
Тема
Get size of variable-length attribute as stored on disk
Дата
Msg-id
33B2BCC6-0CB2-4D0E-AFA0-2C6F1D69B8A2@thebuild.com
Список
Дерево обсуждения
Get size of variable-length attribute as stored on disk Christophe Pettus <xof@thebuild.com>
Re: Get size of variable-length attribute as stored on disk Christophe Pettus <xof@thebuild.com>
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 that field.

Thanks!

В списке pgsql-general по дате отправления
От: Michel Pelletier
Дата:
От: Christophe Pettus
Дата:
FAQ