From: | Laurent Laborde <kerdezixe(at)gmail(dot)com> |
---|---|
To: | Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov> |
Cc: | jd(at)commandprompt(dot)com, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Higher TOAST compression. |
Date: | 2009-07-17 20:51:53 |
Message-ID: | 8a1bfe660907171351o5b89dfd8v3bbd8daa82c2c268@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, Jul 17, 2009 at 10:40 PM, Kevin
Grittner<Kevin(dot)Grittner(at)wicourts(dot)gov> wrote:
> Laurent Laborde <kerdezixe(at)gmail(dot)com> wrote:
>
>> But... on which version are you planning to do that ?
>
> The patch, if there's consensus that it's a good idea, would be for
> 8.5. Since it is new functionality, there wouldn't be a back-port to
> prior releases. Of course, I wouldn't be starting to work on such a
> patch until after our current code commit phase, which ends August
> 15th.
Sure, no problem.
>> We stay on Pg 8.3 until the slony developpers find a better upgrade
>> solution.
>>
>> The proposed solution sound really good to me.
>> But, for now, if i could have a simple patch for 8.3 (eg: changing a
>> #define in the source code), i'd be very happy :)
>>
>> Is it ok to just change TOAST_TUPLES_PER_PAGE ?
>
> The thing that worries me about that is that it would tend to force
> more data to be stored out-of-line, which might *increase* your I/O;
> since the whole point of this exercise is to try to *decrease* it,
> that seems pretty iffy. However, once we get to the end of code
> commit, I might be able to give you a little one-off patch that would
> be more aggressive about compression without affecting out-of-line
> storage. Hard-coded, like what you're talking about, but with a
> little more finesse.
Awesome !
Yes, i understand the problem.
What about SET STORAGE MAIN then ? To prevent out-of-line storage ?
We use PLAIN on some specific column (i don't know why, it was here
before i join overblog)
And the default extended storage for all other columns.
Thank you :)
--
Laurent Laborde
Sysadmin @ http://www.over-blog.com/
From | Date | Subject | |
---|---|---|---|
Next Message | Kevin Grittner | 2009-07-17 21:10:01 | Re: Higher TOAST compression. |
Previous Message | Bernd Helmle | 2009-07-17 20:49:40 | Re: commitfest application question |