Oblivious Multi-Way Band Joins: An Efficient Algorithm for Secure Range Queries
dc.contributor.author | Wei, Ruidi | |
dc.date.accessioned | 2025-09-22T14:05:40Z | |
dc.date.available | 2025-09-22T14:05:40Z | |
dc.date.issued | 2025-09-22 | |
dc.date.submitted | 2025-09-17 | |
dc.description.abstract | This thesis introduces the first efficient oblivious algorithm for acyclic multi-way joins with band conditions, extending the classical Yannakakis algorithm to support inequality predicates (>, <, ≥, ≤) without leaking sensitive information through memory access patterns. Band joins, which match tuples over value ranges rather than exact keys, are widely used in temporal, spatial, and proximity-based analytics but present challenges in oblivious computation. Our approach employs a dual-entry technique that transforms range matching into cumulative sum computations, enabling multiplicity computation in an oblivious manner. The algorithm achieves O(N log N + k · OUT log OUT) complexity, where k is the number of tables in the join query, N is the input size, and OUT is the output size, matching state-of-the-art oblivious equality joins up to a factor of k while supporting full band constraints. We implement the method using Intel SGX with batch processing and evaluate it on the TPC-H benchmark dataset, demonstrating practical performance and strong obliviousness guarantees under an honest-but-curious adversary model. | |
dc.identifier.uri | https://hdl.handle.net/10012/22501 | |
dc.language.iso | en | |
dc.pending | false | |
dc.publisher | University of Waterloo | en |
dc.relation.uri | https://github.com/rd-wei/Oblivious-Multi-Way-Band-Joins | |
dc.subject | oblivious algorithm | |
dc.subject | database | |
dc.subject | secure computation | |
dc.title | Oblivious Multi-Way Band Joins: An Efficient Algorithm for Secure Range Queries | |
dc.type | Master Thesis | |
uws-etd.degree | Master of Mathematics | |
uws-etd.degree.department | David R. Cheriton School of Computer Science | |
uws-etd.degree.discipline | Computer Science | |
uws-etd.degree.grantor | University of Waterloo | en |
uws-etd.embargo.terms | 0 | |
uws.contributor.advisor | Kerschbaum, Florian | |
uws.contributor.affiliation1 | Faculty of Mathematics | |
uws.peerReviewStatus | Unreviewed | en |
uws.published.city | Waterloo | en |
uws.published.country | Canada | en |
uws.published.province | Ontario | en |
uws.scholarLevel | Graduate | en |
uws.typeOfResource | Text | en |