Re: TOASTing smaller things

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: TOASTing smaller things
Дата
Msg-id 5124.1176410420@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: TOASTing smaller things  ("Luke Lonergan" <llonergan@greenplum.com>)
Ответы Re: TOASTing smaller things  ("Luke Lonergan" <llonergan@greenplum.com>)
Re: TOASTing smaller things  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-hackers
"Luke Lonergan" <llonergan@greenplum.com> writes:
> On 4/12/07 9:24 AM, "Bruce Momjian" <bruce@momjian.us> wrote:
>> At this point I would be happy just to set the TOAST threshold to a
>> value defined as optimal, rather than as the most minimal use of TOAST
>> possible.

> I agree that's a good starting point, I guess I was thinking that was
> already included in the work that Tom has been doing.

No.  I put in the code needed to decouple toast tuple size from toasting
threshold, but I don't have the time or interest to run performance
tests to see whether there are better default values than the historical
quarter-page values.  Someone should do that before 8.3 beta ...

> If not, we can add a
> TODO like this as a precursor to the ones above:

> - Allow specification of TOAST size threshold (in bytes) on a per table
> basis

I would suggest that *all* of those TODOs are premature in the absence
of experimental evidence about the effect of varying the parameters.
If we end up finding out that the existing settings are about right
anyway across a range of test cases, who needs more knobs?  We've got
too many mostly-useless knobs already.
        regards, tom lane


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

Предыдущее
От: "Luke Lonergan"
Дата:
Сообщение: Re: TOASTing smaller things
Следующее
От: "Luke Lonergan"
Дата:
Сообщение: Re: TOASTing smaller things