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.
修改评论