摘要: 传统的关系型数据库已无法满足海量数据的存储与访问需求。针对该问题,提出一种非关系型数据库(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
中图分类号:
姚林, 张永库. NoSQL的分布式存储与扩展解决方法[J]. 计算机工程, 2012, 38(06): 40-42.
TAO Lin, ZHANG Yong-Ku. Solution of NoSQL Distributed Storage and Extension[J]. Computer Engineering, 2012, 38(06): 40-42.