天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

當(dāng)前位置:主頁 > 科技論文 > 軟件論文 >

基于LSM-Tree的持久化緩存機(jī)制的優(yōu)化研究

發(fā)布時(shí)間:2018-09-10 10:35
【摘要】:互聯(lián)網(wǎng)行業(yè)的蓬勃發(fā)展帶動(dòng)了數(shù)據(jù)量的爆炸式增長,傳統(tǒng)的關(guān)系型數(shù)據(jù)庫并不能滿足海量數(shù)據(jù)規(guī)模的應(yīng)用,所以Key-value存儲(chǔ)機(jī)制應(yīng)運(yùn)而生。伴隨該機(jī)制,NoSQL型數(shù)據(jù)庫得到了大量推廣,NoSQL數(shù)據(jù)庫由于其處理海量數(shù)據(jù)之快而一般用作于傳統(tǒng)關(guān)系型數(shù)據(jù)庫的前置數(shù)據(jù)庫,但這種基于內(nèi)存存儲(chǔ)的數(shù)據(jù)庫在數(shù)據(jù)持久化方面并不完善,并且存在系統(tǒng)宕機(jī)時(shí)導(dǎo)致數(shù)據(jù)丟失的風(fēng)險(xiǎn)。然而隨著互聯(lián)網(wǎng)技術(shù)的成熟,該類型數(shù)據(jù)庫開始摸索將其緩存數(shù)據(jù)持久化的方法。本文主要著眼于KV存儲(chǔ)機(jī)制的NoSQL數(shù)據(jù)庫的持久化研究,針對(duì)Google開源的LevelDB數(shù)據(jù)庫所采用的LSM-Tree持久化機(jī)制,進(jìn)行深入研究。文章首先從LSM-Tree持久化緩存模型入手,深入分析該模型的緩存機(jī)制;然后找出LSM-Tree緩存機(jī)制持續(xù)寫入快速但隨機(jī)讀取較慢的不足之處,引入改進(jìn)的LSM-Tree模型;對(duì)應(yīng)用該緩存機(jī)制的Google單機(jī)持久化存儲(chǔ)系統(tǒng)LevelDB進(jìn)行詳細(xì)研究,著重分析其關(guān)鍵技術(shù)和運(yùn)行機(jī)理,用C++語言在LevelDB的源碼上進(jìn)行改動(dòng)。文章最后使用雅虎YCSB負(fù)載生成器框架對(duì)改進(jìn)前后的LevelDB性能做比較,結(jié)果顯示在保證寫入吞吐量的同時(shí)隨機(jī)讀取吞吐量提高了一倍,隨機(jī)讀取延時(shí)有明顯降低,優(yōu)化效果較為明顯。
[Abstract]:The booming development of the Internet industry has driven the explosive growth of the data volume. The traditional relational database can not meet the application of massive data scale, so the Key-value storage mechanism came into being. Along with this mechanism, NoSQL database has been widely popularized. Because of its fast processing of massive data, NoSQL database is generally used as the predatabase of traditional relational database. However, the database based on memory storage is not perfect in data persistence, and there is the risk of data loss when the system is down. However, with the maturity of Internet technology, this type of database began to explore its cache data persistence method. This paper focuses on the persistence of NoSQL database based on KV storage mechanism and the persistence mechanism of LSM-Tree in Google open source LevelDB database. This paper first analyzes the cache mechanism of LSM-Tree persistence cache model, and then finds out the shortcomings of LSM-Tree cache mechanism that writes fast but reads slowly, and then introduces an improved LSM-Tree model. The Google single persistent storage system (LevelDB) which applies the cache mechanism is studied in detail. The key technology and running mechanism are analyzed emphatically. The source code of LevelDB is modified with C language. Finally, the LevelDB performance before and after the improvement is compared with Yahoo YCSB load generator framework. The results show that the random read throughput is doubled while the write throughput is guaranteed, and the random read delay is obviously reduced. The effect of optimization is obvious.
【學(xué)位授予單位】:華中科技大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2016
【分類號(hào)】:TP311.13

【參考文獻(xiàn)】

相關(guān)期刊論文 前8條

1 嚴(yán)霄鳳;張德馨;;大數(shù)據(jù)研究[J];計(jì)算機(jī)技術(shù)與發(fā)展;2013年04期

2 張順仕;龔代圣;楊靜;;高負(fù)載下數(shù)據(jù)庫動(dòng)態(tài)性能預(yù)測模型的研究與應(yīng)用[J];計(jì)算機(jī)與現(xiàn)代化;2012年11期

3 王心妍;;Memcached和Redis在高速緩存方面的應(yīng)用[J];無線互聯(lián)科技;2012年09期

4 楊艷;李煒;王純;;內(nèi)存數(shù)據(jù)庫在高速緩存方面的應(yīng)用[J];現(xiàn)代電信科技;2011年12期

5 郭云峰;張集祥;;一種基于壓縮前綴樹的頻繁模式挖掘算法[J];計(jì)算機(jī)工程與科學(xué);2009年12期

6 陳麗冰;;基于J2EE的Web應(yīng)用系統(tǒng)的性能優(yōu)化方法研究[J];計(jì)算機(jī)科學(xué);2006年07期

7 林雅榕;侯整風(fēng);;對(duì)哈希算法SHA-1的分析和改進(jìn)[J];計(jì)算機(jī)技術(shù)與發(fā)展;2006年03期

8 魏利峰,左明,王志曉,劉二永;一個(gè)基于集群的Web服務(wù)器負(fù)載平衡模型[J];計(jì)算機(jī)工程;2005年10期

相關(guān)碩士學(xué)位論文 前3條

1 陳席林;分布式持久化緩存系統(tǒng)的研究與實(shí)現(xiàn)[D];重慶大學(xué);2013年

2 曹帥;公共信息模型的面向?qū)ο髷?shù)據(jù)管理[D];東華大學(xué);2012年

3 孟陽;分布式緩存系統(tǒng)MCACHE的優(yōu)化與測試[D];北京郵電大學(xué);2010年

,

本文編號(hào):2234193

資料下載
論文發(fā)表

本文鏈接:http://sikaile.net/kejilunwen/ruanjiangongchenglunwen/2234193.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權(quán)申明:資料由用戶bf8ee***提供,本站僅收錄摘要或目錄,作者需要?jiǎng)h除請(qǐng)E-mail郵箱bigeng88@qq.com