Re: Compress ReorderBuffer spill files using LZ4 - Mailing list pgsql-hackers

From Julien Tachoires
Subject Re: Compress ReorderBuffer spill files using LZ4
Date
Msg-id CAFEQCbFNpcJtjSM2=73WQX-5oyTiC=Y0yUYgwQYQZ2aOVVnWqw@mail.gmail.com
Whole thread Raw
In response to Re: Compress ReorderBuffer spill files using LZ4  (Tomas Vondra <tomas.vondra@enterprisedb.com>)
Responses Re: Compress ReorderBuffer spill files using LZ4
List pgsql-hackers
Le ven. 7 juin 2024 à 05:59, Tomas Vondra
<tomas.vondra@enterprisedb.com> a écrit :
>
> On 6/6/24 12:58, Julien Tachoires wrote:
> > ...
> >
> > When compiled with LZ4 support (--with-lz4), this patch enables data
> > compression/decompression of these temporary files. Each transaction
> > change that must be written on disk (ReorderBufferDiskChange) is now
> > compressed and encapsulated in a new structure.
> >
>
> I'm a bit confused, but why tie this to having lz4? Why shouldn't this
> be supported even for pglz, or whatever algorithms we add in the future?

That's right, reworking this patch in that sense.

Regards,

JT



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: race condition in pg_class
Next
From: Robert Haas
Date:
Subject: Re: relfilenode statistics