University of Toronto
Optimization Techniques for Graph Databases: Challenges and Approaches
Abstract
dc:description.abstractGraphs are everywhere and will retain their popularity due to the continuous growth of social networks, the rise of the Semantic Web, and the characterization of biological networks. The popularity and utility of graphs have led to the need for graph databases to manage and query large graphs. This has raised many challenges, such as how to evaluate complex graph queries. The evaluation of conjunctive graph queries can face great computational redundancy due to the "many-to-many" joins with the graph, which can degrade the performance drastically. Another challenge is that when running queries in batches, there can be commonalities between the queries. Evaluating the queries independently results in these overlaps being reevaluated.This can be avoided by sharing results among the queries' evaluation. In recent years, there has been interest in different architectures for building graph database systems, each with its own advantages and disadvantages. Choosing the right architecture that best suits the desired tasks is a challenge. In this dissertation, we introduce three frameworks to meet each of the above three challenges. First, we introduce a factorization approach to overcome "multiplicity", recomputing the same sub-answers repeatedly during the evaluation of conjunctive graph queries. We implement this approach in our Wireframe framework. This provides a cost-based optimizer to generate query plans and an evaluator for executing the plans. Second, we introduce techniques for multiple query optimization, which exploit commonalities among path queries to be evaluated in batch. We implement this in our ASWEET framework. This provides an optimizer to detect commonalities among the path queries in the batch to choose a global evaluation plan for them accordingly. Lastly, we design and implement a benchmark, TGDB, to evaluate performance across graph database systems. TGDB has various workloads and targeted algorithms for evaluating different erformance aspects of graph database systems.
Degree
thesis:*- Department dc:contributor.department
- Mechanical and Industrial Engineering
- Year dc:date.issued
- 2023
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Abul Basher, Zahidur Rahman Mohd
- Advisors dc:contributor.advisor
-
- Chignell, Mark
- Godfrey, Parke
Subjects
dc:subject × 6Rights
dc:rights- Statement dc:rights
-
- Attribution-NonCommercial-NoDerivatives 4.0 International
- Licence dc:rights.uri
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/1807/130280