Re: Higher TOAST compression. - Mailing list pgsql-hackers

From Laurent Laborde
Subject Re: Higher TOAST compression.
Date
Msg-id 8a1bfe660907200117p2f291864wd06056efe753afcf@mail.gmail.com
Whole thread Raw
In response to Re: Higher TOAST compression.  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Responses Re: Higher TOAST compression.
List pgsql-hackers
On Fri, Jul 17, 2009 at 11:10 PM, Kevin
Grittner<Kevin.Grittner@wicourts.gov> wrote:
> Laurent Laborde <kerdezixe@gmail.com> wrote:
>
>> What about SET STORAGE MAIN then ? To prevent out-of-line storage ?
>
> Well, that doesn't try as hard as you might think to keep from storing
> data out-of-line.  It uses the same threshold as the default EXTENDED
> storage, but saves the out-of-line option for such columns as the last
> thing to try to get it within the threshold.  It is because I wrote a
> very small patch to address that issue that I jumped in on your issue.
>
> If you wanted to try my patch here:
>
> http://archives.postgresql.org/message-id/4A3638530200002500027A95@gw.wicourts.gov
>
> you could adjust both TOAST_TUPLES_PER_PAGE_MAIN and
> TOAST_TUPLES_PER_PAGE to suit your needs and set storage for columns
> to MAIN as needed.  Be very cautious if you try this, because this
> patch has not yet been reviewed or accepted.

I'll take a look at it, compile, and try that. (on a test server).
Thank you :)


--
Laurent Laborde
Sysadmin @ http://www.over-blog.com/


pgsql-hackers by date:

Previous
From: Jaime Casanova
Date:
Subject: Re: Lock Wait Statistics (next commitfest)
Next
From: Jeremy Kerr
Date:
Subject: Re: [PATCH 1/2 v3] [libpq] rework sigpipe-handling macros