English

Associative Array Model of SQL, NoSQL, and NewSQL Databases

Databases 2016-12-13 v1 Distributed, Parallel, and Cluster Computing Programming Languages

Abstract

The success of SQL, NoSQL, and NewSQL databases is a reflection of their ability to provide significant functionality and performance benefits for specific domains, such as financial transactions, internet search, and data analysis. The BigDAWG polystore seeks to provide a mechanism to allow applications to transparently achieve the benefits of diverse databases while insulating applications from the details of these databases. Associative arrays provide a common approach to the mathematics found in different databases: sets (SQL), graphs (NoSQL), and matrices (NewSQL). This work presents the SQL relational model in terms of associative arrays and identifies the key mathematical properties that are preserved within SQL. These properties include associativity, commutativity, distributivity, identities, annihilators, and inverses. Performance measurements on distributivity and associativity show the impact these properties can have on associative array operations. These results demonstrate that associative arrays could provide a mathematical model for polystores to optimize the exchange of data and execution queries.

Keywords

Cite

@article{arxiv.1606.05797,
  title  = {Associative Array Model of SQL, NoSQL, and NewSQL Databases},
  author = {Jeremy Kepner and Vijay Gadepally and Dylan Hutchison and Hayden Jananthan and Timothy Mattson and Siddharth Samsi and Albert Reuther},
  journal= {arXiv preprint arXiv:1606.05797},
  year   = {2016}
}

Comments

9 pages; 6 figures; accepted to IEEE High Performance Extreme Computing (HPEC) conference 2016

R2 v1 2026-06-22T14:28:35.691Z