Database Optimization for Low-Latency Analytics with Adaptive Indexing

Authors

  • Lakmali Karunarathne Department of Computer Science and Data Science, York St John University London Campus, UK https://orcid.org/0009-0000-7720-7817
  • Swathi Ganesan Department of Computer Science and Data Science, York St John University London Campus, UK https://orcid.org/0000-0002-6278-2090
  • Kavindu Karunarathne Department of Computer Science and Data Science, York St John University London Campus, UK https://orcid.org/0009-0008-1681-6748
  • Nalinda Somasiri Department of Computer Science and Data Science, York St John University London Campus, UK

DOI:

https://doi.org/10.47852/bonviewJDSIS62027607

Keywords:

database optimization, indexing, real-time data processing, PostgreSQL, adaptive optimization

Abstract

Data are rapidly produced in various fields such as finance, e-commerce, healthcare, and the Internet of Things (IoT), resulting in a constantly growing need for real-time analytics that can scale up. Traditional relational database management systems (RDBMSs) are often unable to keep up with high-speed processing requirements due to the limitations of ACID properties. In this report, auto optimized stream is introduced as a self-adaptive optimization framework to enhance real-time analytical pipelines powered by PostgreSQL, Kafka, and Flink in terms of both scalability and performance. The major difference between the proposed framework and the static optimization methods, which are used by Oracle, is that it is a continuous process where live query workloads and data ingestion are monitored regularly, thus allowing for the optimization of indexing strategies, partitioning schemes, and stream processing configurations. The framework employs rule-based decision-making to improve query execution, ingestion throughput, and resource utilization across the board. The adaptive method, when compared to static optimization methods, allows lower query latency, better stream stability, and higher CPU efficiency while causing minimal overhead and keeping full tuning action traceability. These findings not only prove the practical viability of adaptive database systems for real-time analytics but also lay down a steppingstone for future systems.

 

Received: 8 September 2025 | Revised: 24 November 2025 | Accepted: 12 January 2026

 

 

Conflicts of Interest

The authors declare that they have no conflicts of interest to this work.

 

Data Availability Statement

The data that support the findings of this study are openly available in "vega-datasets" at https://github.com/vega/vega/blob/main/docs/data/seattle-weather.csv.

 

Author Contribution Statement

Lakmali Karunarathne: Conceptualization, Methodology, Validation, Formal analysis, Investigation, Resources, Data curation, Writing — original draft, Writing — review & editing, Visualization, Supervision, Project administration. Swathi Ganesan: Investigation. Kavindu Karunarathne: Methodology, Software, Formal analysis, Resources, Writing — original draft, Writing — review & editing, Visualization. Nalinda Somasiri: Investigation.

Downloads

Published

2026-02-24

Issue

Section

Research Articles

How to Cite

Karunarathne, L., Ganesan, S., Karunarathne, K., & Somasiri, N. (2026). Database Optimization for Low-Latency Analytics with Adaptive Indexing. Journal of Data Science and Intelligent Systems. https://doi.org/10.47852/bonviewJDSIS62027607

Most read articles by the same author(s)