Index Storage Mechanism of MongoDB Based on K-center PAM Optimization Algorithm
Abstract
In MongoDB database, data objects are queried by means of the index. Under the pressure of mass data, all of its index could not be stored in memory, which is bound to affect the system query performance. For this issue, this paper proposes a layered index storage mechanism based on K- center PAM optimization algorithm, clusters hot and cold index through the index of data objects, and uses a layered index storage structure based on Redis cache to reduce times to access disk during data query and improve data query performance. Through experimental comparison with the original index mechanism of MongoDB, this paper verifies that Kcenter PAM optimization index mechanism can enhance the original system query performance.
Keywords
MongoDB; mass data; hot and cold index; Redis; layered storage
DOI
10.12783/dtetr/iceta2016/6998
10.12783/dtetr/iceta2016/6998
Refbacks
- There are currently no refbacks.