适用于物联网应用的kv数据库的研究与实现
文献类型:学位论文
作者 | 刘斌; 刘斌 |
学位类别 | 工程硕士 |
答辩日期 | 2014-05-20 |
授予单位 | 中国科学院大学 |
授予地点 | 中国科学院自动化研究所 |
导师 | 台宪青 |
关键词 | 非关系型数据库 布隆过滤器 有序字符串表 内存分配器 缓存 NoSQL Bloom Filter SSTable Memory Allocator Cache |
其他题名 | The Study and Building of KV Database applicable to the Internet of Things |
学位专业 | 计算机技术 |
中文摘要 | 随着物联网的兴起,物与物的关系、人与物的关系越来越紧密。而这种关系紧密主要源于数据交互的频繁。随着数据量的指数级增长,以及物联网数据分析的特殊要求,传统的关系型数据库已经无法满足数据管理的要求。NoSQL数据库成为解决物联网数据存储问题的破题之选。本文介绍了NoSQL数据库技术的起源,从NoSQL数据库的概念和特性、NoSQL数据库的优势以及NoSQL数据库四大家族对NoSQL技术进行了综述。重点研究了当前流行的NoSQL数据库如MongoDB、Tokyo Cabinet、Memcached以及LevelDB等,分析了他们的架构设计和存储实现方案。基于对经典NoSQL数据库的分析,设计了Deluge数据库的架构,并详细描述了其架构和各个模块的设计思路。之后,叙述了一些优化措施和技术细节。论文的主要工作和成果如下: (1)提出基于硬盘组的Hash Log技术,该技术可以大大提高基于WAL技术的数据库的日志写入技术,从而提高数据库系统的并发性和吞吐量。 (2)利用LSM Tree(The Log-Structure Merge-Tree)完成数据的持久化管理,并且利用层级的思路优化检索操作。在实际的检索过程中,采用多种优化技术完成数据的快速判断,从而加快检索速度。 (3)采用独立的内存分配与管理模块,而不是使用系统提供的malloc-free组合。减少锁操作,大大提高了内存申请的效率,从而进一步提高了系统的整体性能。 (4)采用Cache技术,对热数据进行缓存,减少磁盘I/O。 |
英文摘要 | With the development of the Internet of Things, the relationship between different things and that between people and things get much closer. And this kind of close relationship depends on the frequent data interaction. With the exponential growth in amount of data and the special requirements of Internet data analysis, the traditional relational database has been unable to meet the requirements of data management. NoSQL becomes the best means for IOT data storage. This thesis introduces the origin of NoSQL technology, and reviews the technology in the following aspects : the concept, characteristics, advantage, and four families of NoSQL database. Research is mainly focused on the current popular NoSQL database such as MongoDB, Tokyo Cabinet, Memcached and LevelDB and their architecture design and implementation of storage is analyzed. Based on the analysis of classic NoSQL database, the Deluge database architecture is designed, and the architecture and design of each module is described in detail. Then some optimization measures and technical details are recounted. The thesis ' main work and achievements are as follows: 1, Put forward Hash Log technology based on the hard disk group. The technology can greatly improve the database log-writing technology based on the technology of WAL, so as to improve the concurrency and throughput of the database system. 2, Realize persistent data management by means of LSM Tree, and levels of thinking was used to optimize retrieval operation. In the process of the actual retrieval, a variety of optimization technology is applied to determine data quickly, so as to speed up the retrieval. 3, Apply independent modules of memory allocation and management, rather than the malloc - free combination provided by the system. Reduce lock operation, greatly improve the efficiency of memory application, thus to further improve the overall performance of the system. |
语种 | 中文 |
其他标识符 | 2011E8009061002 |
源URL | [http://ir.ia.ac.cn/handle/173211/7739] ![]() |
专题 | 毕业生_硕士学位论文 |
推荐引用方式 GB/T 7714 | 刘斌,刘斌. 适用于物联网应用的kv数据库的研究与实现[D]. 中国科学院自动化研究所. 中国科学院大学. 2014. |
入库方式: OAI收割
来源:自动化研究所
浏览0
下载0
收藏0
其他版本
除非特别说明,本系统中所有内容都受版权保护,并保留所有权利。