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

針對(duì)非關(guān)系型數(shù)據(jù)庫(kù)的海量數(shù)據(jù)的事務(wù)處理

發(fā)布時(shí)間:2018-06-30 04:20

  本文選題:非關(guān)系型數(shù)據(jù)庫(kù) + 事務(wù)支持; 參考:《上海交通大學(xué)》2014年碩士論文


【摘要】:隨著信息社會(huì)的發(fā)展,越來(lái)越多的信息被數(shù)據(jù)化,尤其是伴隨著互聯(lián)網(wǎng)的發(fā)展,數(shù)據(jù)呈爆炸式地增長(zhǎng),海量數(shù)據(jù)的存儲(chǔ)和處理問(wèn)題隨之出現(xiàn)。在面對(duì)海量數(shù)據(jù)的高效率存儲(chǔ)和高效率訪問(wèn)、數(shù)據(jù)庫(kù)的高并發(fā)讀寫(xiě)以及數(shù)據(jù)庫(kù)的高可擴(kuò)展性等需求時(shí),傳統(tǒng)的關(guān)系數(shù)據(jù)庫(kù)暴露了很多問(wèn)題。非關(guān)系數(shù)據(jù)庫(kù)(NoSQL)應(yīng)運(yùn)而生,與傳統(tǒng)的關(guān)系型數(shù)據(jù)庫(kù)相比,非關(guān)系型數(shù)據(jù)庫(kù)在數(shù)據(jù)庫(kù)事務(wù)一致性方面進(jìn)行了妥協(xié)。 為了解決非關(guān)系型數(shù)據(jù)庫(kù)在數(shù)據(jù)庫(kù)事務(wù)一致性方面的問(wèn)題,本文以HBase為例并基于兩階段提交協(xié)議提出了針對(duì)非關(guān)系型數(shù)據(jù)庫(kù)的海量數(shù)據(jù)的事務(wù)支持機(jī)制。依靠HBase自身的持久化、高吞吐量、低延遲等特點(diǎn),,本文使用HBase的單獨(dú)的一列實(shí)現(xiàn)了鎖服務(wù),同時(shí)依靠?jī)呻A段提交協(xié)議實(shí)現(xiàn)了多行多表之間的同步,并對(duì)分布式系統(tǒng)中經(jīng)常出現(xiàn)的宕機(jī)問(wèn)題進(jìn)行了考慮,設(shè)計(jì)了異常情況處理機(jī)制。同時(shí)本文針對(duì)HBase實(shí)現(xiàn)了read uncommitted、read committed和repreatable read三種隔離級(jí)別以滿足不同類型的應(yīng)用對(duì)事務(wù)隔離性的不同要求。 在此基礎(chǔ)上,本文又設(shè)計(jì)和實(shí)現(xiàn)了“期貨交易仿真系統(tǒng)”,用于驗(yàn)證該事務(wù)支持機(jī)制。該平臺(tái)使用HBase作為后臺(tái)數(shù)據(jù)庫(kù),并支持?jǐn)?shù)百甚至上千用戶的并發(fā)訪問(wèn)請(qǐng)求。通過(guò)該系統(tǒng),本文對(duì)針對(duì)非關(guān)系型數(shù)據(jù)庫(kù)的海量數(shù)據(jù)的事務(wù)支持機(jī)制的可用性和效率進(jìn)行了驗(yàn)證。驗(yàn)證結(jié)果表明在非關(guān)系型數(shù)據(jù)庫(kù)上應(yīng)用該事務(wù)支持機(jī)制之后,能夠滿足大規(guī)模并發(fā)訪問(wèn)對(duì)事務(wù)隔離性與一致性的需求,雖然在效率上有所下降,但是基本在可以接受的范圍之內(nèi)。
[Abstract]:With the development of the information society, more and more information is digitized, especially with the development of the Internet, the data increases explosively, and the storage and processing of massive data appear. In the face of the requirements of efficient storage and efficient access of massive data, high concurrent reading and writing of databases, and high scalability of databases, traditional relational databases have exposed many problems. Non-relational database (NoSQL) emerged as the times require. Compared with the traditional relational database, the non-relational database compromise on the consistency of database transactions. In order to solve the problem of database transaction consistency in non-relational database, this paper takes HBase as an example and proposes a transaction support mechanism for massive data of non-relational database based on two-stage commit protocol. Depending on the persistence, high throughput and low latency of HBASE, this paper realizes the lock service by using a single column of HBASE, and realizes the synchronization between multiple rows and tables by the two-phase commit protocol. The outage problem in distributed system is considered, and the exception handling mechanism is designed. At the same time, three isolation levels of read uncommitted read committed and repreatable read are implemented for HBASE to meet the different requirements of different types of applications for transaction isolation. On this basis, this paper designs and implements a futures trading simulation system, which is used to verify the transaction support mechanism. The platform uses HBASE as a backend database and supports concurrent access requests from hundreds or even thousands of users. Through this system, this paper verifies the availability and efficiency of the transaction support mechanism for the massive data of non-relational database. The verification results show that the application of the transaction support mechanism on non-relational databases can meet the requirements of transaction isolation and consistency for large-scale concurrent access, although the efficiency is somewhat reduced. But basically within acceptable limits.
【學(xué)位授予單位】:上海交通大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2014
【分類號(hào)】:TP311.13

【參考文獻(xiàn)】

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

1 陳宏希;鄒益民;;用Matlabcontrol實(shí)現(xiàn)Java與Matlab的混合編程[J];工業(yè)儀表與自動(dòng)化裝置;2012年03期

2 張?jiān)谫F;張立強(qiáng);李瑞東;文中領(lǐng);張海濤;;一種適用于集群文件系統(tǒng)分級(jí)存儲(chǔ)的分布式鎖設(shè)計(jì)與分析[J];計(jì)算機(jī)研究與發(fā)展;2012年S1期



本文編號(hào):2084850

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

本文鏈接:http://sikaile.net/jingjilunwen/qihuoqq/2084850.html


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

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