Re: jsonb format is pessimal for toast compression

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: jsonb format is pessimal for toast compression
Дата
Msg-id 53E52A0F.2030605@2ndQuadrant.com
обсуждение исходный текст
Ответ на jsonb format is pessimal for toast compression  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: jsonb format is pessimal for toast compression  (Marti Raudsepp <marti@juffo.org>)
Список pgsql-hackers
On 08/08/2014 06:17 AM, Tom Lane wrote:
> I looked into the issue reported in bug #11109.  The problem appears to be
> that jsonb's on-disk format is designed in such a way that the leading
> portion of any JSON array or object will be fairly incompressible, because
> it consists mostly of a strictly-increasing series of integer offsets.
How hard and how expensive would it be to teach pg_lzcompress to
apply a delta filter on suitable data ?

So that instead of integers their deltas will be fed to the "real"
compressor


-- 
Hannu Krosing
PostgreSQL Consultant
Performance, Scalability and High Availability
2ndQuadrant Nordic OÜ




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

Предыдущее
От: Ants Aasma
Дата:
Сообщение: Re: jsonb format is pessimal for toast compression
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: jsonb format is pessimal for toast compression