Re: [HACKERS] Custom compression methods

From: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
To: Dilip Kumar <dilipbalaut(at)gmail(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>, Alexander Korotkov <a(dot)korotkov(at)postgrespro(dot)ru>, David Steele <david(at)pgmasters(dot)net>, Ildus Kurbangaliev <i(dot)kurbangaliev(at)gmail(dot)com>, Dmitry Dolgov <9erthalion6(at)gmail(dot)com>, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [HACKERS] Custom compression methods
Date: 2020-12-28 06:14:43
Message-ID: 376CC7A5-969C-4A53-8597-C736BEFBF7F7@yandex-team.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> 28 дек. 2020 г., в 10:20, Dilip Kumar <dilipbalaut(at)gmail(dot)com> написал(а):
>
> On Sun, Dec 27, 2020 at 12:40 PM Andrey Borodin <x4mmm(at)yandex-team(dot)ru> wrote:
>>
>>
>>
>>> 25 дек. 2020 г., в 14:34, Dilip Kumar <dilipbalaut(at)gmail(dot)com> написал(а):
>>>
>>> <v16-0002-alter-table-set-compression.patch> <v16-0004-Create-custom-compression-methods.patch> <v16-0005-new-compression-method-extension-for-zlib.patch> <v16-0001-Built-in-compression-method.patch> <v16-0003-Add-support-for-PRESERVE.patch> <v16-0006-Support-compression-methods-options.patch>
>>
>> Maybe add Lz4\Zlib WAL FPI compression on top of this patchset? I'm not insisting on anything, it just would be so cool to have it...
>>
>> BTW currently there are Oid collisions in original patchset.
>
> Thanks for the patch. Maybe we can allow setting custom compression
> methods for wal compression as well.

No, unfortunately, we can't use truly custom methods. Custom compression handlers are WAL-logged. So we can use only static set of hardcoded compression methods.

Thanks!

Best regards, Andrey Borodin.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2020-12-28 06:54:41 Re: New IndexAM API controlling index vacuum strategies
Previous Message vignesh C 2020-12-28 05:54:10 Re: Parallel Inserts in CREATE TABLE AS