Re: Compress prune/freeze records with Delta Frame of Reference algorithm - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Compress prune/freeze records with Delta Frame of Reference algorithm
Date
Msg-id 9d79f4b9-1a1c-4177-bdfa-3df9a5171db9@iki.fi
Whole thread Raw
In response to Re: Compress prune/freeze records with Delta Frame of Reference algorithm  (Evgeny Voropaev <evgeny.voropaev@tantorlabs.com>)
Responses Re: Compress prune/freeze records with Delta Frame of Reference algorithm
List pgsql-hackers
On 24/03/2026 16:28, Evgeny Voropaev wrote:
> Also I hope, independently of its usage in prune/freeze records, the 
> DFoR itself might be used for compression sequences in other places of PG.

Yeah, that would make this huge amount of new code much more palatable.

I had a similar thought when I added src/backend/lib/integerset.c, I 
planned to also use it for holding the dead TID list in vacuum for 
starters, and possibly for more things in the future. That plan was 
foiled because we got parallel VACUUM instead, which moved the TID list 
to shared memory, and I didn't account for that in integerset.c. So now 
integerset.c is only used for GiST vacuum, which is a pretty narrow use 
case.

Can this DFoR code replace integerset.c easily? Can we use it for the 
vacuum dead TID list? For GIN posting lists? Where else?

- Heikki




pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Parallel Apply
Next
From: Dmitry Koval
Date:
Subject: Re: MERGE PARTITIONS and DEPENDS ON EXTENSION.