Extending Relational Query Processing with ML Inference
Not on the map. Why?
Abstract (arXiv)
The broadening adoption of machine learning in the enterprise is increasing the pressure for strict governance and cost-effective performance, in particular for the common and consequential steps of model storage and inference. The RDBMS provides a natural starting point, given its mature infrastructure for fast data access and processing, along with support for enterprise features (e.g., encryption, auditing, high-availability). To take advantage of all of the above, we need to address a key concern: Can in-RDBMS scoring of ML models match (outperform?) the performance of dedicated frameworks? We answer the above positively by building Raven, a system that leverages native integration of ML runtimes (i.e., ONNX Runtime) deep within SQL Server, and a unified intermediate representation (IR) to enable advanced cross-optimizations between ML and DB operators. In this optimization space, we discover the most exciting research opportunities that combine DB/Compiler/ML thinking. Our initial evaluation on real data demonstrates performance gains of up to 5.5x from the native integration of ML in SQL Server, and up to 24x from cross-optimizations--we will demonstrate Raven live during the conference talk.
Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). First posted on arXiv 1 Nov 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 5; 2023: 2; 2024: 2; 2025: 1; 2026: 2.
15 papers.
Sort:
- 2021tf.data: A Machine Learning Data Processing Frameworkcited by 40
- 2021Production Machine Learning Pipelines: Empirical Analysis and Optimization Opportunitiescited by 21
- 2022End-to-end Optimization of Machine Learning Prediction Queriescited by 16
- 2022Query Processing on Tensor Computation Runtimescited by 12
- 2022On Efficient Approximate Queries over Machine Learning Modelscited by 7
- 2021Functional Collection Programming with Semi-Ring Dictionariescited by 6
- 2024NeurDB: On the Design and Implementation of an AI-powered Autonomous Databasecited by 5
- 2022Analytical Engines With Context-Rich Processing: Towards Efficient Next-Generation Analyticscited by 4
- 2022The Tensor Data Platform: Towards an AI-centric Database Systemcited by 3
- 2023A Comparison of Decision Forest Inference Platforms from A Database Perspectivecited by 3
- 2023Serving Deep Learning Model in Relational Databasescited by 2
- 2024Bullion: A Column Store for Machine Learningcited by 1
3 more
- 2025Personalized Top-k Set Queries Over Predicted Scorescited by 1
- 2026Towards Effective Orchestration of AI x DB Workloadscited by 0
- 2026MLSkip: Data Skipping for ML Filters via Lightweight Metadatacited by 0
- 2026MLSkip: Data Skipping for ML Filters via Lightweight Metadata2 Jun 2026
- 2026Towards Effective Orchestration of AI x DB Workloads4 Mar 2026
- 2025Personalized Top-k Set Queries Over Predicted Scores18 Feb 2025
- 2024NeurDB: On the Design and Implementation of an AI-powered Autonomous Database6 Aug 2024
- 2024Bullion: A Column Store for Machine Learning13 Apr 2024
- 2023Serving Deep Learning Model in Relational Databases7 Oct 2023
- 2023A Comparison of Decision Forest Inference Platforms from A Database Perspective9 Feb 2023
- 2022Analytical Engines With Context-Rich Processing: Towards Efficient Next-Generation Analytics14 Dec 2022
- 2022The Tensor Data Platform: Towards an AI-centric Database System4 Nov 2022
- 2022On Efficient Approximate Queries over Machine Learning Models6 Jun 2022
- 2022End-to-end Optimization of Machine Learning Prediction Queries31 May 2022
- 2022Query Processing on Tensor Computation Runtimes3 Mar 2022
3 more
- 2021tf.data: A Machine Learning Data Processing Frameworkcited by 40
- 2021Production Machine Learning Pipelines: Empirical Analysis and Optimization Opportunitiescited by 21
- 2022End-to-end Optimization of Machine Learning Prediction Queriescited by 16
- 2022Query Processing on Tensor Computation Runtimescited by 12
- 2022On Efficient Approximate Queries over Machine Learning Modelscited by 7
- 2021Functional Collection Programming with Semi-Ring Dictionariescited by 6
- 2024NeurDB: On the Design and Implementation of an AI-powered Autonomous Databasecited by 5
- 2022Analytical Engines With Context-Rich Processing: Towards Efficient Next-Generation Analyticscited by 4
- 2022The Tensor Data Platform: Towards an AI-centric Database Systemcited by 3
- 2023A Comparison of Decision Forest Inference Platforms from A Database Perspectivecited by 3
- 2023Serving Deep Learning Model in Relational Databasescited by 2
- 2024Bullion: A Column Store for Machine Learningcited by 1
12 most cited of 15 All 15 (JSON)
- 2026MLSkip: Data Skipping for ML Filters via Lightweight Metadata2 Jun 2026
- 2026Towards Effective Orchestration of AI x DB Workloads4 Mar 2026
- 2025Personalized Top-k Set Queries Over Predicted Scores18 Feb 2025
- 2024NeurDB: On the Design and Implementation of an AI-powered Autonomous Database6 Aug 2024
- 2024Bullion: A Column Store for Machine Learning13 Apr 2024
- 2023Serving Deep Learning Model in Relational Databases7 Oct 2023
- 2023A Comparison of Decision Forest Inference Platforms from A Database Perspective9 Feb 2023
- 2022Analytical Engines With Context-Rich Processing: Towards Efficient Next-Generation Analytics14 Dec 2022
- 2022The Tensor Data Platform: Towards an AI-centric Database System4 Nov 2022
- 2022On Efficient Approximate Queries over Machine Learning Models6 Jun 2022
- 2022End-to-end Optimization of Machine Learning Prediction Queries31 May 2022
- 2022Query Processing on Tensor Computation Runtimes3 Mar 2022
12 newest of 15 All 15 (JSON)