Research on Main Memory Database Indexing Based on GPU

Author
LiuYong
Advisor
ZuoJianQing
School
South China University of Technology
Major
Applied Computer Technology
Classification
TP311.13 Database theory and systems
Degree
Doctoral dissertation
Year
2013
Downloads
57
Citations
0

Request the full text

Abstract

As memory database is more efficient than disk-based database at query speed andconcurrency, the main memory database (MMDB) has been applied in amounts of financialfields such as bank, on-line shopping, and stock exchange and so on, which all contain vastvolume of data and need high availability of real-time operations.The indexing can effectivelyreduce the search space of the data, and improve the query efficiency of MMDB, however itfaces the challenges of performance and efficiency.General purposed computing on graphics processing unit (GPGPU), which is also a hotarea of research, has significant research value and prospect for application.. Indexing ongraphics processing unit (GPU) has got several related scientific research achievements, yetthere are many problems to deal with such as: underutilization of hardware resources, the lowparallel degree of the algorithm, lack of scalability and not effectively addressing index dataupdate and so on. Therefore, how to take full use of GPU hardware resources and maximizememory database index operation performance are the main research contents. Above all, onthe basis of the relevant research, the main works of this paper are as follows:1. The current studies of indexing technology of MMDB have been summarized. Thehardware characteristic and the programming technology of GPU have been reviewed.2. A parallel processing solution of T-tree based on GPU has been proposed, whichcreates the maximized T-tree parallelism on GPU platform by analyzing the father-sonrelationship among the internal nodes of T-tree. The dynamic array has been designed so thatthe T-tree indexing can be expanded and contracted on GPU platform to solve the problemthat the display memory on GPU space cannot be dynamically allocated. Through analyzingdifferent T-tree building programs theoretically and empirically, the proposed solution has anobvious advantage of operational efficiency and space utilization over traditional T-treebuilding program. In order to eliminate the bottleneck of GPU program data transmission, themethod of page locking has been used to promote the data transfer rate between CPU andGPU. To meet the needs of hardware development in the future, the scalability of thealgorithm has been studied. The T-tree traversal algorithm based on GPU T-tree has beenproposed to verify the solution. To verify the validity of the parallel program, the empiricalstudy has been done.3. In order to speed up the performance of multi-dimensional data manipulation, a multi-dimensional linear hashing processing solution has been proposed based on GPU. Thesolution expands the traditional data structure of hash table and uses two-layer data structure to scale arbitrarily on GPU, and solve the problem that multi-dimensional data cannot updateefficiently. In the hash table with the algorithm of bulk insertion of records, processing speedcan be accelerated by parallel splitting hash table and promote the efficiency of insertion. Aflexible overflow bucket management mechanism has been designed to improve the hashindex storage space utilization on GPU. Bulk records insertion program has been analyzed atalgorithm time and space complexity. To verify performance of the bulk record insertionmultidimensional linear hash index on a variety of hardware platforms, bulk deletion andparallel query operating, the related empirical study has been done.4. Cache sensitive CSB~+-tree index unlock parallel program based on GPU has beenproposed, and it fulfills the CSB~+-tree structure automatic update on GPU by improvingtraditional CSB~+-tree structure. Parallel unlock algorithm based on the tree layer and node keyhave been proposed and the latter can realize the maximum parallel degree construct. Byadding stuffing bits to CSB~+-tree internal nodes to reduce the branch thread of GPU threadblock, and thus improve the CSB~+-tree query performance. By analyzing the feasibility ofCSB~+-tree query algorithm with shared memory, it is pointed out that the thought oftraditional cache sensitive tree technology is not suitable in complex GPU memory frame. Toverify the feasibility of proposed program, the related empirical study has been done ondifferent platforms.5. BD-tree index parallel computing program on GPU fulfills the parallel processing byimproving traditional hash function and fulfills the update of BD-tree index data on GPU byimproving traditional BD-tree structure. By analyzing the tree structure of BD-tree, it canparallel build the internal structure of BD-tree based on node key. By increasing the spaceoverhead to reduce the GPU atomic number of function calls and improve the BD-tree datainsertion efficiency of the hash table significantly. By analyzing the spatial complexity of BD-tree parallel building algorithm, the space utilization of proposed algorithm is significantlyimproved compared with traditional algorithm. To verify the effectiveness of proposedprogram, the related empirical study has been done.

Table of contents

