Font Size: a A A

Research On MongoDB Indexing Mechanism

Posted on:2017-11-06Degree:MasterType:Thesis
Country:ChinaCandidate:Y K LiangFull Text:PDF
GTID:2348330533450179Subject:Computer technology
Abstract/Summary:PDF Full Text Request
MongoDB as a data storage that fully open document-oriented database, and its good Performance on vast amounts of unstructured data processing has been widely attention and application. In particular,performance in terms of mass information storage, data query, distributed processing far more than the traditional relational database, but with an index in MongoDB database object query data in massive data pressure, it will also affect the system query performance. Studying the mongo storage mechanism, indexing the key technical mechanism and promoting mongo's index searchability that play an important role in promoting for the development of the era of big data applications and performance optimization.MongoDB as the research object, mainly study the index and storage of directing mechanism. Focusing on directing index mechanism to analyze the source code. This study in view of the existing indexing and query mechanism exists the problem of low efficiency of the query, optimizing index of the query mechanism is studied, and the main work is as follows:Firstly, in order to further optimize the mongo query performance index, the optimization algorithm is proposed based on PAM index of layered index storage mechanism. This mechanism will be hot and cold clustering index to distinguish, the storage based on Redis stratified strategy, try to get heat index exists in memory. The experimental results show that the strategy can effectively reduce the query system in the process of the disk I/O operations and improve the efficiency of indexing query.Secondly, the underlying index tiered storage mechanism based on K-nearest neighbor algorithm to the heat index prediction that the propose is to index dynamically updated basing on the predicted heat index. Experimental results show that the improved mechanism can effectively improve the heat index hit rate of Redis, MongoDB further enhance the efficiency of data query.Thesis research work shows that through the study of storage and indexing mechanism, directing to classification and prediction of the index, and set up based on Redis mechanism of storage layer, that can effectively improve the query efficiency index, improve system performance.
Keywords/Search Tags:MongoDB, Hot and cold Index, Redis, Hierarchical Storage, Heat Prediction
PDF Full Text Request
Related items