Lune

SIGMOD2023顶会

Grep: A Graph Learning Based Database Partitioning System

Xuanhe Zhou, Guoliang Li, Jianhua Feng, Luyang Liu, Wei Guo

摘要

Database partitioning is a fundamental but challenging task in distributed databases, which selects specific columns as a partitioning key for each table and uses the partitioning key to allocate the table data into different compute nodes in order to maximize the performance. However, this problem is NP-hard and existing distributed databases require users to manually specify the partitioning keys, which may cause potential performance degradation. Although reinforcement learning based methods have been proposed, they have several limitations. First, they do not capture the complex data distributions and query access patterns, and thus involve high computation cost across different compute nodes to answer a query. Second, they involve an expensive step to repetitively partition the data into different compute nodes in order to train a learned key-selection model, which is a waste of time and resources. To address these limitations, we propose a practical learned database partitioning system Grep. We first adopt a graph model to encode data and query features, where vertices are columns, edges are query relations, and the weights of columns are computed based on the localized graph structures (e.g., data diversity, joined columns). We then utilize graph neural networks to embed the partitioning factors into embedding vectors in order to capture the data and query correlations. Next we propose a key-selection model to select appropriate partitioning keys based on the graph model. Finally, we propose an evaluation model to estimate the partitioning performance without actually partitioning the database. We have implemented Grep in a commercial distributed database, and experiments show the effectiveness of our system (e.g., 68% higher throughput for 30K queries in a real banking scenario).

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Learned Cardinality Estimation: A Design Space Exploration and A Comparative Evaluation 引用了 Query Performance Prediction for Concurrent Queries using Graph Embedding
  • Learned Cardinality Estimation: A Design Space Exploration and A Comparative Evaluation 引用了 An End-to-End Learning-based Cost Estimator
  • Learned Cardinality Estimation: A Design Space Exploration and A Comparative Evaluation 引用了 Reinforcement Learning with Tree-LSTM for Join Order Selection
  • The Holon Approach for Simultaneously Tuning Multiple Components in a Self-Driving Database Management System with Machine Learning via Synthesized Proto-Actions 引用了 Learned Cardinality Estimation: A Design Space Exploration and A Comparative Evaluation
  • The Holon Approach for Simultaneously Tuning Multiple Components in a Self-Driving Database Management System with Machine Learning via Synthesized Proto-Actions 引用了 Query Performance Prediction for Concurrent Queries using Graph Embedding
  • The Holon Approach for Simultaneously Tuning Multiple Components in a Self-Driving Database Management System with Machine Learning via Synthesized Proto-Actions 引用了 A Learned Query Rewrite System using Monte Carlo Tree Search
  • Query Performance Prediction for Concurrent Queries using Graph Embedding 引用了 An End-to-End Learning-based Cost Estimator
  • A Learned Query Rewrite System using Monte Carlo Tree Search 引用了 Learned Cardinality Estimation: A Design Space Exploration and A Comparative Evaluation
  • A Learned Query Rewrite System using Monte Carlo Tree Search 引用了 Query Performance Prediction for Concurrent Queries using Graph Embedding
  • A Learned Query Rewrite System using Monte Carlo Tree Search 引用了 An End-to-End Learning-based Cost Estimator
  • A Learned Query Rewrite System using Monte Carlo Tree Search 引用了 Reinforcement Learning with Tree-LSTM for Join Order Selection
  • PACE: Poisoning Attacks on Learned Cardinality Estimation 引用了 Learned Cardinality Estimation: A Design Space Exploration and A Comparative Evaluation
  • PACE: Poisoning Attacks on Learned Cardinality Estimation 引用了 A Learned Query Rewrite System using Monte Carlo Tree Search
  • An End-to-End Learning-based Cost Estimator 引用了 Reinforcement Learning with Tree-LSTM for Join Order Selection
  • Reinforcement Learning with Tree-LSTM for Join Order Selection 引用了 An End-to-End Learning-based Cost Estimator
  • This is Going to Sound Crazy, But What If We Used Large Language Models to Boost Automatic Database Tuning Algorithms By Leveraging Prior History? We Will Find Better Configurations More Quickly Than Retraining From Scratch! 引用了 The Holon Approach for Simultaneously Tuning Multiple Components in a Self-Driving Database Management System with Machine Learning via Synthesized Proto-Actions
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper6

  1. The Holon Approach for Simultaneously Tuning Multiple Components in a Self-Driving Database Management System with Machine Learning via Synthesized Proto-ActionsWilliam Zhang, Wan Shen Lim, Matthew Butrovich, Andrew PavloVLDB 2024 · 13 次引用
  2. OpenFGL: A Comprehensive Benchmark for Federated Graph LearningXunkai Li, Yinlin Zhu, Boyang Pang, Guochen Yan 等VLDB 2025 · 12 次引用
  3. PACE: Poisoning Attacks on Learned Cardinality EstimationJintao Zhang, Chao Zhang, Guoliang Li, Chengliang ChaiSIGMOD 2024 · 9 次引用
  4. This is Going to Sound Crazy, But What If We Used Large Language Models to Boost Automatic Database Tuning Algorithms By Leveraging Prior History? We Will Find Better Configurations More Quickly Than Retraining From Scratch!William Zhang, Wan Shen Lim, Andrew PavloSIGMOD 2026 · 7 次引用
  5. Breaking the Isolation-Freshness Trade-off: Joint Adaptive Storage Optimization for HTAP SystemsZhenghao Ding, Xinyi Zhang, Chao Zhang, Yishen Sun 等VLDB 2026 · 1 次引用

它引用的 Paper13

  1. An End-to-End Learning-based Cost EstimatorJi Sun, Guoliang LiVLDB 2020 · 251 次引用
  2. Reinforcement Learning with Tree-LSTM for Join Order SelectionXiang Yu, Guoliang Li, Chengliang Chai, Nan TangICDE 2020 · 168 次引用
  3. Query Performance Prediction for Concurrent Queries using Graph EmbeddingXuanhe Zhou, Ji Sun, Guoliang Li, Jianhua FengVLDB 2020 · 96 次引用
  4. Learned Cardinality Estimation: A Design Space Exploration and A Comparative EvaluationJi Sun, Jintao Zhang, Zhaoyan Sun, Guoliang Li 等VLDB 2022 · 90 次引用
  5. A Learned Query Rewrite System using Monte Carlo Tree SearchXuanhe Zhou, Guoliang Li, Chengliang Chai, Jianhua FengVLDB 2022 · 85 次引用

相关 Paper

  1. Adaptive Partitioning for Large-Scale Graph Analytics in Geo-Distributed Data CentersAmelie Chi Zhou, Juanyun Luo, Ruibo Qiu, Haobin Tan 等ICDE 2022 · 8 次引用
  2. Learning a Partitioning Advisor for Cloud DatabasesBenjamin Hilprecht, Carsten Binnig, Uwe RöhmSIGMOD 2020 · 64 次引用
  3. R2O: A Dual-Layer Framework for Joint Rewriting and Ordering in Distributed Property Graph Query OptimizationMin Shi, Peng Peng, Xin Xiao, Lei Zou 等SIGMOD 2026
  4. NeuroCut: A Neural Approach for Robust Graph PartitioningRishi Shah, Krishnanshu Jain, Sahil Manchanda, Sourav Medya 等KDD 2024 · 2 次引用
  5. PreQR: Pre-training Representation for SQL UnderstandingXiu Tang, Sai Wu, Mingli Song, Shanshan Ying 等SIGMOD 2022 · 21 次引用
黄昏的海面,两侧是细线勾勒的悬崖