Re: TOASTing smaller things - Mailing list pgsql-hackers

From Tom Lane
Subject Re: TOASTing smaller things
Date
Msg-id 5124.1176410420@sss.pgh.pa.us
Whole thread Raw
In response to Re: TOASTing smaller things  ("Luke Lonergan" <llonergan@greenplum.com>)
Responses Re: TOASTing smaller things  ("Luke Lonergan" <llonergan@greenplum.com>)
Re: TOASTing smaller things  (Gregory Stark <stark@enterprisedb.com>)
List 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 by date:

Previous
From: "Luke Lonergan"
Date:
Subject: Re: TOASTing smaller things
Next
From: "Luke Lonergan"
Date:
Subject: Re: TOASTing smaller things