Optimizing Context-Enhanced Relational Joins
Viktor Sanca, Manos Chatzakis, Anastasia Ailamaki
摘要
Collecting data, extracting value, and combining insights from relational and context-rich sources of many modalities in data processing pipelines presents a challenge for traditional relational DBMS. While relational operators enable declarative and optimizable query specification, they are limited to unsuitable data transformations for capturing or analyzing context. On the other hand, representation learning models can map context-rich data into embeddings, enabling machine-automated context processing but requiring imperative data transformation integration with the analytical query. We present a context-enhanced relational join operator to bridge this dichotomy and introduce an embedding operator composable with relational operators. This approach enables hybrid relational and context-rich vector data processing, with algebraic equivalences compatible with relational algebra and corresponding logical and physical optimizations. We investigate model-operator interaction with vector data processing and study the characteristics of the join operator. We demonstrate the hybrid context-enhanced relational join operators with vector embeddings and evaluate it against a vector database approach. We show step-by-step the impact of logical and physical optimizations, which result in orders of magnitude execution time improvement resulting in tensor join formulation. We also outline the performance tradeoffs and cases of using scan-based processing against vector indexes.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Zero-Shot Cost Models for Out-of-the-box Learned Cost Prediction 引用了 Language Models are Few-Shot Learners
- ANNiE: A Learned Query Cost Estimator for Graph-Based Approximate Nearest Neighbor Search 引用了 DARTH: Declarative Recall Through Early Termination for Approximate Nearest Neighbor Search
- ANNiE: A Learned Query Cost Estimator for Graph-Based Approximate Nearest Neighbor Search 引用了 Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- Language Models are Few-Shot Learners 引用了 Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
- DARTH: Declarative Recall Through Early Termination for Approximate Nearest Neighbor Search 引用了 Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
引用它的顶会 Paper3
- DARTH: Declarative Recall Through Early Termination for Approximate Nearest Neighbor SearchManos Chatzakis, Yannis Papakonstantinou, Themis PalpanasSIGMOD 2026 · 10 次引用
- Exqutor: Extended Query Optimizer for Vector-Augmented Analytical QueriesHyunjoon Kim, Chaerim Lim, Hyeonjun An, Rathijit Sen 等ICDE 2026 · 1 次引用
- ANNiE: A Learned Query Cost Estimator for Graph-Based Approximate Nearest Neighbor SearchZeyu Wang, Manos Chatzakis, Qitong Wang, Themis Palpanas 等VLDB 2026
它引用的 Paper4
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni 等NeurIPS 2020 · 19,162 次引用
- Zero-Shot Cost Models for Out-of-the-box Learned Cost PredictionBenjamin Hilprecht, Carsten BinnigVLDB 2022 · 90 次引用
- Query Processing on Tensor Computation RuntimesDong He, Supun Chathuranga Nakandala, Dalitso Banda, Rathijit Sen 等VLDB 2022 · 54 次引用
相关 Paper
- Ember: No-Code Context Enrichment via Similarity-Based Keyless JoinsSahaana Suri, Ihab F. Ilyas, Christopher Ré, Theodoros RekatsinasVLDB 2022 · 34 次引用
- Creating Embeddings of Heterogeneous Relational Datasets for Data Integration TasksRiccardo Cappuzzo, Paolo Papotti, Saravanan ThirumuruganathanSIGMOD 2020 · 139 次引用
- Query Embedding on Hyper-Relational Knowledge GraphsDimitrios Alivanistos, Max Berrendorf, Michael Cochez, Mikhail GalkinICLR 2022 · 29 次引用
- CtxPipe: Context-aware Data Preparation Pipeline Construction for Machine LearningHaotian Gao, Shaofeng Cai, Tien Tuan Anh Dinh, Zhiyong Huang 等SIGMOD 2025 · 7 次引用
- Fast Approximate Similarity Join in Vector DatabasesJiadong Xie, Jeffrey Xu Yu, Yingfan LiuSIGMOD 2025 · 6 次引用
