A Relational Matrix Algebra and its Implementation in a Column Store

04/12/2020
by   Oksana Dolmatova, et al.
0

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. 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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/08/2019

On matrices and K-relations

We show that the matrix query language MATLANG corresponds to a natural ...
research
03/23/2021

HADAD: A Lightweight Approach for Optimizing Hybrid Complex Analytics Queries (Extended Version)

Hybrid complex analytics workloads typically include (i) data management...
research
03/30/2023

A declarative approach to data narration

This vision paper lays the preliminary foundations for Data Narrative Ma...
research
03/10/2021

Functional Collection Programming with Semi-Ring Dictionaries

This paper introduces semi-ring dictionaries, a powerful class of compos...
research
09/20/2023

Relational Expressions for Data Transformation and Computation

Separate programming models for data transformation (declarative) and co...
research
03/19/2021

Relational Operations in FOLE

This paper discusses relational operations in the first-order logical en...
research
12/16/2019

Manifesto for Improved Foundations of Relational Model

Normalized relations extended with inherited attributes can be more fait...

Please sign up or login with your details

Forgot password? Click here to reset