DocumentCode :
3722173
Title :
Analysis of Range-Based Key Properties for Sharded Cluster of MongoDB
Author :
Pakorn Kookarinrat;Yaowadee Temtanapat
Author_Institution :
Comput. Sci. Dept., Thammasat Univ., Pathumthani, Thailand
fYear :
2015
Firstpage :
1
Lastpage :
4
Abstract :
MongoDB is one of the most popular NoSQL database nowadays. It is an open-source document-oriented database with flexible schema. To increase performances, it can easily scale both vertically and horizontally. For horizontal scaling, MongoDB uses auto-sharding technique to divide data and distribute it over multiple machines. However, in this technique, a DB administrator must choose a shard key for MongoDB to split its collection. Selecting a right key could improve the performance and capability of a database. Contrarily, a wrong key takes down performances and, in some serious case, could lead to a system halt. Therefore, it is important to choose a correct key. MongoDB has a general suggestion on the properties of its ideal shard key. For instance, a good shard key should have high degree randomness for write scaling and should contain high locality for range-query reading. In order to understand the impact of these properties on a shard key, this paper has analyzed and evaluated such suggested properties. We discussed how the variation of a shard key´s choices could impact the DB performance and it gives the base to help a MongoDB admin to understand and could select a good shard key for his/her system.
Keywords :
"Testing","Monitoring","Indexes","Servers","Computer science"
Publisher :
ieee
Conference_Titel :
Information Science and Security (ICISS), 2015 2nd International Conference on
Type :
conf
DOI :
10.1109/ICISSEC.2015.7370983
Filename :
7370983
Link To Document :
بازگشت