Show simple item record

dc.contributor.authorKim, Albert
dc.contributor.authorMadden, Samuel
dc.date.accessioned2024-06-06T16:23:06Z
dc.date.available2024-06-06T16:23:06Z
dc.date.issued2024-05-29
dc.identifier.issn2836-6573
dc.identifier.urihttps://hdl.handle.net/1721.1/155205
dc.description.abstractDespite decades of research into query optimization, optimizing queries with disjunctive predicate expressions remains a challenge. Solutions employed by existing systems (if any) are often simplistic and lead to much redundant work being performed by the execution engine. To address these problems, we propose a novel form of query execution called tagged execution. Tagged execution groups tuples into subrelations based on which predicates in the query they satisfy (or don't satisfy) and tags them with that information. These tags then provide additional context for query operators to take advantage of during runtime, allowing them to eliminate much of the redundant work performed by traditional engines and realize predicate pushdown optimizations for disjunctive predicates. However, tagged execution brings its own challenges, and the question of what tags to create is a nontrivial one. Careless creation of tags can lead to an exponential blowup in the tag space, with the overhead outweighing the benefits. To address this issue, we present a technique called tag generalization to minimize the space of tags. We implemented the tagged execution model with tag generalization in our system Basilisk, and our evaluation shows an average 2.7x speedup in runtime over the traditional execution model with up to a 19x speedup in certain situations.en_US
dc.publisherAssociation for Computing Machineryen_US
dc.relation.isversionof10.1145/3654961en_US
dc.rightsCreative Commons Attribution-Noncommercial-ShareAlikeen_US
dc.rights.urihttps://creativecommons.org/licenses/by-sa/4.0/en_US
dc.sourceAssociation for Computing Machineryen_US
dc.titleOptimizing Disjunctive Queries with Tagged Executionen_US
dc.typeArticleen_US
dc.identifier.citationKim, Albert and Madden, Samuel. 2024. "Optimizing Disjunctive Queries with Tagged Execution." Proceedings of the ACM on Management of Data, 2 (3).
dc.contributor.departmentMassachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory
dc.relation.journalProceedings of the ACM on Management of Dataen_US
dc.identifier.mitlicensePUBLISHER_CC
dc.eprint.versionFinal published versionen_US
dc.type.urihttp://purl.org/eprint/type/JournalArticleen_US
eprint.statushttp://purl.org/eprint/status/PeerRevieweden_US
dc.date.updated2024-06-01T07:58:03Z
dc.language.rfc3066en
dc.rights.holderThe author(s)
dspace.date.submission2024-06-01T07:58:03Z
mit.journal.volume2en_US
mit.journal.issue3en_US
mit.licensePUBLISHER_CC
mit.metadata.statusAuthority Work and Publication Information Neededen_US


Files in this item

Thumbnail
Thumbnail

This item appears in the following Collection(s)

Show simple item record