Re: [HACKERS] MAIN, Uncompressed? - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: [HACKERS] MAIN, Uncompressed?
Date
Msg-id 3366a952-1fb8-b0af-ddc5-aa34b9b2b1b6@2ndQuadrant.com
Whole thread Raw
In response to Re: [HACKERS] MAIN, Uncompressed?  (Simon Riggs <simon@2ndquadrant.com>)
List pgsql-hackers

On 09/12/2017 12:11 PM, Simon Riggs wrote:
>
>> OK, so table-level option for "toast_tuple_target", not attribute-level option
>>
>> The attached patch and test shows this concept is useful and doesn't
>> affect existing data.
>>
>> For 4x 4000 byte rows:
>> * by default we use 1 heap block and 3 toast blocks
>> * toast_tuple_target=4080 uses 2 heap blocks and 0 toast blocks
>
> New patch, v2, since one line in the docs failed to apply because of
> recent changes.
>



This has bitrotted ever so slightly. I fixed that and took the
opportunity to edit the docs text slightly to improve the clarity a bit.
Revised patch attached - adjust to your taste.

The code is extremely simple and small and straightforward, and the
tests are good.

Marking as Ready for Committer,

cheers

andrew

-- 
Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


Attachment

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [HACKERS] UPDATE of partition key
Next
From: Alvaro Herrera
Date:
Subject: Re: [HACKERS] moving some partitioning code to executor