How Portable is ORM Query Performance? Evidence from Four Database Systems
International Journal of Advanced Computer Science and Applications · 2026 · 17 (10)
DOI: 10.14569/ijacsa.2026.01710103 ↗Kurz gefasst
Fachartikel in der Zeitschrift International Journal of Advanced Computer Science and Applications, 2026. Verfasst von Mahmoud Nasr und 2 weiteren Autor:innen.
Abstract (Originalsprache)
A query that runs efficiently through an object-relational mapper (ORM) on one database may become a bottleneck on another. Such differences are easy to miss when ORM performance is summarized by a single overhead figure. This study examines how reliably performance carries across database systems by comparing Django and SQLAlchemy with handwritten SQL on four systems, with and without secondary indexes. Using TPC-H-derived queries and TPC-C-derived transactions, paired measurements and result-validation checks assess both relative overhead and actual delay. The findings show that small typical analytical overhead can coexist with substantial slowdowns for individual operations. Controlled comparisons identify SQL formulation and bound-versus-literal execution as the dominant components of the largest gaps examined. Transaction results show that a higher percentage overhead need not correspond to a greater delay. Together, these findings provide evidence for deciding which operations warrant closer investigation before deployment or database migration. Excluded formulations, conditional transaction estimates, and measurement variability constrain generalization.
Zitieren
APA
Nasr, M., El-Ramly, M., & Abdelqawy, D. (2026). How Portable is ORM Query Performance? Evidence from Four Database Systems. International Journal of Advanced Computer Science and Applications, 17(10). https://doi.org/10.14569/ijacsa.2026.01710103
Vancouver
Nasr M, El-Ramly M, Abdelqawy D. How Portable is ORM Query Performance? Evidence from Four Database Systems. International Journal of Advanced Computer Science and Applications. 2026;17(10). doi:10.14569/ijacsa.2026.01710103
BibTeX
@article{Nasr2026,
author = {Nasr, Mahmoud and El-Ramly, Mohammed and Abdelqawy, Desoky},
title = {How Portable is ORM Query Performance? Evidence from Four Database Systems},
journal = {International Journal of Advanced Computer Science and Applications},
year = {2026},
volume = {17},
number = {10},
doi = {10.14569/ijacsa.2026.01710103}
}
EUVIMED