The Design and Implementation of a Distributed Structred Storage Scheduling Server

Author
DuWei
Advisor
XingJianChuan
School
University of Electronic Science and Technology
Major
Computer technology
Classification
TP311.13 Database theory and systems
Degree
Master's thesis
Year
2013
Downloads
4
Citations
0

Request the full text

Abstract

With the rapid popularization of the Internet and the increase of user quantity,more and more enterprises are gradually lose the ability to control the data. Traditionaldatabase systems cannot provide a guarantee of performance, reliability and scalabilitywhen the scale of data grows so fast. The putting forward of cloud computingindicates a new direction for the development of traditional database.Since Googleformally proposed the concept of cloud computing in2006for the first time, after6years of development, the cloud computing has gradually been recognized by theacademia and industry, and becomes a new developing trend of IT technology. Thecombining of the cloud computing and the traditional distributed storage technologyproduces a new data service model named Cloud Database, which gradually overcomesthe shortcomings of scalability and management of traditional database. Constructing anew high performance, high scalability and easy-to-manage Cloud Database systemwith traditional database technology, distributed storage technologies and cloudcomputing has become one of the hot research topics.By discussing the existing Cloud Database system, the thesis firstly proposes aCloud Relational Database framework (CRDB), which based on a shared-nothingarchitecture, and supports relational operations. CRDB is comprosed of a separatemetadata server, an index server, a scheduling server, a front-end server which supportsa variety of other popular database protocols and a lightweight relational databaseengine. Then, based on the actual work in the project, the thesis describes the design andimplementation of the core features of the scheduling server in detail. The main featuresof the scheduling server are as follows:1. Supports standard SQL subset. Based on the project requirements, the thesis uesesLex and Yacc build an SQL parser, supporting for basic SQL operations.2. Design a parallel distributed query plan. According to the MapReduce thinking,SQL semantics and the data distribution, the thesis designs a distributed query planwhich is independent of the query language and the storage engine. Based on the syntaxtree of the SQL, it’s easy to convert a SQL clause to the distributed query plan. 3. Support high concurrency network communication. Based on single thread Epoll,non-blocking I/O, and asynchronous callback function mechanism, the thesis design ahigh-performance network communication framework. All the tasks of the schedulingserver are driven by this framework. Meanwhile, a pipeline-based timer is provided toensure every task will terminate within a limited time.The thesis constructs a parser of an SQL subset through detailed analysis of theSQL syntax, and proposes a kind of distributed query plan expression, finally based on ahigh-performance network communication framework, implements a distributed queryframework. Through the testing, the framework supports the basic SQL query, but theperformance is still to be imporved.

Table of contents

Summary 5-6 ABSTRACT 6-11 Chapter 1 Introduction 11-14 1.1 Background 11-12 1.2 This work 12-13 1.3 the paper is 13 1.4 Summary research status and related chapter 13-14 technical 14-37 2.1 cloud Computing Overview 14-15 2.2 cloud computing and database 15-17 2.3 Introduction cloud database 17-21 2.3.1 cloud database features 17-20 2.3.2 cloud database research 20 2.3.3 data access Method 20-21 2.4 typical systems analysis 21-28 2.4.1 SQL Azure 21-24 2.4.2 Bigtable 24-27 2.4.3 HBase 27-28 2.5 technologies 28-36 2.5.1 distributed computing model 28-29 <br / > 2.5.2 structured Query Language 29-31 2.5.3 compiler basic tenets 31-33 2.5.4 compiler construction methods 33 - 36 2.5.4.1 lexical analysis 33-34 2.5.4.2 parsing 34-36 2.6 Summary 36-37 <br / > the third chapter DSS systems analysis and design 37-59 3.1 CRDB system architecture 37-39 3.1.1 design Goals 37 3.1 .2 overall architecture 37-38 3.1.3 server introduces 38-39 3.2 DSS module design 39-40 3.3 SQL analytic design 40-44 3.3.1 SQL subset 40-41 3.3.2 sentence parsing 41-44 3.3.2.1 Resolution Policy 41 3.3.2.2 parsing 41-44 3.4 query plan design 44-53 3.4.1 data storage strategy 44 -46 3.4.2 query plan design 46-52 3.4.2.1 design ideas nbsp 46-47 3.4.2.2 basic operation ; 47 - 48 3.4.2.3 query plan construction 48-52 3.4.3 scheduling framework 52-53 3.5 communications framework designed 53-57 3.5.1 I / O model analysis 53-54 3.5.2 application layer protocol 54-55 3.5.3 buffer management strategies 55-56 3.5.4 timer model 56-57 3.6 Summary 57-59 Chapter DSS system implementation 59 -81 4.1 SQL parser implementation 59-65 4.1.1 lexical analysis rules 59-61 4.1.2 parsing rules 61 -65 4.1.3 parser compiler 65 4.2 query plan to achieve 65-73 4.2.1 static class diagrams 65-71 4.2.2 communication class 71 4.2.3 single-table query process 71-72 4.2.4 multi-table query process 72-73 query plan generation rules 4.2.5 73 4.3 scheduler module 73-74 4.4 resource Management module 74 4.5 communications framework to achieve 74-80 4.5.1 basic framework to achieve 74-77 4.5.2 buffer achieve 77-78 4.5.3 timer realize 78-80 4.5.3.1 Timer class 78-79 4.5.3.2 TimerManager class 79-80 4.6 Summary 80-81 Chapter V system testing 81-85 5.1 test environment 81-82 5.2 test content 82 <br / > 5.3 test results 82-84 5.4 summary 84-85 Chapter VI summary and Outlook 85-86 Thanks 86-87 References research master during 87-89 89-90

