A unified metamodel for NoSQL and relational databases

被引:30
作者
Fernandez Candel, Carlos J. [1 ]
Sevilla Ruiz, Diego [1 ]
Garcia-Molina, Jesus J. [1 ]
机构
[1] Univ Murcia, Fac Comp Sci, Murcia, Spain
关键词
Unified metamodel; NoSQL databases; Schemaless; Schema inference; Model-driven engineering; DB-MAIN; MODEL; GENERATION; MANAGEMENT; EVOLUTION;
D O I
10.1016/j.is.2021.101898
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The Database field is undergoing significant changes. Although relational systems are still predominant, the interest in NoSQL systems is continuously increasing. In this scenario, polyglot persistence is envisioned as the database architecture to be prevalent in the future. Therefore, database tools and systems are evolving to support several data models. Multi-model database tools normally use a generic or unified metamodel to represent schemas of the data model that they support. Such metamodels facilitate developing database utilities, as they can be built on a common representation. Also, the number of mappings required to migrate databases from a data model to another is reduced, and integrability is favored. In this paper, we present the U-Schema unified metamodel able to represent logical schemas for the four most popular NoSQL paradigms (columnar, document, key-value, and graph) as well as relational schemas. We will formally define the mappings between U-Schema and the data model defined for each database paradigm. How these mappings have been implemented and validated will be discussed, and some applications of U-Schema will be shown. To achieve flexibility to respond to data changes, most of NoSQL systems are ``schema-on-read,'' and the declaration of schemas is not required. Such an absence of schema declaration makes structural variability possible, i.e., stored data of the same entity type can have different structure. Moreover, data relationships supported by each data model are different; For example, document stores have aggregate objects but not relationship types, whereas graph stores offer the opposite. Through the paper, we will show how all these issues have been tackled in our approach. As far as we know, no proposal exists in the literature of a unified metamodel for relational and the NoSQL paradigms which describes how each individual data model is integrated and mapped. Our metamodel goes beyond the existing proposals by distinguishing entity types and relationship types, representing aggregation and reference relationships, and including the notion of structural variability. Our contributions also include developing schema extraction strategies for schemaless systems of each NoSQL data model, and tackling performance and scalability in the implementation for each store. (C) 2021 The Authors. Published by Elsevier Ltd.
引用
收藏
页数:26
相关论文
共 47 条
  • [1] Logical Unified Modeling for NoSQL Databases
    Abdelhedi, Fatma
    Brahim, Amal Ait
    Atigui, Faten
    Zurfluh, Gilles
    [J]. ICEIS: PROCEEDINGS OF THE 19TH INTERNATIONAL CONFERENCE ON ENTERPRISE INFORMATION SYSTEMS - VOL 1, 2017, : 249 - 256
  • [2] Foundations of Modern Query Languages for Graph Databases
    Angles, Renzo
    Arenas, Marcelo
    Barcelo, Pablo
    Hogan, Aidan
    Reutter, Juan
    Vrgoc, Domagoj
    [J]. ACM COMPUTING SURVEYS, 2017, 50 (05)
  • [3] [Anonymous], 1999, DATA WEB RELATIONS S
  • [4] Atzeni Paolo, 2012, Advanced Information Systems Engineering. Proceedings 24th International Conference, CAiSE 2012, P160, DOI 10.1007/978-3-642-31095-9_11
  • [5] Data modeling in the NoSQL world
    Atzeni, Paolo
    Bugiotti, Francesca
    Cabibbo, Luca
    Torlone, Riccardo
    [J]. COMPUTER STANDARDS & INTERFACES, 2020, 67 (67)
  • [6] Uniform access to NoSQL systems
    Atzeni, Paolo
    Bugiotti, Francesca
    Rossi, Luca
    [J]. INFORMATION SYSTEMS, 2014, 43 : 117 - 133
  • [7] Atzeni P, 2009, LECT NOTES COMPUT SC, V5740, P38, DOI 10.1007/978-3-642-03722-1_2
  • [8] On the application of model-driven engineering in data reengineering
    Bermudez Ruiz, Francisco Javier
    Garcia Molina, Jesus
    Diaz Garcia, Oscar
    [J]. INFORMATION SYSTEMS, 2017, 72 : 136 - 160
  • [9] Bernstein P.A., 2007, SIGMOD 07, P1, DOI DOI 10.1145/1247480.1247482
  • [10] Bernstein PA, 2000, SIGMOD REC, V29, P55, DOI 10.1145/369275.369289