作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2012, Vol. 38 ›› Issue (06): 40-42. doi: 10.3969/j.issn.1000-3428.2012.06.013

• 软件技术与数据库 • 上一篇    下一篇

NoSQL的分布式存储与扩展解决方法

姚 林 a,张永库 b   

  1. (辽宁工程技术大学 a. 研究生学院;b. 电子与信息工程学院,辽宁 葫芦岛 125105)
  • 收稿日期:2011-06-30 出版日期:2012-03-20 发布日期:2012-03-20
  • 作者简介:姚 林(1987-),男,硕士研究生,主研方向:分布式数据库技术,数据挖掘;张永库,副教授
  • 基金资助:
    辽宁省教育厅基金资助项目(05L169)

Solution of NoSQL Distributed Storage and Extension

YAO Lin a, ZHANG Yong-ku b   

  1. (a. Graduate School; b. College of Electronic and Information Engineering, Liaoning Technical University, Huludao 125105, China)
  • Received:2011-06-30 Online:2012-03-20 Published:2012-03-20

摘要: 传统的关系型数据库已无法满足海量数据的存储与访问需求。针对该问题,提出一种非关系型数据库(NoSQL)的分布式存储与扩展解决方法。分析并改进NoSQL,讨论基于一致性哈希算法键值对的分布式存储,以及基于双hash环的数据库服务器节点的扩展方法,提出将NoSQL作为镜像引入数据库架构系统。实际应用结果表明,该方法可以避免资源浪费及服务器过载。

关键词: 非关系型数据库, 一致性哈希算法, 键值对, 镜像

Abstract: The traditional relational database can not meet the storage and access requirements. Aiming at this problem, this paper presents a solution of NoSQL distributed storage and extension. It analyzes and improves the NoSQL, and discusses the solution on NoSQL key/value distributed storage based on consistent hashing algorithm and extension based on double hash ring. NoSQL is led into the current structure as a mirror system. The practical application results show that the solution can avoid the waste of resources and server overload.

Key words: NoSQL, consistent hashing algorithm, key-value pair, mirror

中图分类号: