Re: Zedstore - compressed in-core columnar storage

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Zedstore - compressed in-core columnar storage
Дата
Msg-id 11257.1554994460@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Zedstore - compressed in-core columnar storage  (Ashwin Agrawal <aagrawal@pivotal.io>)
Ответы Re: Zedstore - compressed in-core columnar storage  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-hackers
Ashwin Agrawal <aagrawal@pivotal.io> writes:
> Thank you for trying it out. Yes, noticed for certain patterns pg_lzcompress() actually requires much larger output
buffers.Like for one 86 len source it required 2296 len output buffer. Current zedstore code doesn’t handle this case
anderrors out. LZ4 for same patterns works fine, would highly recommend using LZ4 only, as anyways speed is very fast
aswell with it. 

You realize of course that *every* compression method has some inputs that
it makes bigger.  If your code assumes that compression always produces a
smaller string, that's a bug in your code, not the compression algorithm.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: creating gist index seems to look at data ignoring transaction?
Следующее
От: Jeevan Chalke
Дата:
Сообщение: cache lookup failed for collation 0