Re: TOAST and TEXT

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: TOAST and TEXT
Дата
Msg-id 7863.1002945369@sss.pgh.pa.us
обсуждение исходный текст
Ответ на TOAST and TEXT  (Chris Bitmead <chris@bitmead.com>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Although the field length is limited to 1GB, is there a row size
> limit? 

Sure.  1Gb per field (hard limit) times 1600 fields (also hard limit).
In practice less, since TOAST pointers are 20bytes each at present,
meaning you can't have more than BLCKSZ/20 toasted fields in one row.

Whether this has anything to do with real applications is debatable,
however.  I find it hard to visualize a table design that needs several
hundred columns that *all* need to be GB-sized.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: TOAST and TEXT
Следующее
От: Bruce Momjian
Дата:
Сообщение: Monday beta?