Re: Any risk in increasing BLCKSZ to get larger tuples?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Any risk in increasing BLCKSZ to get larger tuples?
Дата
Msg-id 7110.971920755@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Any risk in increasing BLCKSZ to get larger tuples?  (Philip Hallstrom <philip@adhesivemedia.com>)
Список pgsql-general
Philip Hallstrom <philip@adhesivemedia.com> writes:
> larger than the builtin limit for tuples.  Is there anything I should be
> aware of before changing the below value and recompiling?

Only that it will force an initdb.  Note the 32k limit, too.

A trick you can use in 7.0.* to squeeze out a little more space is
to declare your large text fields as "lztext" --- this invokes
inline compression, which might get you a factor of 2 or so on typical
mail messages.  lztext will go away again in 7.1, since TOAST supersedes
it, but for now it's a useful thing to know about.

> Also, it looks like the TOAST stuff would solve this (right/wrong?), but
> it's not going to be ready for 7.1 (right/wrong?)

Right, and wrong.  It's been done for months...

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: plpgsql - cache lookup error 18977
Следующее
От: "Kevin O'Gorman"
Дата:
Сообщение: Is this a bug or a feature?