Re: Why is writing JSONB faster than just JSON?

Поиск
Список
Период
Сортировка
От Mitar
Тема Re: Why is writing JSONB faster than just JSON?
Дата
Msg-id CAKLmikNo-WY044Qx=iXvMfYzyGOVBD48zFRXA5drt8BQxy5vTg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Why is writing JSONB faster than just JSON?  (Francisco Olarte <folarte@peoplecall.com>)
Ответы Re: Why is writing JSONB faster than just JSON?  (Francisco Olarte <folarte@peoplecall.com>)
Список pgsql-general
Hi!

On Fri, Apr 23, 2021 at 10:28 AM Francisco Olarte
<folarte@peoplecall.com> wrote:
> A fast look at the link. It seems to be long string of random LOWER
> CASE HEX DIGITS. A simple huffman coder can probably put it in 5 bits
> per char, and a more sophisticated algorithm can probably approach 4.

But this compression-ility would apply to both JSONB and JSON column
types, no? Moreover, it looks like JSONB column type ends up larger on
disk.


Mitar

-- 
http://mitar.tnode.com/
https://twitter.com/mitar_m



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

Предыдущее
От: Francisco Olarte
Дата:
Сообщение: Re: Why is writing JSONB faster than just JSON?
Следующее
От: Francisco Olarte
Дата:
Сообщение: Re: Why is writing JSONB faster than just JSON?