Precompressed data in TOASTed columns (was Re: Regarding postgreSQLperformance on DRAM)

Поиск
Список
Период
Сортировка
От Ron
Тема Precompressed data in TOASTed columns (was Re: Regarding postgreSQLperformance on DRAM)
Дата
Msg-id d01fb828-72cb-83ea-d69a-62f80cb4dc6d@gmail.com
обсуждение исходный текст
Ответ на Re: Regarding postgreSQL performance on DRAM  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Rohan Kadekodi
Дата:
Сообщение: Re: Regarding postgreSQL performance on DRAM
Следующее
От: Mark Steben
Дата:
Сообщение: Moving postgres 9.4 databases to new vm hosted datacenter