PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
April 1, 2022Proceedings of the VLDB Endowment108 citations

QueryFormer

View Full Paper
YZYue ZhaoGCGao CongJSJiachen Shi

Key Points

Key points are not available for this paper at this time.

Abstract

Machine learning has become a prominent method in many database optimization problems such as cost estimation, index selection and query optimization. Translating query execution plans into their vectorized representations is non-trivial. Recently, several query plan representation methods have been proposed. However, they have two limitations. First, they do not fully utilize readily available database statistics in the representation, which characterizes the data distribution. Second, they typically have difficulty in modeling long paths of information flow in a query plan, and capturing parent-children dependency between operators. To tackle these limitations, we propose QueryFormer, a learning-based query plan representation model with a tree-structured Transformer architecture. In particular, we propose a novel scheme to integrate histograms obtained from database systems into query plan encoding. In addition, to effectively capture the information flow following the tree structure of a query plan, we develop a tree-structured model with the attention mechanism. We integrate QueryFormer into four machine learning models, each for a database optimization task, and experimental results show that QueryFormer is able to improve performance of these models significantly.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Zhao et al. (2022) studied this question.

synapsesocial.com/papers/6a154500b2e0231f15823281https://doi.org/10.14778/3529337.3529349
Ask AI
Helpful
Bookmark
Share
View Full Paper

Also Consider

Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context:

  1. 1RhizoDB: A Bounded Activation-Flow Architecture for Graph-Based Memory Systems2026 · 914 citations
  2. 2Preventing bad plans by bounding the impact of cardinality estimation errors2009 · 178 citations
  3. 3Global optimization of histograms2001 · 46 citations
  4. 4Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing2015 · 277 citations
  5. 5Independence is good2001 · 139 citations