Re: Zstandard support for toast compression

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: Zstandard support for toast compression
Дата
Msg-id CAA4eK1JWb7jqSdsL0OT+=tue16UaFGRRm4wyGRdaxf+PmSrp+Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Zstandard support for toast compression  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Wed, May 18, 2022 at 9:47 PM Robert Haas <robertmhaas@gmail.com> wrote:
>
> I do understand that Zstandard is a good compression algorithm, and if
> we had an extensibility mechanism here where one of the four possible
> bit patterns then indicates that the next byte (or two or four) stores
> the real algorithm type, then what about adding Zstandard that way
> instead of consuming one of our four primary bit patterns? That way
> we'd have this option for people who want it, but we'd have more
> options for the future instead of fewer.
>
> i.e. something like:
>
> 00 = PGLZ
> 01 = LZ4
> 10 = reserved for future emergencies
> 11 = extended header with additional type byte (1 of 256 possible
> values reserved for Zstandard)
>

+1 for such an extensible mechanism if we decide to go with Zstandard
compression algorithm. To decide that won't it make sense to see some
numbers as Michael already has a patch for the new algorithm?

-- 
With Regards,
Amit Kapila.



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Intermittent buildfarm failures on wrasse
Следующее
От: Andrey Lepikhov
Дата:
Сообщение: Re: Removing unneeded self joins