Cargando…

Recommendations for Evolving Relational Databases

Relational databases play a central role in many information systems. Their schemas contain structural and behavioral entity descriptions. Databases must continuously be adapted to new requirements of a world in constant change while: (1) relational database management systems (RDBMS) do not allow i...

Descripción completa

Detalles Bibliográficos
Autores principales: Delplanque, Julien, Etien, Anne, Anquetil, Nicolas, Ducasse, Stéphane
Formato: Online Artículo Texto
Lenguaje:English
Publicado: 2020
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7266448/
http://dx.doi.org/10.1007/978-3-030-49435-3_31
_version_ 1783541311547113472
author Delplanque, Julien
Etien, Anne
Anquetil, Nicolas
Ducasse, Stéphane
author_facet Delplanque, Julien
Etien, Anne
Anquetil, Nicolas
Ducasse, Stéphane
author_sort Delplanque, Julien
collection PubMed
description Relational databases play a central role in many information systems. Their schemas contain structural and behavioral entity descriptions. Databases must continuously be adapted to new requirements of a world in constant change while: (1) relational database management systems (RDBMS) do not allow inconsistencies in the schema; (2) stored procedure bodies are not meta-described in RDBMS such as PostgreSQL that consider their bodies as plain text. As a consequence, evaluating the impact of an evolution of the database schema is cumbersome, being essentially manual. We present a semi-automatic approach based on recommendations that can be compiled into a SQL patch fulfilling RDBMS constraints. To support recommendations, we designed a meta-model for relational databases easing computation of change impact. We performed an experiment to validate the approach by reproducing a real evolution on a database. The results of our experiment show that our approach can set the database in the same state as the one produced by the manual evolution in 75% less time.
format Online
Article
Text
id pubmed-7266448
institution National Center for Biotechnology Information
language English
publishDate 2020
record_format MEDLINE/PubMed
spelling pubmed-72664482020-06-03 Recommendations for Evolving Relational Databases Delplanque, Julien Etien, Anne Anquetil, Nicolas Ducasse, Stéphane Advanced Information Systems Engineering Article Relational databases play a central role in many information systems. Their schemas contain structural and behavioral entity descriptions. Databases must continuously be adapted to new requirements of a world in constant change while: (1) relational database management systems (RDBMS) do not allow inconsistencies in the schema; (2) stored procedure bodies are not meta-described in RDBMS such as PostgreSQL that consider their bodies as plain text. As a consequence, evaluating the impact of an evolution of the database schema is cumbersome, being essentially manual. We present a semi-automatic approach based on recommendations that can be compiled into a SQL patch fulfilling RDBMS constraints. To support recommendations, we designed a meta-model for relational databases easing computation of change impact. We performed an experiment to validate the approach by reproducing a real evolution on a database. The results of our experiment show that our approach can set the database in the same state as the one produced by the manual evolution in 75% less time. 2020-05-09 /pmc/articles/PMC7266448/ http://dx.doi.org/10.1007/978-3-030-49435-3_31 Text en © Springer Nature Switzerland AG 2020 This article is made available via the PMC Open Access Subset for unrestricted research re-use and secondary analysis in any form or by any means with acknowledgement of the original source. These permissions are granted for the duration of the World Health Organization (WHO) declaration of COVID-19 as a global pandemic.
spellingShingle Article
Delplanque, Julien
Etien, Anne
Anquetil, Nicolas
Ducasse, Stéphane
Recommendations for Evolving Relational Databases
title Recommendations for Evolving Relational Databases
title_full Recommendations for Evolving Relational Databases
title_fullStr Recommendations for Evolving Relational Databases
title_full_unstemmed Recommendations for Evolving Relational Databases
title_short Recommendations for Evolving Relational Databases
title_sort recommendations for evolving relational databases
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7266448/
http://dx.doi.org/10.1007/978-3-030-49435-3_31
work_keys_str_mv AT delplanquejulien recommendationsforevolvingrelationaldatabases
AT etienanne recommendationsforevolvingrelationaldatabases
AT anquetilnicolas recommendationsforevolvingrelationaldatabases
AT ducassestephane recommendationsforevolvingrelationaldatabases