Abstract

In the recent decades, NoSQL databases have become more popular day by day. And increasingly, developers and database administrators, for whatever reason, have to solve the problems of database migration from a relational model in the model NoSQL databases like the document-oriented database MongoDB database. This article discusses the approach to this migration data based on set theory. A new formal method of determining the optimal runtime searches aggregate collections with the attached documents NoSQL databases such as the key document. The attributes of the database objects are included in optimizing the number of collections and their structures in search queries. The initial data are object properties (attributes, relationships between attributes) on which information is stored in the database, and query the properties that are most often performed, or the speed of which should be maximal. This article discusses the basic types of connections (1-1, 1-M, M-M), typical of the relational model. The proposed method is the following step of the method of creating a collection without embedded documents. The article also provides a method for determining what methods should be used in the reasonable cases to make work with databases more effectively. At the end, this article shows the results of testing of the proposed method on databases with different initial schemes. Experimental results show that the proposed method helps reduce the execution time of queries can also significantly as well as reduce the amount of memory required to store the data in a new database.

Highlights

  • Ключевые слова: NoSQL, запрос, коллекция, ключ-документ, трансляция данных, формат данных, создание структуры базы данных, встроенные документы.

  • Описывается новый формализованный метод построения NoSQL базы данных типа ключ-документ с учетом структуры запросов, планируемых для выполнения запросов к базе данных.

  • Авторы [18] предложили модель преобразования реляционной схемы в схему базы данных NoSQL на основе структуры данных и запросов к данным.

Read more

Summary

Introduction

Ключевые слова: NoSQL, запрос, коллекция, ключ-документ, трансляция данных, формат данных, создание структуры базы данных, встроенные документы. Описывается новый формализованный метод построения NoSQL базы данных типа ключ-документ с учетом структуры запросов, планируемых для выполнения запросов к базе данных. Авторы [18] предложили модель преобразования реляционной схемы в схему базы данных NoSQL на основе структуры данных и запросов к данным.

Results
Conclusion
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call