Migration from Relational to Graph Databases: Proposal and Implementation of an Automated Tool
Abstract
The growth of unstructured and highly connected data poses challenges for data analysis in relational databases due to the high cost of finding patterns and cross-referencing data. Graph databases have emerged as a solution to these problems, as they allow these interconnections to be represented directly as edges in a graph. In order to benefit from these advantages, there is a need to migrate relational databases to graphs. There are various works and alternatives, such as the native Neo4j ETL tool. However, most of the existing methods present an indirect mapping, which includes an inference step based on concepts from the entity-relationship model. The proposal in this article aims to simplify and speed up the migration process, as well as present a mapping without changing the structure of the data. In addition, we propose the R2G2 tool, which implements the method, guaranteeing total automation of the process.References
Bhandari, H. and Chitrakar, R. (2024). Enhancement of a transformation algorithm to migrate sql database into nosql graph database. Data Science Journal, 23:35. Abordagem Mista.
Boudaoud, A., Mahfoud, H., and Chikh, A. (2022). Towards a complete direct mapping from relational databases to property graphs. Abordagem Conceitual.
Codd, E. F. (1970). A relational model of data for large shared data banks. Commun. ACM, 13(6):377–387.
Dimple, D. and Bhardwaj, H. (2015). A tool to convert e-r diagram to property graph database. 10:23207–23221. Abordagem Mista.
Silva, T. and Mello, R. (2021). A rule-based conversion of an eer schema to neo4j schema constraints. pages 181–192. Abordagem EER.
Vicknair, C., Macias, M., Zhao, Z., Nan, X., Chen, Y., and Wilkins, D. (2010). A comparison of a graph database and a relational database: a data provenance perspective. In Proceedings of the 48th Annual ACM Southeast Conference, ACMSE ’10, New York, NY, USA. Association for Computing Machinery.
Virgilio, R., Maccioni, A., and Torlone, R. (2013). Converting relational to graph databases. Abordagem Mista.
Dukić, M., Pantelic, O., Pajic Simovic, A., Krstović, S., and Jejić, O. (2024). A systematic approach for converting relational to graph databases. IPSI Transactions on Internet Research, 20:17–28. Abordagem Mista.
Boudaoud, A., Mahfoud, H., and Chikh, A. (2022). Towards a complete direct mapping from relational databases to property graphs. Abordagem Conceitual.
Codd, E. F. (1970). A relational model of data for large shared data banks. Commun. ACM, 13(6):377–387.
Dimple, D. and Bhardwaj, H. (2015). A tool to convert e-r diagram to property graph database. 10:23207–23221. Abordagem Mista.
Silva, T. and Mello, R. (2021). A rule-based conversion of an eer schema to neo4j schema constraints. pages 181–192. Abordagem EER.
Vicknair, C., Macias, M., Zhao, Z., Nan, X., Chen, Y., and Wilkins, D. (2010). A comparison of a graph database and a relational database: a data provenance perspective. In Proceedings of the 48th Annual ACM Southeast Conference, ACMSE ’10, New York, NY, USA. Association for Computing Machinery.
Virgilio, R., Maccioni, A., and Torlone, R. (2013). Converting relational to graph databases. Abordagem Mista.
Dukić, M., Pantelic, O., Pajic Simovic, A., Krstović, S., and Jejić, O. (2024). A systematic approach for converting relational to graph databases. IPSI Transactions on Internet Research, 20:17–28. Abordagem Mista.
Published
2025-04-23
How to Cite
CONEGERO, Gabriel Lisboa; HARA, Carmem S..
Migration from Relational to Graph Databases: Proposal and Implementation of an Automated Tool. In: REGIONAL DATABASE SCHOOL (ERBD), 20. , 2025, Florianópolis/SC.
Anais [...].
Porto Alegre: Sociedade Brasileira de Computação,
2025
.
p. 70-79.
ISSN 2595-413X.
DOI: https://doi.org/10.5753/erbd.2025.7370.
