Pattern Match on the Large Graph Databases

Author
JieChunXin
Advisor
WangWei
School
Fudan University
Major
Computer Software and Theory
Classification
TP311.13 Database theory and systems
Degree
Master's thesis
Year
2010
Downloads
153
Citations
0

Request the full text

Abstract

The data management problem nearly exists in all the fields of human activity. In the information age, it is very important for all the people to manage large amount of data resource by computer. Relational database has gained great success in many fields, but nowadays, the complexity of many kinds of data has been beyond the processing capacity of relational database. Graph data is one of such complex data types. It has very strong expressing ability and can express the semantics of many real things very well, such as social networks, XML documents, biochemistry molecules, protein-protein networks, and so on. So, query and management of graph data has attracted many researchers’ attention.The problem of pattern matching in graph database requires that, given a query graph, all the appearance locations in the database should be found. It is one of the key problems in graph database and also one of the most useful problems. Some researchers and developers has provides several solutions to this problem. But, most of them either focus on the "small graph" databases, that is, supposing that some graphs in database can be completely loaded into main memory and the whole matching process can be also executed in memory; or mainly focus on the basic query in large graph database, for the pattern matching, they usually use join operation in relational database to implement it. This paper mainly focuses on the problem of how to execute pattern matching query efficiently in a large, disk-based graph database. The main contributions of this paper are listed below:(1) It provides a large graph database design and implements important parts in it.(2) It provides a novel disk-based pattern matching algorithm. In this paper, the problem of pattern matching is converted into the problem of joining many temporary tables. Pointing to the defects of "breadth first" and "depth first" strategy, this paper suggests a "full forward-empty-backward" strategy. This strategy can complete the matching procedure without writing out any intermediate results to the disk. Some disk-based graph specified problems, such as, the methods of storing and accessing large amount of temporary data, cache strategy, etc, are also deeply discussed in this paper.(3) Some optimization methods are provided for our algorithm framework. The effects of different joining processing orders to the query execution efficiency are discussed in this paper and a measuring method of the goodness of a joining processing order is provided. A method of selecting a better joining order is also provided in this paper. Parallel executing of our algorithm and some off-line optimization methods are discussed in this paper.The experiments on a real dataset show that our algorithm and optimization methods are very effective.

Table of contents

Directory 3-5 Summary 5-6 ABSTRACT 6-8 Chapter graph database model and pattern matching problem 8-13 1.1 Introduction 8-9 1.2 basic Concepts 9-11 1.3 related work 11-13 second Zhang overall system structure and the underlying data storage method 13-22 2.1 overall system architecture 13-14 2.2 diagram of the basic access interface 14 - 15 2.2.1 data Access 14 2.2.2 data Modification 14-15 2.3 relational database storage layer implementation 15-22 < br /> 2.3.1 Figure topology storage 15-16 2.3.2 attributes stored 16 2.3.3 attribute values ??are stored 16 - 17 2.3.4 operation data storage layer SQL implementation 17-22 Chapter pattern matching algorithm 22-40 3.1 extension mapping based on edge looking for method 22-26 3.2 pattern matching with edges connecting projection table 26-28 3.3 \/ > 3.3.1 BFS vs depth first search 28-30 3.3.2 \access Method 34-40 3.4.1 edge projection table centralized storage and access 34-38 3.4.2 segmented edge projection table indexes and access 38-40 Chapter pattern matching algorithm optimization 40-51 4.1 connection sequence selection 40-45 4.1.1 connection order and connection efficiency 40-42 4.1.2 choose a good connection order 42-43 4.1.3 two side projection table join result size estimation method 43-45 4.2 edge projection optimization 45-46 4.3 distributed Processing 46-47 4.4 some other optimization measures 47-51 4.4.1 attribute value table pre-connected 48-49 4.4.2 vertex id rearrangement 49-51 CHAPTER results and Analysis 51-56 5.1 experimental environment and datasets 51 5.2 experimental results and analysis 51-56 Chapter VI conclusions and Outlook 56-58 References 58-60 the main work during graduate 60-61 Thanks 61-62

Related dissertations

  1. Design and Implementation of Trojan Detection System Based on Network Transmission Content
    WangYanYan ·Northeastern University ·2011 ·Master's thesis
  2. The Research and Implementation of Distributed Intrusion Detection System Based on Libnids
    XuPingJun ·Central South University ·2012 ·Master's thesis
  3. Researches on Non-exact Deep Packet Inspection
    WangHaiQiang ·Harbin Institute of Technology ·2013 ·Master's thesis
  4. The Research of Multi-pattern Matching Algorithms Based on Bit-split Method
  5. Application and Research of Complex Event Processing in Centralized Monitoring of the Distributed System
    CaoBin ·Donghua University ·2014 ·Master's thesis
  6. Research on Structured Information Extraction Based on Pattern Matching
    YangChunLei ·Hefei University of Technology ·2013 ·Master's thesis
  7. Approximate String Matching and Optimizition Techniques Using Reversed Filter
    PeiTao ·Northeastern University ·2013 ·Master's thesis
  8. Pattern Matching with Variable Wildcards
    LiuYingLing ·Hefei University of Technology ·2014 ·Doctoral dissertation
  9. Approximate String Matching under Different Models
    ZhaoHua ·Huazhong University of Science and Technology ·2013 ·Doctoral dissertation
  10. Improvement and Implementation of Iris Recognition Algorithm
  11. Research on Query Estimation Techniques on Dirty Database Management System
    YangLong ·Harbin Institute of Technology ·2012 ·Master's thesis
  12. Database Query Optimization Program Research and Implementation on PAR Platform
    TangQin ·Jiangxi Normal University ·2013 ·Master's thesis
  13. The Research on Time Series Analysis Techniques
    VO THI THANH VAN ·Hunan University ·2013 ·Doctoral dissertation
  14. Research of Selectivity Estimation Algorithm for String Predicates Based on Modiifed PST
    ZhangQiXu ·South China University of Technology ·2013 ·Master's thesis
  15. Energy-efficient Query Processing and Optimization with QoS Constraints
    WuYan ·Zhejiang University of Technology ·2013 ·Master's thesis
  16. XQuery Query Processor Design and Implementation
  17. The Research on Optimization of Parallel Data Query Based on Multi-processor
  18. Query Optimization Technique for Distributed Database System Based on Semi-Join Algorithm
  19. An Empirical Study on Quantitative Investment Strategies Based on Data Mining
    LiHuiLan ·Zhejiang University ·2014 ·Master's thesis
  20. Query Optimization Strategy and Implementation for Semantic Caching in Mobile Computing
    ChenRui ·South China University of Technology ·2013 ·Master's thesis