~/talk

Pushing the Limits of the Index API: Building a Columnar Store without a TAM

Talkat PGConf.dev 2026 · 2026-05-19..05-22· [databases]
name:Stu Hood
github:stuhood
slides:none on file

Builds a columnar store entirely inside standard Postgres heaps by using an Index Access Method plus Custom Scans, implemented in Rust with pgx and shipped as pg_search, integrating Tantivy and DataFusion. Claims concrete wins: single-table top-K and wide select-star queries run up to ~45x faster and joins show ~6.5x improvements in examples by using SIMD-aligned posting-list intersections, late materialization, dynamic filters, delete-bitmaps and visibility-map delayed checks. Notes practical limits: 32-column index cap, tuple-at-a-time APIs, and uncertain parallel-worker semantics; proposes batching and projection hooks as fixes.

AI-written summary · about

  1. 0:00Introduction and goals
  2. 1:52Parade DB architecture overview
  3. 3:18Why index access method over TAM
  4. 6:33Multi-layout index design
  5. 10:04Storage and memory mapping
  6. 11:29MVCC and delete handling
  7. 11:50Single-table proven strategies
  8. 12:32Vectorization in search
  9. 13:55BlockMax WAND for top K
  10. 16:53Late materialization technique
  11. 19:05Dynamic filters and predicate pullup
  12. 22:13Testing and validation methods
  13. 25:23Joins and normalization challenges
  14. 27:06Eager materialization pitfalls
  15. 28:53Semi-join optimization example
  16. 34:12Postgres integration challenges
  17. 37:18Custom scan API limitations
  18. 39:49Postgres extension ecosystem praise
  19. 40:51Bitmap index scan alternatives
  20. 42:38Conclusion and key takeaways
  21. 43:19Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.