Font Size: a A A

The Desigh Of NoSQL Transaction Mechanism Based On MVCC

Posted on:2017-01-25Degree:MasterType:Thesis
Country:ChinaCandidate:R LiFull Text:PDF
GTID:2428330596989136Subject:Computer technology
Abstract/Summary:PDF Full Text Request
In recent years,NoSQL grows quickly as a new database solution,its massive data processing and high availability,high scalability advantages of simple data structure and obtain many companies favor.But due to the lack of support for transaction management mechanisms,in the field of strong consistency,NoSQL has not yet to have a role to play.This thesis has carried on the research to the NoSQL database increase transaction management mechanism.After studying the implementation mechanism of various traditional database on transaction management,such as Oracle,MySQL and PostgreSQL,the thesis builds a database transaction management model based on MVCC multi-version concurrency control,which implements two Transaction isolation level: Read Committed and Serializable,basically make up NoSQL database in the field of strong data consistency,so that NoSQL database system in addition to cloud computing platforms and other areas,can play with its high concurrent read and write,massive data processing and database high scalability high availability convenience advantages.This thesis takes the MongoDB database as an example,and applies the Read Commintted model based on MVCC multi-version concurrency control to the MongoDB database.According to the operation of this transaction,only after the submission can be seen by other principles of the transaction,to verify the readability of the transaction model Read Committed level of correctness.Before the transaction begins,set the transaction isolation level to Read Committed.The investigation in the course of business operations,including insert,delete,update the various stages of operation,the remaining transactions are not query to the data changes.Only when the transaction is committed,the remaining transactions can query the data changes,verify the Read Committed transaction level of correctness,but also proved that the transaction model in the MongoDB database is feasible.The transaction model can be migrated horizontally to other similar NoSQL databases and provides the basis and preparation for the subsequent implementation of a higher isolation level.
Keywords/Search Tags:MVCC, Transaction, Database, NoSQL, MongoDB
PDF Full Text Request
Related items