OPTIMIZATION TECHNIQUES FOR SQL+ML QUERIES: A PERFORMANCE ANALYSIS OF REALTIME FEATURE COMPUTATION IN OPENMLDB

In this study, we optimize SQL+ML queries on top of OpenMLDB, an open-source database that seamlessly integrates offline and online feature computations. The work used feature-rich synthetic dataset experiments in Docker, which acted like production environments that processed 100 to 500 records per batch and 6 to 12 requests per batch in parallel. Efforts have been concentrated in the areas of better query plans, cached execution plans, parallel processing, and resource management. The experimental results show that OpenMLDB can support approximately 12,500QPS with less than 1ms latency, outperforming SparkSQL and ClickHouse by a factor of 23 and PostgreSQL and MySQL by 3.57 times. This study assessed the impact of optimization and showed that query plan optimization accounted for 35% of the performance gains, caching for 25%, and parallel processing for 20%. These impressive results illustrate OpenMLDB’s capability for time-sensitive ML use cases, such as fraud detection, personalized recommendation, and time series forecasting. The system's modularized optimization framework, which combines batch and stream processing without any interference, contributes to its significant performance gain over traditional database systems, particularly in applications that require real-time feature computation and serving. Contributions This study has implications for the need for specialized SQL optimization for ML workloads and contributes to the understanding and design of high-performance SQL+ML systems.

Authors

Publication Details

Journal
International Journal of Database Management Systems
Published
2025-09-23
DOI
https://doi.org/10.5121/ijdms.2025.17501
Citations
1
Primary Topic
Data Management and Algorithms
Type
article
Field-Weighted Citation Impact
1.49
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

OPTIMIZATION TECHNIQUES FOR SQL+ML QUERIES: A PERFORMANCE ANALYSIS OF REALTIME FEATURE COMPUTATION IN OPENMLDB

Samer Hassan, Abdulrahman Salih, Mashkhal Abdalwahid Sidiq
1 citations
International Journal of Database Management Systems
Data Management and Algorithms
1.49
article

OPTIMIZATION TECHNIQUES FOR SQL+ML QUERIES: A PERFORMANCE ANALYSIS OF REALTIME FEATURE COMPUTATION IN OPENMLDB

Samer Hassan, Abdulrahman Salih, Mashkhal Abdalwahid Sidiq
article en
1 citations

Abstract

In this study, we optimize SQL+ML queries on top of OpenMLDB, an open-source database that seamlessly integrates offline and online feature computations. The work used feature-rich synthetic dataset experiments in Docker, which acted like production environments that processed 100 to 500 records per batch and 6 to 12 requests per batch in parallel. Efforts have been concentrated in the areas of better query plans, cached execution plans, parallel processing, and resource management. The experimental results show that OpenMLDB can support approximately 12,500QPS with less than 1ms latency, outperforming SparkSQL and ClickHouse by a factor of 23 and PostgreSQL and MySQL by 3.57 times. This study assessed the impact of optimization and showed that query plan optimization accounted for 35% of the performance gains, caching for 25%, and parallel processing for 20%. These impressive results illustrate OpenMLDB’s capability for time-sensitive ML use cases, such as fraud detection, personalized recommendation, and time series forecasting. The system's modularized optimization framework, which combines batch and stream processing without any interference, contributes to its significant performance gain over traditional database systems, particularly in applications that require real-time feature computation and serving. Contributions This study has implications for the need for specialized SQL optimization for ML workloads and contributes to the understanding and design of high-performance SQL+ML systems.

International Journal of Database Management SystemsVol. 17(5)
Openalex Percentile: Top 14%
Data Management and Algorithms
1.49
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

OPTIMIZATION TECHNIQUES FOR SQL+ML QUERIES: A PERFORMANCE ANALYSIS OF REALTIME FEATURE COMPUTATION IN OPENMLDB — Samer Hassan, Abdulrahman Salih, et al. · International Journal of Database Management Systems (2025) | TGRS Research Map | TGRS