Precompressed data in TOASTed columns (was Re: Regarding postgreSQLperformance on DRAM) - Mailing list pgsql-admin

From Ron
Subject Precompressed data in TOASTed columns (was Re: Regarding postgreSQLperformance on DRAM)
Date
Msg-id d01fb828-72cb-83ea-d69a-62f80cb4dc6d@gmail.com
Whole thread Raw
In response to Re: Regarding postgreSQL performance on DRAM  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
On 2/20/19 3:04 PM, Tom Lane wrote:
[snip]
> Well, the entire tuple would be 25600 bytes plus some overhead, which
> cannot fit on a Postgres page (8K, unless the OP changed compile options
> without mentioning it).  So something has to be done to make it fit, and
> that something is going to be toasting any fields that can be toasted.
>
>  From memory, our threshold for trying to make tuples narrower is only
> a quarter-page anyway, so that the toaster will be trying to get this
> down to 2K if it can.  That's certainly going to involve compressing
> every field, and I wouldn't be surprised if a lot of them get shoved
> out-of-line too.
>
> The OP might care to read
>
> https://www.postgresql.org/docs/current/storage-toast.html

Based on that and https://www.postgresql.org/docs/9.6/sql-altertable.html 
should I think about doing a SET STORAGE=EXTERNAL on columns with PDF and 
compressed TIFF data?

Thanks

-- 
Angular momentum makes the world go 'round.


pgsql-admin by date:

Previous
From: Rohan Kadekodi
Date:
Subject: Re: Regarding postgreSQL performance on DRAM
Next
From: Mark Steben
Date:
Subject: Moving postgres 9.4 databases to new vm hosted datacenter