AI-Assisted Query Optimization Techniques for Cloud Databases Supporting Hybrid SQL and NoSQL Workloads
DOI:
https://doi.org/10.63282/3050-922X.IJERET-V6I4P108Keywords:
AI-Driven Query Optimization, Hybrid SQL-NoSQL Databases, Cloud Database Management, Adaptive Workload Optimization, Cost-based OptimizationAbstract
Data management in the modern era has changed with the introduction of the paying database solutions which include Database as a Service (DBaaS) with the use of cloud computing. Nevertheless, query optimization in distributed and hybrid systems is highly challenging because of the dynamic workloads, heterogeneity of resources and cross platform data integration. By virtue of being based on standard rules and costs, traditional approaches to rule-based and cost-based optimization do not scale, and cannot easily adjust to the complexity and volume requirements of cloud-based and hybrid SQL-NoSQL databases. The present paper is based on the idea of the use of Artificial Intelligence (AI) and Machine Learning (ML) to optimize queries in a data-driven, adaptive, and autonomous manner. Supervised and unsupervised learning AIs that are used as optimizers are applied to learn cost models, predict optimal execution plans, and dynamically respond to changes in the workload, whereas workload forecasting and resource allocation is possible using deep learning (DL) models such as LSTMs and Transformers. Comparative study of SQLs and NoSQLs system shows that consistency and scalability have a complementary relationship, which makes it crucial to have hybrid system in the cloud ecosystem. The research finds that AI-based query optimization not only enhances efficiency, performance, and adaptability but also preconditions future autonomous and self-tuning database systems, which can work perfectly well in multi-cloud environments
References
[1] A. Bachhav, V. Kharat, and M. Shelar, “Query Optimization for Databases in Cloud Environment: A Survey,” Int. J. Database Theory Appl., vol. 10, no. 6, pp. 1–12, Jun. 2017, doi: 10.14257/ijdta.2017.10.6.01.
[2] O. Oloruntoba, “Architecting Resilient Multi-Cloud Database Systems: Distributed Ledger Technology, Fault Tolerance, and Cross-Platform Synchronization,” Int. J. Res. Publ. Rev., vol. 6, no. 2, 2025, doi: 10.55248/gengpi.6.0225.0918.
[3] V. N. R. Dantuluri, “AI-Powered Query Optimization in Multitenant Database Systems,” J. Comput. Sci. Technol. Stud., vol. 7, no. 4, pp. 802–813, 2025, doi: 10.32996/jcsts.2025.7.4.93.
[4] B. R. Ande, “Enhancing Cloud-Native AEM Deployments Using Kubernetes and Azure DevOps,” Int. J. Commun. Networks Inf. Secur., vol. 15, no. 8, pp. 33–41, 2023.
[5] O. Oloruntoba, “AI-Driven autonomous database management: Self-tuning, predictive query optimization, and intelligent indexing in enterprise it environments,” World J. Adv. Res. Rev., vol. 25, no. 2, pp. 1558–1580, Feb. 2025, doi: 10.30574/wjarr.2025.25.2.0534.
[6] S. K. Mamillapalli and R. D. Jeganathan, “Mastering Cloud-Native Performance : Strategies for Optimization,” vol. 3, no. 3, pp. 1–9, 2022.
[7] V. Panwar, “AI-Driven Query Optimization : Revolutionizing Database Performance and Efficiency,” vol. 72, no. 3, pp. 18–26, 2024.
[8] M. R. R. Deva and N. Jain, “Utilizing Azure Automated Machine Learning and XGBoost for Predicting Cloud Resource Utilization in Enterprise Environments,” in 2025 International Conference on Networks and Cryptology (NETCRYPT), 2025, pp. 535–540. doi: 10.1109/NETCRYPT65877.2025.11102235.
[9] A. Bachhav, V. Kharat, and M. Shelar, “An Efficient Query Optimizer with Materialized Intermediate Views in Distributed and Cloud Environment,” Teh. Glas., vol. 15, no. 1, pp. 105–111, Mar. 2021, doi: 10.31803/tg-20210205094356.
[10] S. Garg, “Predictive Analytics and Auto Remediation using Artificial Inteligence and Machine learning in Cloud Computing Operations,” SSRN Electron. J., vol. 7, no. 2, 2025, doi: 10.2139/ssrn.5267117.
[11] A. Thirunagalingam and S. Banala, “Enhancing Query Optimization in Cloud-Native Relational Databases : Leveraging Policy Gradient Methods for Intelligent Automation,” Int. J. Intell. Syst. Appl. Eng. Syst. Appl. Eng., vol. 12, no. 23s, pp. 1026–1035, 2024.
[12] B. R. Cherukuri, “Containerization in cloud computing: comparing Docker and Kubernetes for scalable web applications,” Int. J. Sci. Res. Arch., vol. 13, no. 1, pp. 3302–3315, Oct. 2024, doi: 10.30574/ijsra.2024.13.1.2035.
[13] R. Marcus and O. Papaemmanouil, “Plan-Structured Deep Neural Network Models for Query Performance Prediction,” arXiv, 2019, doi: 10.48550/arXiv.1902.00132.
[14] Abhayanand and M. M. Rahman, “Enhancing Query Optimization in Distributed Relational Databases: A Comprehensive Review,” Int. J. Nov. Res. Dev., vol. 9, no. 3, p. 13, 2024.
[15] G. Maddali, “An Efficient Bio-Inspired Optimization Framework for Scalable Task Scheduling in Cloud Computing Environments,” Int. J. Curr. Eng. Technol., vol. 15, no. 3, 2025.
[16] A. R. Bilipelli, “Visual Intelligence Framework for Business Analytics Using SQL Server and Dashboards,” ESP J. Eng. Technol. Adv., vol. 3, no. 3, pp. 144–153, 2023, doi: 10.56472/25832646/JETA-V3I7P118.
[17] Y. Jani, “The Role Of Sql And Nosql Databases In Modern Data Architectures,” 2021.
[18] B. Sethi, S. Mishra, and P. ku. Patnaik, “A Study of NoSQL Database,” vol. 3, no. 4, pp. 1131–1135, 2014.
[19] P. P. Khine and Z. Wang, “A Review of Polyglot Persistence in he Big Data World,” Information, vol. 10, no. 4, 2019, doi: 10.3390/info10040141.
[20] D. Sikeridis, I. Papapanagiotou, B. P. Rimal, and M. Devetsikiotis, “A Comparative Taxonomy and Survey of Public Cloud Infrastructure Vendors,” pp. 1–21, 2017, doi: 10.48550/arXiv.1710.01476.
[21] Y. Jani, “The Role Of Sql And Nosql Databases In Modern Data Architectures,” Int. J. Core Eng. Manag., vol. 6, no. 12, pp. 61–67, 2024.
[22] A. R. Duggasani, “Scalable and Optimized Load Balancing in Cloud Systems: Intelligent Nature-Inspired Evolutionary Approach,” Int. J. Innov. Sci. Res. Technol., vol. 10, no. 5, May 2025, doi: 10.38124/ijisrt/25may1290.
[23] V. Verma, “Optimizing Database Performance for Big Data Analytics and Business Intelligence,” Int. J. Eng. Sci. Math., vol. 13, no. 11, pp. 56–75, 2024.
[24] X. Zhou, C. Chai, G. Li, and J. Sun, “Database Meets AI : A Survey,” 2023.
[25] R. Heinrich, X. Li, M. Luthra, and Z. Kaoudi, “Learned Cost Models for Query Optimization : From Batch to Streaming Systems,” vol. 18, no. 12, pp. 5482–5487, 2025, doi: 10.14778/3750601.3750699.
[26] V. M. L. G. Nerella, “Architecting Secure, Automated Multi-Cloud Database Platforms Strategies for Scalable Compliance.,” Int. J. Intell. Syst. Appl. Eng., vol. 9, pp. 128–138, 2021.
[27] K. Tzoumas, T. Sellis, and C. S. Jensen, “A Reinforcement Learning Approach for Adaptive Query Processing,” 2008.
[28] S. Karimunnisa and Y. Pachipala, “Deep Learning Approach for Workload Prediction and Balancing in Cloud Computing,” vol. 15, no. 4, pp. 754–763, 2024.
[29] C. Bandla, “Query Optimization for Big Data Workloads in Cloud-Enabled Distributed Databases,” Int. J. Sci. Res., vol. 12, no. 8, pp. 2576–2580, Aug. 2023, doi: 10.21275/SR23084171047.
[30] D. C. Spoiala, T. Barabas, and T. O. Gal, “Techniques for Creating and Querying Relational Databases Using MySQL and AWS Cloud Services,” in 2025 18th International Conference on Engineering of Modern Electric Systems (EMES), IEEE, May 2025, pp. 1–4. doi: 10.1109/EMES65692.2025.11045576.
[31] C. Bandla, “Leveraging Generative AI for Enhanced Scalability and Efficiency in Distributed Cloud Databases,” in 2025 8th International Symposium on Big Data and Applied Statistics (ISBDAS), IEEE, Feb. 2025, pp. 280–286. doi: 10.1109/ISBDAS64762.2025.11116985.
[32] F. F. Sakib, S. D. Roy, Z. Rahman, S. Saha, and A. Salam, “NoSQL Database Selection Process: An Integrated Proof of Concept and Comparison for Targeted Document Store Databases,” in 2025 4th International Conference on Robotics, Electrical and Signal Processing Techniques (ICREST), IEEE, Jan. 2025, pp. 151–155. doi: 10.1109/ICREST63960.2025.10914487.
[33] H. Dong, C. Zhang, G. Li, and H. Zhang, “Cloud-Native Databases: A Survey,” IEEE Trans. Knowl. Data Eng., vol. 36, no. 12, pp. 7772–7791, Dec. 2024, doi: 10.1109/TKDE.2024.3397508.
[34] S. Chai and Z. Qin, “A Case Study of Cloud Query Performance Comparison Between SQL and NoSQL Database,” in 2024 IEEE/WIC International Conference on Web Intelligence and Intelligent Agent Technology (WI-IAT), 2024, pp. 716–721. doi: 10.1109/WI-IAT62293.2024.00117.
[35] F. Olariu, “Overcoming Challenges in Migrating Modular Monolith from On-Premises to AWS Cloud,” in 2023 22nd RoEduNet Conference: Networking in Education and Research (RoEduNet), IEEE, Sep. 2023, pp. 1–6. doi: 10.1109/RoEduNet60162.2023.10274946.
[36] D. Dundjerski and M. Tomasevic, “Automatic Database Troubleshooting of Azure SQL Databases,” IEEE Trans. Cloud Comput., vol. 10, no. 3, pp. 1604–1619, Jul. 2022, doi: 10.1109/TCC.2020.3007016.
[37] T. Capris, P. Melo, N. M. Garcia, I. M. Pires, and E. Zdravevski, “Comparison of SQL and NoSQL databases with different workloads: MongoDB vs MySQL evaluation,” 2022 Int. Conf. Data Anal. Bus. Ind. ICDABI 2022, no. February, pp. 214–218, 2022, doi: 10.1109/ICDABI56818.2022.10041513.