PhD Defence • Data Systems • GraphflowDB: Scalable Query Processing on Graph-Structured RelationsExport this event to calendar

Wednesday, July 26, 2023 — 9:00 AM to 12:00 PM EDT

Please note: This PhD defence will take place online.

Amine Mhedhbi, PhD candidate
David R. Cheriton School of Computer Science

Supervisor: Professor Semih Salihoğlu

Querying graph-structured relations or graph data for short, i.e., data with many-to-many relationships between entities, is ubiquitous and integral to a wide range of analytical applications, e.g., recommendations and fraud detection. These queries tend to be pattern finding queries that contain further relational operations such as filtering, projections, grouping, and aggregations. The join component of pattern finding queries act as a choke point for existing Database Management Systems (DBMSs). This is due to the joins being mostly many-to-many joins leading to an explosion in the size of intermediate results for which existing DBMSs do not optimize for. Consequently, users find that scalability is the most pressing challenge that current DBMSs have when querying graph data.

This thesis demonstrates that it is possible to make analytical DBMSs efficient on graph workloads by tackling the intermediate results size explosion problem. We adopt a set of novel query processing techniques, namely, worst-case optimal joins and factorized representations. This requires rethinking core components of a DBMS. We focus on query execution and optimization. Specifically, we propose: i) end-to-end worst-case optimal join adoption: we tackle join order optimization and adaptive join ordering when adopting worst-case optimal joins. We propose a novel plan space that mixes both worst-case optimal joins and traditional binary joins. We also propose a new cost metric for these plans, and a cardinality estimator; ii) factorized vector execution: we tackle the architectural challenges of adopting factorized representations in vectorized query executors. We propose a new vector representation for intermediate results passed between operators and describe necessary changes to these operators; and iii) caching and reuse of intermediate results: we enable the materialization of intermediate results to cache and reuse within a pipelined query executor. Pipelining and materialization are at odds and we describe novel dataflow plans that bridge both approaches.

Our three query processing approaches are integrated in GraphflowDB, a prototype analytical in-memory DBMS. This prototype system shows that analytical DBMSs need to adopt in order to efficiently query graph-structured relations.


To attend this PhD defence on Zoom, please go to https://uwaterloo.zoom.us/j/96065585590.

Location 
Online PhD defence
200 University Avenue West

Waterloo, ON N2L 3G1
Canada
Event tags 

S M T W T F S
28
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
  1. 2024 (132)
    1. June (1)
    2. May (13)
    3. April (41)
    4. March (27)
    5. February (25)
    6. January (25)
  2. 2023 (296)
    1. December (20)
    2. November (28)
    3. October (15)
    4. September (25)
    5. August (30)
    6. July (30)
    7. June (22)
    8. May (23)
    9. April (32)
    10. March (31)
    11. February (18)
    12. January (22)
  3. 2022 (245)
  4. 2021 (210)
  5. 2020 (217)
  6. 2019 (255)
  7. 2018 (217)
  8. 2017 (36)
  9. 2016 (21)
  10. 2015 (36)
  11. 2014 (33)
  12. 2013 (23)
  13. 2012 (4)
  14. 2011 (1)
  15. 2010 (1)
  16. 2009 (1)
  17. 2008 (1)