Sparse Matrices as a Postgres Type: Inside OneSparse
Presented by:
No video of the event yet, sorry!
What if a graph with billions of edges were just another Postgres table, and traversing it was just an algebraic expression? OneSparse makes that real by binding the GraphBLAS API, the standard for graph algorithms expressed as sparse linear algebra over semirings, into PostgreSQL as a native extension. We'll tour the GraphBLAS programming model, run a quick demo of graph algorithms in SQL, then dig into the internals: how expanded datum keeps large sparse objects in a mutable, in-memory form across function calls instead of round-tripping through TOAST, and how custom types, operators, and aggregates are wired together. A guided tour of the deeper corners of the Postgres extension API, with OneSparse as the vehicle.
- Date:
- 2026 April 23 16:30 PDT
- Duration:
- 50 min
- Room:
- Winchester
- Conference:
- Postgres Conference: 2026
- Language:
- Track:
- Postgres Extensions Day
- Difficulty:
- Easy