Related dissertations

  1. Study on the Distributed Optical Fiber Acoustic Emission Sensor
    QuDanDan ·Harbin Engineering University ·2013 ·Master's thesis
  2. Complex Network Environment of Distributed Network Management and Software Implementation
  3. A Design and Development of Operation and Maintenance System for Zhejiang Social Security Center
    HeMingTao ·Zhejiang University of Technology ·2013 ·Master's thesis
  4. Research and Design of Distributed Vertical Search Engine Based on Hadoop
    JieYaoWei ·Hebei University of Technology ·2012 ·Master's thesis
  5. The Research of Distributed Topic Detection Method
    XiaoJuan ·Harbin Institute of Technology ·2012 ·Master's thesis
  6. Design and Implemention of High Performance Text Clustering Algorithm Basic on Hadoop
    LinJiPo ·Northwest Normal University ·2013 ·Master's thesis
  7. The Development and Realization of Scenario Thesaurus Based on Machine Learning
    DiZuo ·South China University of Technology ·2013 ·Master's thesis
  8. Research on text clustering algorithm based on Cloud Computing
  9. The Research of the Automatic Recognition of Vehicle License Plates
  10. Parallel distributed processing and application in rendering based on
  11. Design and Implementation of Distributed MySQL Database Cluster Online Monitoring System
    HuangXu ·Harbin Institute of Technology ·2012 ·Master's thesis
  12. Technology Research of the Distributed Networked Digital Equipment Datewarehouse
    PanLiang ·Harbin Engineering University ·2013 ·Master's thesis
  13. Skyline Queries for Moving Objects under Distributed Environment
    FanMingSuo ·Ningbo University ·2013 ·Master's thesis
  14. Research on Distributed Mining of Association Rules Algorithm Based on MapReduce
    FanYanYan ·Harbin Engineering University ·2013 ·Master's thesis
  15. Research on Top-k Queries Optimizing Algorithm on Uncertain Dataset
    YuYang ·Northeastern University ·2013 ·Master's thesis
  16. Application Research of Distributed Query and Optimization Method Based on Metadata
    ZengYanMei ·Donghua University ·2014 ·Master's thesis
  17. The Design and Implementation of Distributed File System Based on Linux
  18. Design and Implementation of Visual Search-based Advertising Information Augmentation System
    LiuXiaoHui ·Sun Yat-sen University ·2013 ·Master's thesis
  19. With the implementation of 3D model management system design based on Hadoop
    YangJinZhan ·Northwestern University ·2013 ·Master's thesis
  20. Design and Study of the Distributed Intrusion Detection System in Teaching Network
    WangWenHua ·Dalian University of Technology ·2013 ·Master's thesis