Parametric Query Optimization (PQO) is crucial for efficiently executing parametrized queries (PQ) in modern industrial database systems. This paper addresses two key challenges overlooked by existing PQO techniques: large-scale template generalization and online adaptability. For large-scale workloads, maintaining one model per template is impractical, while sharing a single model across all templates leads to degraded performance. To overcome this issue, we propose a representation-based clustering strategy coupled with hierarchical model training, which significantly reduces model cost while preserving accuracy. For online adaptability, we observe that query parameter distributions shift over time, rendering fixed plan caches suboptimal. To address this, we introduce a KL-divergence-driven model fine-tuning and plan updating strategy that dynamically adapts to workload changes. Our approach is implemented on OceanBase and extensively evaluated on six workloads. Results show that it achieves up to 1.62× acceleration over the OceanBase optimizer and outperforms RankPQO, a state-of-the-art PQO method, by up to 1.23×, demonstrating improved scalability and robustness for industrial-scale PQO.
Song-Song Mo, Quanqing Xu, Xu-Chen Ding et al.· Proceedings of the VLDB Endo...· 0 citations
This study observes that sparse attention scores exhibit a score concentration phenomenon, where scores tend to fall within a narrow range, and proposes LITETOPK, an efficient fused Indexer-TopK kernel, which exploits the similarity of top-k candidate sets among neighboring tokens and proposes LITEDSA, which exploits the similarity of top-k candidate sets among neighboring tokens.
This work introduces TOFFEE, a system for synthesizing high-quality data agent trajectories from given data environments via Monte Carlo Tree Search (MCTS) with adaptive model selection and cross-task prefix reuse, and shows that TOFFEE can effectively generate scalable trajectory data for complex analytical tasks across heterogeneous environments.
Ziting Wang, Yin Li, Zuhao Yang et al.· arXiv.org· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.