Abstract 5-7 Abstract 7-12 first chapter 12-21 1.1 Background 12 <br / > 1.2 memory database index application 12-16 1.3 GPU general computing technology 16-18 1.4 the main work 18-19 1.5 the paper is organized 19-21 Chapter GPU general computing related technologies 21-35 2.1 GPU parallelism 21-24 2.2 CUDA architecture 24-27 2.3 CUDA programming model 27-28 2.4 CUDA execution model 28-30 2.5 CUDA program optimization 30-34 2.6 experimental platform 34 2.7 Chapter Summary 34-35 third chapter GPU memory database index T- tree based 35-53 3.1 Introduction 35-36 3.2 T- tree basic theory 36-38 3.2.1 T- tree structure basic Operations 36-37 3.2.2 T- tree 37-38 3.3 GPU-based parallel program T- tree 38-44 3.3.1 data structure parallel 38-39 3.3.2 T- tree construction algorithm 39-42 3.3.3 T- tree traversal algorithm 42 3.3.4 T- parallel query tree algorithm 42-43 3.3.5 T- parallel tree insertion algorithm parallel 43 3.3.6 T- tree delete algorithm 43-44 3.4 performance Analysis 44-45 3.5 experiment 45-48 3.5.1 design of Experiments 45 3.5.2 experimental results and analysis 45-48 optimized 3.6 program 48-49 3.7 algorithm scalability analysis 49-52 3.8 Chapter Summary 52-53 Chapter IV GPU-based multi-dimensional linear hash index research 53-72 4.1 Introduction 53-54 4.2 multidimensional linear hash index theory 54-58 4.2.1 one -dimensional linear hash index 54-55 4.2.2 multidimensional linear hash index 55-58 4.3 GPU-based parallel multidimensional linear hashing scheme 58-67 4.3.1 multidimensional linear hash data structure 58-59 4.3.2 multidimensional linear hash record parallel bulk insert program 59-65 4.3.3 parallel query multidimensional linear hash algorithm 65-66 4.3.4 multidimensional linear hash record parallel batch delete programs 66-67 4.4 performance Analysis 67-69 4.4.1 time cost 67-68 4.4.2 space overhead 68-69 4.5 experiment 69-71 4.5.1 experimental data and design 69 4.5 .2 experimental results and analysis 69-71 4.6 Chapter Summary 71-72 Chapter GPU-based caching sensitive CSB ~ - tree index research 72 -88 5.1 Introduction 72-73 5.2 CSB ~ - tree basic theory 73-75 5.2.1 CSB ~ - tree index structure 73 5.2.2 CSB ~ - basic Operations tree 73-75 5.3 GPU -based CSB ~ - tree parallel program 75-82 5.3. a data structure 75-76 5.3.2 CSB ~ - parallel tree construction algorithm 76-79 5.3.3 CSB ~ - parallel query tree algorithm 79-81 5.3.4 CSB ~ - parallel tree insertion algorithm 81 5.3.5 CSB ~ - parallel tree deletion algorithm 81-82 5.4 performance Analysis 82-83 5.5 experiment 83-87 5.5.1 design of Experiments 83 5.5.2 experimental results and analysis 83-87 5.6 Chapter Summary 87-88 GPU based on Chapter VI of BD- tree index 88-105 6.1 Introduction 88-89 6.2 BD- tree related technology 89-93 6.2.1 BD- tree structure 89 6.2.2 BD- tree operation 89-92 6.2.3 memory-based index of BD- tree 92-93 6.3 GPU-based parallel processing scheme BD- tree 93-101 6.3.1 GPU-based BD- tree data structure parallel 93-94 6.3.2 BD- tree construction algorithm 94-98 6.3.3 BD- parallel query tree algorithm 98-99 6.3.4 BD- parallel tree insertion algorithm parallel 99 6.3.5 BD- tree deletion algorithm 99-100 6.3.6 performance Analysis 100-101 6.4 experiment 101-104 6.4.1 design of Experiments 101 <br / > 6.4.2 experimental results 101-104 6.5 chapter Summary 104-105 Conclusion and outlook 105-107 references achieved during 107-115 PhD research 115-117 Thanks 117-118 Accessories 118

Related dissertations

  1. Research of Storage Management in Main Memory Database
  2. Ordering by Spectral Moments of Quasi-trees
    LiuXiuGuo ·Hubei University ·2011 ·Master's thesis
  3. Research of GPU General Purpose Computing Based on Brook
  4. Research for Electronic Commerce Pattern Based on Association Rule Mining
    LiuSanRong ·Shandong Normal University ·2007 ·Master's thesis
  5. A Design and Implementation of Embeded Related Management System Based on Memory
  6. Research of Association Rule Mining Algorithm Based on Commodity Classification Ontology in Electronic Commerce
    NiZiJian ·Dalian University of Technology ·2006 ·Master's thesis
  7. Design and Implementation of Storage Manager for iDEN BOSS
  8. Study of Extended T-Tree Index Mechanism for Business Object
  9. The Analysis and Design of Main Memory Database Storage Structure
  10. Distributed Memory Database System Design and Application
    WangPing ·East China Normal University ·2011 ·Master's thesis
  11. Research of 3D Cone-beam CT Image Reconstruction Accelerating Technology
    MaJunFeng ·Shandong University ·2011 ·Master's thesis