MIGRATION OF RELATIONAL DATABASE TO NOSQL DOCUMENT-ORIENTED DATABASE

With the increasing popularity of NoSQL document-oriented databases, there is a need to migrate from relational databases to document-oriented NoSQL databases. One of the main advantages of document-oriented NoSQL databases is the ability to perform embedding and referencing. Stanescu et al. (201...

Full description

Saved in:
Bibliographic Details
Main Author: Tandya, Wilson
Format: Final Project
Language:Indonesia
Online Access:https://digilib.itb.ac.id/gdl/view/74106
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Institut Teknologi Bandung
Language: Indonesia
id id-itb.:74106
spelling id-itb.:741062023-06-26T12:51:30ZMIGRATION OF RELATIONAL DATABASE TO NOSQL DOCUMENT-ORIENTED DATABASE Tandya, Wilson Indonesia Final Project migration, relasional database, NoSQL database, migration algorithm INSTITUT TEKNOLOGI BANDUNG https://digilib.itb.ac.id/gdl/view/74106 With the increasing popularity of NoSQL document-oriented databases, there is a need to migrate from relational databases to document-oriented NoSQL databases. One of the main advantages of document-oriented NoSQL databases is the ability to perform embedding and referencing. Stanescu et al. (2016) conducted research on a migration algorithm from relational database MySQL to NoSQL database MongoDB, which utilizes relational database metadata. However, the developed algorithm heavily relies on whether tables have foreign keys and/or are referenced by other tables, which can result in suboptimal mapping of the migration model. Considering that a database migration is only performed on a database that has been or is currently in use, the workload information concept used in the research by Lima and Mello (2015) can be adapted to implement a better mapping model. This paper develop a migration algorithm from relational databases to document-oriented NoSQL databases by utilizing workload information to determine the use of embedding and referencing. The algorithm consists of two parts: a schema conversion algorithm that produces a document-oriented NoSQL database schema and a data mapping algorithm that generates JSON files. The constructed algorithm also adds table evaluation sequencing to complement the migration algorithm from the research by Stanescu et al. (2016). The migration testing results from the relational MySQL database to the NoSQL MongoDB database using the algorithm developed in this paper indicate that the resulting MongoDB database performs better compared to the algorithm researched by Stanescu et al. (2016) in all tested aspects, except in cases where reading documents embedded in a collection in the relational database with high read access frequency. text
institution Institut Teknologi Bandung
building Institut Teknologi Bandung Library
continent Asia
country Indonesia
Indonesia
content_provider Institut Teknologi Bandung
collection Digital ITB
language Indonesia
description With the increasing popularity of NoSQL document-oriented databases, there is a need to migrate from relational databases to document-oriented NoSQL databases. One of the main advantages of document-oriented NoSQL databases is the ability to perform embedding and referencing. Stanescu et al. (2016) conducted research on a migration algorithm from relational database MySQL to NoSQL database MongoDB, which utilizes relational database metadata. However, the developed algorithm heavily relies on whether tables have foreign keys and/or are referenced by other tables, which can result in suboptimal mapping of the migration model. Considering that a database migration is only performed on a database that has been or is currently in use, the workload information concept used in the research by Lima and Mello (2015) can be adapted to implement a better mapping model. This paper develop a migration algorithm from relational databases to document-oriented NoSQL databases by utilizing workload information to determine the use of embedding and referencing. The algorithm consists of two parts: a schema conversion algorithm that produces a document-oriented NoSQL database schema and a data mapping algorithm that generates JSON files. The constructed algorithm also adds table evaluation sequencing to complement the migration algorithm from the research by Stanescu et al. (2016). The migration testing results from the relational MySQL database to the NoSQL MongoDB database using the algorithm developed in this paper indicate that the resulting MongoDB database performs better compared to the algorithm researched by Stanescu et al. (2016) in all tested aspects, except in cases where reading documents embedded in a collection in the relational database with high read access frequency.
format Final Project
author Tandya, Wilson
spellingShingle Tandya, Wilson
MIGRATION OF RELATIONAL DATABASE TO NOSQL DOCUMENT-ORIENTED DATABASE
author_facet Tandya, Wilson
author_sort Tandya, Wilson
title MIGRATION OF RELATIONAL DATABASE TO NOSQL DOCUMENT-ORIENTED DATABASE
title_short MIGRATION OF RELATIONAL DATABASE TO NOSQL DOCUMENT-ORIENTED DATABASE
title_full MIGRATION OF RELATIONAL DATABASE TO NOSQL DOCUMENT-ORIENTED DATABASE
title_fullStr MIGRATION OF RELATIONAL DATABASE TO NOSQL DOCUMENT-ORIENTED DATABASE
title_full_unstemmed MIGRATION OF RELATIONAL DATABASE TO NOSQL DOCUMENT-ORIENTED DATABASE
title_sort migration of relational database to nosql document-oriented database
url https://digilib.itb.ac.id/gdl/view/74106
_version_ 1822007303939817472