Inicio  /  Computation  /  Vol: 8 Par: 2 (2020)  /  Artículo
ARTÍCULO
TITULO

Creating Collections with Embedded Documents for Document Databases Taking into Account the Queries

Yulia Shichkina and Muon Ha    

Resumen

In this article, we describe a new formalized method for constructing the NoSQL document database of MongoDB, taking into account the structure of queries planned for execution to the database. The method is based on set theory. The initial data are the properties of objects, information about which is stored in the database, and the set of queries that are most often executed or whose execution speed should be maximum. In order to determine the need to create embedded documents, our method uses the type of relationship between tables in a relational database. Our studies have shown that this method is in addition to the method of creating collections without embedded documents. In the article, we also describe a methodology for determining in which cases which methods should be used to make working with databases more efficient. It should be noted that this approach can be used for translating data from MySQL to MongoDB and for the consolidation of these databases.

 Artículos similares