Multiple Continuous Subgraph Query Optimization Using Delta Subgraph Queries

dc.contributor.authorKankanamge, Chathura
dc.date.accessioned2018-10-23T18:11:25Z
dc.date.available2018-10-23T18:11:25Z
dc.date.issued2018-10-23
dc.date.submitted2018-10-19
dc.description.abstractThis thesis studies the problem of optimizing and evaluating multiple directed structural subgraph queries, i.e., those without highly selective predicates on the edges or vertices, continuously in a changing graph. Existing techniques focus on queries with highly selective predicates or are designed for evaluating a single query. As such, these techniques do not scale when evaluating multiple structural queries either because their computations become prohibitively inefficient or they use prohibitively large auxiliary data structures. We build upon the delta subgraph query (DSQ) framework that was introduced in prior work. This framework decomposes queries into multiple delta queries, which are then evaluated one query vertex at a time, without requiring any auxiliary data structures. We study the problem of picking good query vertex orderings for a set of DSQs cumulatively to share computation across different DSQs and achieve efficient runtimes in practice. We describe a greedy cost-based optimizer that takes as input a set of DSQs and a subgraph extension catalogue, and generates a single low cost combined plan that cumulatively evaluates all of the DSQs by sharing computation across them. Our combined plans consist of a Scan and multiple Extend/Intersect (E/I) operators. The E/I operator takes a set of partial matches and extends them by one query vertex. We adopt as our cost metric intersection cost (i-cost), which we show is a good estimate of the actual work performed during query evaluation. We further describe an optimization to the base optimizer that expands the DSQs algebraically to even more DSQs to allow more computation sharing between them. On small query sets we demonstrate that our cost-based greedy optimizer is able to find close to optimal combined plans in terms of run time. On larger query sets, we demonstrate that our optimizer and expanded DSQ optimization can yield significant performance improvements against several baselines.en
dc.identifier.urihttp://hdl.handle.net/10012/14051
dc.language.isoenen
dc.pendingfalse
dc.publisherUniversity of Waterlooen
dc.subjectsubgraph matchingen
dc.subjectquery optimizationen
dc.subjectgraph databaseen
dc.subjectmulti query optimizationen
dc.subjectincremental view maintenanceen
dc.titleMultiple Continuous Subgraph Query Optimization Using Delta Subgraph Queriesen
dc.typeMaster Thesisen
uws-etd.degreeMaster of Mathematicsen
uws-etd.degree.departmentDavid R. Cheriton School of Computer Scienceen
uws-etd.degree.disciplineComputer Scienceen
uws-etd.degree.grantorUniversity of Waterlooen
uws.contributor.advisorSalihoglu, Semih
uws.contributor.affiliation1Faculty of Mathematicsen
uws.peerReviewStatusUnrevieweden
uws.published.cityWaterlooen
uws.published.countryCanadaen
uws.published.provinceOntarioen
uws.scholarLevelGraduateen
uws.typeOfResourceTexten

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Kankanamge_Chathura.pdf
Size:
1.21 MB
Format:
Adobe Portable Document Format
Description:

License bundle

Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
6.08 KB
Format:
Item-specific license agreed upon to submission
Description: