Precompressed data in TOASTed columns (was Re: Regarding postgreSQLperformance on DRAM)
В списке pgsql-admin по дате отправления:
| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера