Re: Significantly larger toast tables on 8.4? - Mailing list pgsql-hackers

From Merlin Moncure
Subject Re: Significantly larger toast tables on 8.4?
Date
Msg-id b42b73150901050757j68249306h1a18eee85963fb7e@mail.gmail.com
Whole thread Raw
In response to Re: Significantly larger toast tables on 8.4?  ("Alex Hunsaker" <badalex@gmail.com>)
List pgsql-hackers
On Sat, Jan 3, 2009 at 1:32 AM, Alex Hunsaker <badalex@gmail.com> wrote:
> On Fri, Jan 2, 2009 at 18:46, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>
>> It would be fairly easy, I think, to add some reloption fields that
>> would let these parameters be controlled on a per-table level.
>
> +1
>
> Or something easier that just lets you use PGLZ_Strategy strategy_always_data.
>
> ALTER TABLE SET STORAGE ALWAYS_COMPRESS;
>
> Or is that way to stop gap?
>
>> Per-column would be much more painful; do we really need that?

Personally, I think the whole built-in compressor framework should be
deprecated (it's confusing and unintuitive) and replaced with a
pluggable compression family in the vein of pg_crypto.  This solves a
number of issues simultaneously...we no longer have to 'guess' if the
user wants a bytea compressed or not, everything is controlled from
the client, and we can make it easier for users to use non license
compatible libraries (like lzo) in a standard way.

merlin


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [SPAM] Re: posix_fadvise v22
Next
From: "Rushabh Lathia"
Date:
Subject: Function with defval returns wrong result