Re: Increased storage size of jsonb in pg15

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Increased storage size of jsonb in pg15
Дата
Msg-id 23b98884-10e6-4a2c-af8d-a0fad18c9f3c@aklaver.com
обсуждение исходный текст
Ответ на Re: Increased storage size of jsonb in pg15  (Sean Flaherty <sflaherty@grndwork.com>)
Ответы Re: Increased storage size of jsonb in pg15
Список pgsql-general
On 12/28/23 09:13, Sean Flaherty wrote:
> Follow-up:
> Working with AWS, we found that starting in RDS Postgres 15, the 
> default_toast_compression parameter is set to use lz4 compression 
> instead of pglz.  This resulted in the increased json storage size we 
> were seeing.
> 
> I have been able to reproduce the increased storage size on RDS Postgres 
> and using my local docker instance of postgres 15.5 by changing the 
> local default_toast_compression value in postgresql.conf.
> 
> I have attached the test script we use to create a table, insert some 
> test records and a query to test the JSON data size on disk.

I can confirm I see the same results using Postgres 16 installed from 
the PGDG repo on Ubuntu 22.04. That the lz4 data size is greater then 
the pglz data size.

> 
> 
> Kind regards,
> Sean
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com




В списке pgsql-general по дате отправления:

Предыдущее
От: Sean Flaherty
Дата:
Сообщение: Re: Increased storage size of jsonb in pg15
Следующее
От: Sean Flaherty
Дата:
Сообщение: Re: Increased storage size of jsonb in pg15