Bitvector-aware Query Optimization for Decision Support Queries (extended version)
Bailu Ding, Surajit Chaudhuri, Vivek Narasayya

TL;DR
This paper investigates how bitvector filtering affects query optimization, revealing that it can exponentially increase plan space complexity but can be managed to reduce it to linear, leading to significant performance improvements.
Contribution
The authors analyze the impact of bitvector filters on query plan complexity and propose an optimized algorithm that reduces plan space from exponential to linear, improving decision support query performance.
Findings
Plan space complexity with bitvector filters can be reduced from exponential to linear.
The proposed algorithm optimizes join order with a linear number of plans.
Implementation in SQL Server reduces CPU time by up to 64% on benchmarks.
Abstract
Bitvector filtering is an important query processing technique that can significantly reduce the cost of execution, especially for complex decision support queries with multiple joins. Despite its wide application, however, its implication to query optimization is not well understood. In this work, we study how bitvector filters impact query optimization. We show that incorporating bitvector filters into query optimization straightforwardly can increase the plan space complexity by an exponential factor in the number of relations in the query. We analyze the plans with bitvector filters for star and snowflake queries in the plan space of right deep trees without cross products. Surprisingly, with some simplifying assumptions, we prove that, the plan of the minimal cost with bitvector filters can be found from a linear number of plans in the number of relations in the query. This…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Database Systems and Queries · Data Management and Algorithms · Semantic Web and Ontologies
