LaraDB: A Minimalist Kernel for Linear and Relational Algebra Computation
Not on the map. Why?
Abstract (arXiv)
Analytics tasks manipulate structured data with variants of relational algebra (RA) and quantitative data with variants of linear algebra (LA). The two computational models have overlapping expressiveness, motivating a common programming model that affords unified reasoning and algorithm design. At the logical level we propose Lara, a lean algebra of three operators, that expresses RA and LA as well as relevant optimization rules. We show a series of proofs that position Lara %formal and informal at just the right level of expressiveness for a middleware algebra: more explicit than MapReduce but more general than RA or LA. At the physical level we find that the Lara operators afford efficient implementations using a single primitive that is available in a variety of backend engines: range scans over partitioned sorted maps. To evaluate these ideas, we implemented the Lara operators as range iterators in Apache Accumulo, a popular implementation of Google's BigTable. First we show how Lara expresses a sensor quality control task, and we measure the performance impact of optimizations Lara admits on this task. Second we show that the LaraDB implementation outperforms Accumulo's native MapReduce integration on a core task involving join and aggregation in the form of matrix multiply, especially at smaller scales that are typically a poor fit for scale-out approaches. We find that LaraDB offers a conceptually lean framework for optimizing mixed-abstraction analytics tasks, without giving up fast record-level updates and scans.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). First posted on arXiv 21 Mar 2017.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 1; 2023: 1; 2024: 0; 2025: 2.
5 papers.
- 2022End-to-end Optimization of Machine Learning Prediction Queriescited by 16
- 2021Functional Collection Programming with Semi-Ring Dictionariescited by 6
- 2023IterLara: A Turing Complete Algebra for Big Data, AI, Scientific Computing, and Databasecited by 0
- 2025Fragments to Facts: Partial-Information Fragment Inference from LLMscited by 0
- 2025The Ubiquitous Sparse Matrix-Matrix Productscited by 0
- 2025The Ubiquitous Sparse Matrix-Matrix Products6 Aug 2025
- 2025Fragments to Facts: Partial-Information Fragment Inference from LLMs20 May 2025
- 2023IterLara: A Turing Complete Algebra for Big Data, AI, Scientific Computing, and Database17 Jul 2023
- 2022End-to-end Optimization of Machine Learning Prediction Queries31 May 2022
- 2021Functional Collection Programming with Semi-Ring Dictionaries10 Mar 2021