PostgreSQL read-optimized index type
A new PostgreSQL index type that outperforms B-Trees for many common cases by specializing in read-only workloads with short, fixed-length keys/includes (int, uuid, text<=32b, numeric, money) and optionally repetitive key-values. It achieves query speed matching or beating B-Tree while compression can consume up to 99.95% less memory, reducing cache/ram/IO pressure, with 100% code coverage. The project is being developed entirely through LLM 'vibe coding' rather than hand-written code, is planned for publication as open source, and seeks collaborators for usage testing, benchmarking, C/SQL internals work, SIMD optimization, and possibly a Rust port or FDW-based aggregate pushdown.
What it addresses
B-Tree indexes are memory-heavy for common read-only lookup, many-many JOIN, and materialized-view workloads, and performance is limited by PostgreSQL's record-at-a-time executor with high-overhead records.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
PostgreSQL read-optimized index type
A new PostgreSQL index type that outperforms B-Trees for many common cases by specializing in read-only workloads with short, fixed-length keys/includes (int, uuid, text<=32b, numeric, money) and optionally repetitive key-values. It achieves query speed matching or beating B-Tree while compression can consume up to 99.95% less memory, reducing cache/ram/IO pressure, with 100% code coverage. The project is being developed entirely through LLM 'vibe coding' rather than hand-written code, is planned for publication as open source, and seeks collaborators for usage testing, benchmarking, C/SQL internals work, SIMD optimization, and possibly a Rust port or FDW-based aggregate pushdown.
Problem: B-Tree indexes are memory-heavy for common read-only lookup, many-many JOIN, and materialized-view workloads, and performance is limited by PostgreSQL's record-at-a-time executor with high-overhead records.
Posted by @asah · Original source ↗
Source text · @asah · · Source ↗
new PostgreSQL index type which outperforms B-Trees for many common cases. As a wild experiment, I'm entirely vibe coding this and not hand-writing it.