Semi-Automated Strategy for Efficient Migration from SQL to NoSQL
DOI:
https://doi.org/10.32628/CSEIT2511162Keywords:
NoSQL Schema Design, Metadata Extraction, Query Optimization, SQL-to-NoSQL Migration, YCSB BenchmarkingAbstract
As more applications are migrated to NoSQL databases, they often rely on general guidelines to select appropriate schemas, but these methods do not fully address the unique challenges posed by NoSQL systems. Traditional relational database schema optimization techniques are not directly applicable to NoSQL environments, leading to inefficiencies in schema design. This paper introduces an approach for designing optimal database schemas specifically tailored for NoSQL databases like MongoDB. We propose a semi-automated schema model to recommend schemas and query plans based on Metadata SQL query information. The model captures Meta data information of SQL database and used as a suggestive measure to design NoSQL database. The key parameters captured are primary key, foreign key, table size and cardinality. The decision is made based on these parameters and manual interventions of frequently executed SQL queries indicating joins. This approach aims to simplify the development process, enhance database performance and scalability through our proposed model. To evaluate the impact of proposed model three benchmark workloads were implemented using the Yahoo! Cloud Serving Benchmark (YCSB) framework, especially focused on eliminating joins.
📊 Article Downloads
References
Mior, Michael J. "Automated schema design for NoSQL databases." Proceedings of the 2014 SIGMOD PhD symposium. 2014.Chauhan, Ashutosh Singh, Anjali Kedawat, and Pooja Parnami. "An Approach to Implement Map Reduce with NoSQL Databases." DOI: https://doi.org/10.1145/2602622.2602624
Bansal, Neha, Shelly Sachdeva, and Lalit K. Awasthi. "Database Migration Tools: From RDB to NoSQL Database." New Trends in Intelligent Software Methodologies, Tools and Techniques. IOS Press, 2022. 563-570.Eckerstorfer, Florian. "Performance of NoSQL Databases." (2011). DOI: https://doi.org/10.3233/FAIA220285
Imam, Abdullahi Abubakar, et al. "Automatic schema suggestion model for NoSQL document-stores databases." Journal of Big Data 5 (2018): 1-17.
Alotaibi, Obaid, and Eric Pardede. "Transformation of schema from relational database (RDB) to NoSQL databases." Data 4.4 (2019): 148. DOI: https://doi.org/10.3390/data4040148
Gupta, Eeshan, et al. "Attribute-based access control for NoSQL databases." Proceedings of the eleventh ACM conference on data and application security and privacy. 2021. DOI: https://doi.org/10.1145/3422337.3450323
Sethi, Sourabh, and Sarah Panda. "SQL or NoSQL—Practical Aspect and Rational behind Choosing Data Stores." Journal of Computer and Communications 12.8 (2024): 155-174. DOI: https://doi.org/10.4236/jcc.2024.128001
El Alami, Alae, and Mohamed Bahaj. "Framework for a complete migration of relational databases to other types of databases (object oriented OO, object-relational OR, XML)." 2016 IEEE/ACS 13th International Conference of Computer Systems and Applications (AICCSA). IEEE, 2016. DOI: https://doi.org/10.1109/AICCSA.2016.7945763
Al Mahruqi, Rahma S., Manar H. Alalfi, and Thomas R. Dean. "A semi-automated framework for migrating web applications from SQL to document oriented NoSQL database." CASCON. 2019.
Stanescu, Liana, Marius Brezovan, and Dumitru Dan Burdescu. "Automatic mapping of MySQL databases to NoSQL MongoDB." 2016 Federated Conference on Computer Science and Information Systems (FedCSIS). IEEE, 2016. DOI: https://doi.org/10.15439/2016F45
Bhandari, Hira Lal, and Roshan Chitrakar. "Enhancement of a Transformation Algorithm to Migrate SQL Database into NoSQL Graph Database." Data Science Journal 23.1 (2024). DOI: https://doi.org/10.5334/dsj-2024-035
Chillón, Alberto Hernández, et al. "A generic schema evolution approach for NoSQL and relational databases." IEEE Transactions on Knowledge and Data Engineering 36.7 (2024): 2774-2789. DOI: https://doi.org/10.1109/TKDE.2024.3362273
Imam, Abdullahi Abubakar, et al. "Data modeling guidelines for NoSQL document-store databases." International Journal of Advanced Computer Science and Applications, 9 (2018). DOI: https://doi.org/10.14569/IJACSA.2018.091066
Dipina Damodaran, B., Shirin Salim, and Surekha Marium Vargese. "Performance evaluation of MySQL and MongoDB databases." Int. J. Cybern. Inform.(IJCI) 5 (2016): 387-394.
Dipina Damodaran, B., Shirin Salim, and Surekha Marium Vargese. "Performance evaluation of MySQL and MongoDB databases." Int. J. Cybern. Inform.(IJCI) 5 (2016): 387-394. DOI: https://doi.org/10.5121/ijci.2016.5241
Khan, Muhammad Zohaib, et al. "Comparative case study: An evaluation of performance computation between SQL and NoSQL database." Journal of Software Engineering 1.2 (2023): 14-23.
Mior, Michael Joseph, et al. "NoSE: Schema design for NoSQL applications." IEEE Transactions on Knowledge and Data Engineering 29.10 (2017): 2275-2289. DOI: https://doi.org/10.1109/TKDE.2017.2722412
Imam, Abdullahi Abubakar, et al. "Automatic schema suggestion model for NoSQL document-stores databases." Journal of Big Data 5 (2018): 1-17. DOI: https://doi.org/10.1186/s40537-018-0156-1
Karnitis, Girts, and Guntis Arnicans. "Migration of relational database to document-oriented database: Structure denormalization and data transformation." 2015 7th international conference on computational intelligence, communication systems and networks. IEEE, 2015. DOI: https://doi.org/10.1109/CICSyN.2015.30
Capris, Ticiana, et al. "Comparison of SQL and NoSQL databases with different workloads: MongoDB vs MySQL evaluation." 2022 International Conference on Data Analytics for Business and Industry (ICDABI). IEEE, 2022. DOI: https://doi.org/10.1109/ICDABI56818.2022.10041513
Cornelia, G. Y. O. R. O. D. I., et al. "A comparative study: MongoDB vs. MySQL." ResearchGate Conference Paper. 2015
HTTPS://CHATGPT.COM/G/G-KZ0EYXLJE-SCHOLAR-GPT
Downloads
Published
Issue
Section
License
Copyright (c) 2025 International Journal of Scientific Research in Computer Science, Engineering and Information Technology

This work is licensed under a Creative Commons Attribution 4.0 International License.