Query Processing and Optimization of Join Operation on Key-Value Database
- Author
- WangXiTe
- Advisor
- ShenDeRong
- School
- Northeastern University
- Major
- Computer System Architecture
- Classification
- TP311.13 Database theory and systems
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 162
- Citations
- 1
Abstract
With the rapid development of Internet technology, various types of applications emerge one after another. In the background of cloud-computing, data storage technology become to have some new features:supporting extremely large amounts of data, lower IO delay, high availability, lower operation and maintenance costs, etc. In the past few decades, traditional relational database has already occupied unshakable status in industry, but its drawback such as low expansibility, high cost, literacy slow, supporting capacity limit become more and more serious.In order to solve the problems above, NoSQL database arises at the historic moment. This kind of database is designed to support huge amounts of data storage,has high availability, can run on the cluster which is built with PC, and has lower cost and easy maintenance. Because it mainly uses the key-value data model, we also call this kind of database "key-value database", KVDB for short.In key-value database, there is no strong relationship among tuples such as the one in traditional database. This makes it difficult to support SQL query in key-value database, and the most complicated part of SQL is join operation. To solve this problem, this thesis present a new type of index on column value of ring architecture. Based on the index, we present a algorithm which supports join operation on large amount of data, and make the corresponding optimization. As another supplement, we also design the real-time join algorithm. The content of this thesis is summarizd as follows:1. Firstly, introduce the common data model, architecture, reading and writing strategy and other related knowledge in NoSQL2. We design column value index of ring architecture and give the corresponding algorithm. Base on the index structure, we present and optimize the pre-join algorithm.3. We design real-time-join algorithm. Meanwhile, for this real-time-join algorithm,we design double index to improve the performance of the algorithm.4. Finally, we make plenty of experiments to prove the exactness of the algorithms we present.
Table of contents
Summary 5-6
Abstract 6-9
Chapter 1 Introduction 9-15
1.1 subject background 9-11
1.2 issues raised and significance 11-13
1.3 point contribution in this article organizational structure 13
1.4 article 13-15
Chapter 2 introduces NOSQL technologies 15-25
development status 2.1 NoSQL 15-16
2.2 CAP theory 16-17
2.3 ACID / BASE 17
2.4 JSON format and data type introduced 17-18
2.5 NoSQL systems architecture 18-20
2.6 data model 20
2.7 copy strategy 20-22
2.8 consistency policy 22-23
node communication between 2.9 23-24
2.10 Summary generating algorithm 24-25
Chapter 3 pre-connected table 25-49
3.1 theoretical foundation 25-31
3.1.1 data model 25-28
3.1.2 consistent hashing 28-30
3.1.3 literacy principles 30-31
3.2 pre- connection table generation algorithm outlined build nbsp 31-32
3.3 denominated index ; structure nbsp 32-38
3.3.1 index ; 33-34 <br / > 3.3.2 use nbsp 34
3.3.3 related operations ; 34-38
generation algorithm 3.4 pre-connected table 38-48
3.4 .1 generate pre-connection scheme 38-39
3.4.2 calculation process optimization 39-43
3.4.3 pre- connection table generation algorithm described 43 -45
3.4.4 update and maintain 45-46
3.4.5 pre- connection instance 46-48
3.5 Summary 48-49
Chapter 4 real-time connectivity algorithm 49-55
4.1 general index real-time connectivity algorithm based 49-50
4.2 improved real-time connectivity algorithm 50-54
4.2.1 analysis 50
4.2.2 dual index live connection algorithm 50-51
4.2.3 improved description 51-52
nbsp 4.2.4 related operations ; 52-54
4.3 consideration analysis 54
4.4 Summary 54-55
Article Chapter 5 experiments and analysis 55-65
nbsp 5.1 experimental environment ; 55
5.2 Evaluation Criteria 55-56
5.3 test content 56 -57
5.4 denominated index -related experiments and analysis 57-61
5.4.1 Creating denominated index response 57-58
5.4.2 select query time 58-59
5.4.3 denominated index data distribution uniformity and algorithm parallelism 59-61
5.5 pre- join algorithm experiments and analysis 61-63
5.5.1 pre- connection algorithm 's 61
5.5.2 connection query response time 61-62
5.5.3 pre- connection table data distribution uniformity and pre-connected algorithm parallelism 62-63
5.6 real-time connectivity algorithm experiments and analysis 63-64
5.6.1 connection query response time 63-64
5.7 summary 64-65
Chapter 6 Conclusion 65-67
6.1 Full Summary 6.2 under 65
Previous work 65-67
References 67-71
Thanks published during 71-73
pursue master papers and participate in the project 73
Related dissertations
- Non negative pressure water pump monitoring system design and implementation of SCADA software
- Research on the NoSQL Data Recovery Technology
- Design and implementation of SNS platform based on MongoDB
- The Research of Remote File Synchronization Model in Cloud Storage Environment
- The Research on the Method of Heterogeneous Big Data Storage
- Research on Data Organization Model under Multi-grid Framework
- The Design and Implementation of Common Logic Layer’s REST API for Virtual Community
- Research and Application on B2C of electronic commerce in RE CF algorithm based on user behavior
- Technology of Data Transfer and Storage
- Design and Implementation of MongoDB Data Balance System Based on Chord
- SCool campus micro-blog public opinion monitoring system data management research
- A Study of NOSQL-oriented Performance Analysis System
- Design and Implementation of E-form System Based on Relational Database and Non-relational Database
- Research on NoSQL Database Technology and Application
- Research and Application of Cloud Data Management Technology Based on MongoDB
- Design and Implementation of Q~+Massive User Data Storage System
- Design and Implementation of Pump Enterprise System Based on REST+NOSQL
- Large Scale Cloud Computing Cluster Monitoring System: Design and Implementation
- The Research and Implementation of One-Time Password Authentication System’s Efficient Solution under Variety Environments
- The Research of Big Data Storage Technology in Cloud Computing