Re: libpq compression (part 2) - Mailing list pgsql-hackers

From Andrey Borodin
Subject Re: libpq compression (part 2)
Date
Msg-id 540991641208615@iva8-dc7983bf477b.qloud-c.yandex.net
Whole thread Raw
In response to Re: libpq compression (part 2)  (Justin Pryzby <pryzby@telsasoft.com>)
List pgsql-hackers
> Maybe you should reset the streams between each compression message (even if
> it's using the same compression algorithm). This might allow better
> compression.

AFAIK on the contrary - longer data sequence usually compresses better. The codec can use knowledge about prior data to
bettercompress current bytes.
 

Best regards, Andrey Borodin.



pgsql-hackers by date:

Previous
From: Andrey Borodin
Date:
Subject: Re: Index-only scans vs. partially-retrievable indexes
Next
From: Suraj Kharage
Date:
Subject: Remove extra spaces