Automatic Mapping of MySQL Databases to NoSQL MongoDB
Liana Stanescu, Marius Brezovan, Dumitru Dan Burdescu
DOI: http://dx.doi.org/10.15439/2016F45
Citation: Proceedings of the 2016 Federated Conference on Computer Science and Information Systems, M. Ganzha, L. Maciaszek, M. Paprzycki (eds). ACSIS, Vol. 8, pages 837–840 (2016)
Abstract. The paper presents a framework that implements our original algorithm of automatic mapping a MySQL relational database to a MongoDB NoSQL database. The algorithm uses the metadata stored in the MySQL system tables. It takes into consideration the concepts from Entity-Relationship (ER) model: entity type represented by a relation in the Relational Model (RM), 1:1 and 1:M relationship type represented with Foreign Keys (FK) in the RM and N:M relationship type represented in RM with a join table that contains the Primary Keys (PK) from the original tables, each representing a FK and two 1:M relationships between the original tables and the join table. The initial results of our algorithm that was tested on small size databases (10-15 tables with many relationships and 100 records/ table) are presented in this paper.
References
- http://www.datastax.com/nosql-databases
- https://www.thoughtworks.com/insights/blog/nosql-databases-overview
- https://leanpub.com/mongodbschemadesign/read
- http://code.tutsplus.com/articles/mapping-relational-databases-and-sql-to-mongodb--net-35650
- https://docs.mongodb.org/manual/core/data-modeling-introduction/
- https://dev.mysql.com/doc/refman/5.0/en/information-schema.html
- https://dev.mysql.com/doc/refman/5.5/en/introduction.html
- https://www.devbridge.com/articles/benefits-of-nosql/