Conversation

Replying to
This is nice. I know of it via the name RID-list. * step 1 - support this for index entries * step 2- add lightweight compression for RID-lists * step 3 - support efficient and/or/count on compressed RID-list during query execution
1
3
Replying to
The overhead is low enough for the deduplication feature to work well with OLTP or mixed workloads. It will probably remain enabled by default in the next stable Postgres release. Lazy approach has significant upsides.
1
4
Replying to
Postgres' GIN indexes already use TID compression, but that's for JSON/FTS indexing. For standard B-Trees, I like an approach that gracefully adapts from tuples to RID lists, and finally to bitmap index style pages. ISTM that only large RID lists are worth compressing anyway.
1
1