A Branch-&-Bound Algorithm for Fractional Hypertree Decomposition
Zongyan He, Jeffrey Xu Yu
Abstract
Conjunctive queries ( CQ s) have been widely used in database systems in which acyclic CQ s can be computed efficiently, whereas cyclic CQ s may not. Here, a CQ is acyclic if its hypergraph representation H is acyclic. In order to find a class of CQ s that are "mildly cyclic", hypertree decompositions (HDs) have been studied. The quality of such HDs is by the so-called hypertree width. The class of acyclic queries is the queries whose hypertree width is 1, and a mildly cyclic CQ can be processed efficiently if its hypertree width is bounded. There are several HDs, such as tree decomposition (TD), generalized hypertree decomposition (GHD), fractional hypertree decomposition (FHD), as well as hypertree decomposition (HD). The minimum hypertree width by FHD is the smallest among all, and it is NP-complete to check if the minimum hypertree width by FHD exists for a given hypertree width at most k. In the literature, there is no dynamic programming ( DP ) algorithm or branch-&-bound algorithm reported to compute FHD. In this paper, we show that there is a DP algorithm for FHD, and we give a branch-&-bound algorithm based on our DP algorithm to compute FHD with upper/lower bounds. We confirm the effectiveness and efficiency of our algorithm by testing all 3,648 hypergraphs given in a benchmark for HDs, and we also confirm our approach in query evaluation in real database systems.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext d418a23d-dc1c-4a90-9d8f-cbbf255790e6Cited by top-tier papers2
- Subgraph Matching: A New Decomposition Based ApproachQiyan Li, Jeffrey Yu, Zongyan HeVLDB 2025 · 3 citations
- Subgraph Enumeration: Beyond Tree DecompositionQiyan Li, Jeffrey Xu Yu, Zongyan HeVLDB 2026
Builds on4
- Computing Local Sensitivities of Counting Queries with JoinsYuchao Tao, Xi He, Ashwin Machanavajjhala, Sudeepa RoySIGMOD 2020 · 37 citations
- Conjunctive Queries with ComparisonsQichen Wang, Ke YiSIGMOD 2022 · 13 citations
- Parallel Query Processing: To Separate Communication from ComputationHao Zhang, Jeffrey Xu Yu, Yikai Zhang, Kangfei ZhaoSIGMOD 2022 · 2 citations
- Distributed Subgraph Counting: A General ApproachHao Zhang, Jeffrey Xu Yu, Yikai Zhang, Kangfei Zhao et al.VLDB 2020
Related papers
- Fast Hypertree Decompositions via Linear Programming: Fractional and GeneralizedVaishali Surianarayanan, Anikait Mundhra, Ajaykrishnan E. S., Daniel LokshtanovSIGMOD 2025
- Efficient Approximation of Fractional Hypertree WidthViktoriia Korchemna, Daniel Lokshtanov, Saket Saurabh, Vaishali Surianarayanan et al.FOCS 2024 · 2 citations
- Succinct Structure Representations for Efficient Query OptimizationZhekai Jiang, Qichen Wang, Christoph KochSIGMOD 2026
- When is approximate counting for conjunctive queries tractable?Marcelo Arenas, Luis Alberto Croquevielle, Rajesh Jayaram, Cristian RiverosSTOC 2021 · 1 citation
- Zigzagging through acyclic orientations of chordal graphs and hypergraphsJean Cardinal, Hung Phuc Hoang, Arturo Merino, Torsten MützeSODA 2023 · 3 citations
