Re: Significantly larger toast tables on 8.4?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Significantly larger toast tables on 8.4?
Дата
Msg-id 14969.1230946230@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Significantly larger toast tables on 8.4?  ("Alex Hunsaker" <badalex@gmail.com>)
Ответы Re: Significantly larger toast tables on 8.4?  ("Alex Hunsaker" <badalex@gmail.com>)
Список pgsql-hackers
"Alex Hunsaker" <badalex@gmail.com> writes:
> On Fri, Jan 2, 2009 at 11:44, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> An easy way to prove or disprove the point would be to go into
>> src/backend/utils/adt/pg_lzcompress.c, and change the second entry
>> in strategy_default_data from "1024 * 1024" to "INT_MAX",

> And the toast file size is *drum roll* 167M.

Hmmm ... so that's a lot closer to the original 145M, but it still
seems like there's something else going on.  It looks like the other
thing we changed that might result in not compressing things was to
increase the third entry (minimum compression rate) from 20% to 25%.
Could you try it with that value also changed back?
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Hashtable entry recycling algorithm in pg_stat_statements
Следующее
От: "Alex Hunsaker"
Дата:
Сообщение: Re: Hashtable entry recycling algorithm in pg_stat_statements