A Unified Metamodel for NoSQL and Relational Databases

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. 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 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 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-write," 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. We will show how all these issues have been tackled in our approach. 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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/23/2022

A Taxonomy of Schema Changes for NoSQL Databases

Schema evolution is a crucial aspect in database management. The propose...
research
04/13/2022

SkiQL: A Unified Schema Query Language

Most NoSQL systems are schema-on-read: data can be stored without first ...
research
03/22/2023

Graph Data Models and Relational Database Technology

Recent work on database application development platforms has sought to ...
research
12/13/2021

One Size Fits All: A Conceptual Data Model for Any Approach to Terminology

In this paper, we want to speculate about the possibility to model all t...
research
07/29/2018

DataJoint: A Simpler Relational Data Model

The relational data model offers unrivaled rigor and precision in defini...
research
01/14/2019

FoundationDB Record Layer: A Multi-Tenant Structured Datastore

The FoundationDB Record Layer is an open source library that provides a ...
research
04/23/2021

MigCast in Monte Carlo: The Impact of Data Model Evolution in NoSQL Databases

During the development of NoSQL-backed software, the data model evolves ...

Please sign up or login with your details

Forgot password? Click here to reset