期刊文献+

基于冷热数据的MongoDB自动分片机制 被引量:3

Auto-Sharding Mechanism in MongoDB Based on Cold and Hot Data
下载PDF
导出
摘要 MongoDB数据库中的自动分片(Auto-Sharding)机制仅通过数据量来进行分片迁移,会导致负载不均衡的问题。为此,提出一种基于数据冷热访问特征的Auoto-Sharding优化机制。通过朴素贝叶斯算法对数据的访问特性进行冷热数据判定,将数据分片中热数据的所占比重作为热负载值以确定数据迁移时机,并根据数据片之间的热负载差异建立新的数据迁移策略。实验结果表明,在高并发条件下,该优化机制的数据吞吐量高于原有的AutoShading机制。 The Auto-Sharding mechanism in MongoDB database finishes shard migration only through the data quantity, which causes unbalanced load imbalance. Aiming at this problem, this paper proposes an optimized Auto- Sharding mechanism based on the access characteristics of hot and cold data. It uses the naive Bayes algorithm to determine the data access characteristics of hot and cold data,and takes the proportion of the hot data in a data block as the heat load to determine the data migration time. It establishes new data migration strategy through the heat load differences between data blocks. Experimental results show that the data throughput of the improved mechanism is obviously better than that of the original Auto-Sharding mechanism under high concurrent condition.
出处 《计算机工程》 CAS CSCD 北大核心 2017年第3期7-10,17,共5页 Computer Engineering
基金 重庆市教委科学技术研究项目(KJ1400414) 工信部2012年物联网发展专项(2-5) 重庆邮电大学博士启动基金(A2015-17)
关键词 自动分片机制 冷热数据 朴素贝叶斯 热负载 数据迁移 Auto-Sharding mechanism cold and hot data Naive Bayes heat load data migration
  • 相关文献

参考文献7

二级参考文献59

  • 1吕明育,李小勇.NoSQL数据库与关系数据库的比较分析[J].微型电脑应用,2011(10):55-58. 被引量:21
  • 2严蔚敏,吴伟民.数据结构[M].北京:清华大学出版社,2008:81-84.
  • 3CORMEN T H. , LEISERSON C E, RONSLD L. 算法导论[M].北京:机械工业出版社,2006:1-8.
  • 4Cover T M,Thomas J A [著],阮吉寿,张华[译].信息论基础.北京:机械工业出版社,2008.10-11.
  • 5S. Shepier,B. Callaghan.RFC 3530: Network. File System(NFS)version 4Protocol.The lnternet Society, 2003.
  • 6Ghemaw at S, Gobioff H, Leu ng S T . T he google file system/ / Proceedtngs of the 19th ACM Sym pos ium on 0peratingSys terns Principles . Sagamore, 2003:29-43.
  • 7ZHU S, SET IA S, JAJOD IA S. LEAP: efficient securitym ech an ism s for large--scale d is-tributed sensor networks[ C ] / /Proc. of the 10th ACM Con fon Computer and Communications Security, 2003:62-2.
  • 8Thomas Anderson, Michael Dahlin, Jeanna Neefe, David Patterson, Drew Roselli, and Randotph Wang. Serverless networkfil e systems. In Proceedings of the15th ACM Symposium on OPerating SystemPrinciples, pages 109 126, Copper Mountain Resort,Colorado, December 1995.
  • 9KenDunham. TheProblemwithPZP. InformationSeeurit yJournal: AGlobalPerspeetive, 2006, 15(2):5-8.
  • 10Kristina Cbodorow.MongoDB权威指南.

共引文献88

同被引文献35

引证文献3

二级引证文献8

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部