Re: jsonb format is pessimal for toast compression

Поиск
Список
Период
Сортировка
От Teodor Sigaev
Тема Re: jsonb format is pessimal for toast compression
Дата
Msg-id 53E50449.4010608@sigaev.ru
обсуждение исходный текст
Ответ на jsonb format is pessimal for toast compression  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: jsonb format is pessimal for toast compression  (Teodor Sigaev <teodor@sigaev.ru>)
Список pgsql-hackers
> value-to-be-compressed.  (first_success_by is 1024 in the default set of
> compression parameters.)

Curious idea: we could swap JEntry array and values: values in the 
begining of type will be catched by pg_lzcompress. But we will need to 
know offset of JEntry array, so header will grow up till 8 bytes 
(actually, it will be a varlena header!)


-- 
Teodor Sigaev                      E-mail: teodor@sigaev.ru                                      WWW:
http://www.sigaev.ru/



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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: replication commands and log_statements
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Hokey wrong versions of libpq in apt.postgresql.org