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

From Kevin Grittner
Subject Re: Higher TOAST compression.
Date
Msg-id 4A60A259020000250002895C@gw.wicourts.gov
Whole thread Raw
In response to Re: Higher TOAST compression.  (Laurent Laborde <kerdezixe@gmail.com>)
Responses Re: Higher TOAST compression.  (Laurent Laborde <kerdezixe@gmail.com>)
List pgsql-hackers
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.
-Kevin


pgsql-hackers by date:

Previous
From: Laurent Laborde
Date:
Subject: Re: Higher TOAST compression.
Next
From: ANdreas Wenk
Date:
Subject: psql - small fix in \du