A Relational Matrix Algebra and its Implementation in a Column Store

Oksana Dolmatova, Nikolaus Augsten, Michael H. Boehlen
4/12/2020
cs.DB

Official code: oksdolm/RMA (5 stars, TSQL, last commit 2020-04-16).

Abstract

Analytical queries often require a mixture of relational and linear algebra operations applied to the same data. This poses a challenge to analytic systems that must bridge the gap between relations and matrices.

Show full abstract

Previous work has mainly strived to fix the problem at the implementation level. This paper proposes a principled solution at the logical level. We introduce the relational matrix algebra (RMA), which seamlessly integrates linear algebra operations into the relational model and eliminates the dichotomy between matrices and relations. RMA is closed: All our relational matrix operations are performed on relations and result in relations; no additional data structure is required. Our implementation in MonetDB shows the feasibility of our approach, and empirical evaluations suggest that in-database analytics performs well for mixed workloads.

View on arXivView PDF

Code Implementations(1)

oksdolm/RMAOfficial100%

Implementation of Relational Matrix Algebra in MonetDB

51TSQL, CApr 12, 20206 years agoNOASSERTION
cmatrixmonetdbrelational-databases

Similar Papers

Cite this paper

@article{dolmatova2020relational,
  title  = {A Relational Matrix Algebra and its Implementation in a Column Store},
  author = {Oksana Dolmatova and Nikolaus Augsten and Michael H. Boehlen},
  year   = {2020},
  eprint = {2004.05517},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2004.05517}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2004.05517.svg)](https://codeofpaper.com/paper/2004.05517)

Discussion