Polystore Mathematics of Relational Algebra
Hayden Jananthan, Ziqi Zhou, Vijay Gadepally, Dylan Hutchison, and Suna Kim, Jeremy Kepner

TL;DR
This paper develops a rigorous mathematical framework using associative arrays to unify the relational algebra underlying SQL, NoSQL, and NewSQL databases, facilitating the design of polystores that integrate diverse data models.
Contribution
It provides formal definitions, lemmas, and theorems that underpin the mathematical properties of relational algebra modeled with associative arrays, advancing the theoretical foundation for polystore systems.
Findings
Associative arrays model relations as non-zero array rows.
Relational algebra operations correspond to array operations.
Mathematical properties like projection composition are formally proven.
Abstract
Financial transactions, internet search, and data analysis are all placing increasing demands on databases. SQL, NoSQL, and NewSQL databases have been developed to meet these demands and each offers unique benefits. SQL, NoSQL, and NewSQL databases also rely on different underlying mathematical models. Polystores seek to provide a mechanism to allow applications to transparently achieve the benefits of diverse databases while insulating applications from the details of these databases. Integrating the underlying mathematics of these diverse databases can be an important enabler for polystores as it enables effective reasoning across different databases. Associative arrays provide a common approach for the mathematics of polystores by encompassing the mathematics found in different databases: sets (SQL), graphs (NoSQL), and matrices (NewSQL). Prior work presented the SQL relational model…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
