Re: Faster compression, again

From: Huchev <hugochevrain(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Faster compression, again
Date: 2012-04-03 14:29:06
Message-ID: 1333463346346-5615311.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

For a C implementation, it could interesting to consider LZ4 algorithm, since
it is written natively in this language. In contrast, Snappy has been ported
to C by Andy from the original C++ Google code, which lso translate into
less extensive usage and tests.

http://code.google.com/p/lz4/

Furthermode, LZ4 license is BSD. And it has been reported in several tests
as being faster than Snappy/LZO, especially on decompression speed.

http://article.gmane.org/gmane.comp.file-systems.btrfs/15744

And last point, there is a "high compression" mode, which could be useful
for data rarely written/modified but often read.

http://code.google.com/p/lz4hc/

--
View this message in context: http://postgresql.1045698.n5.nabble.com/Faster-compression-again-tp5565675p5615311.html
Sent from the PostgreSQL - hackers mailing list archive at Nabble.com.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joachim Wieland 2012-04-03 14:40:31 Re: patch for parallel pg_dump
Previous Message Robert Haas 2012-04-03 13:34:41 Re: patch for parallel pg_dump