scientiGate Sign in

ArticleOpen access

Improving Spatiotemporal Query Performance in PostGIS Through Composite GiST Indexes

AlQalam Journal of Medical and Applied Sciences·Vol. ume·p. 641–651·Published 11 March 2026

DOIhttps://doi.org/10.54361/ajmas.269315

Read on the journal website PDF
Cite

Cite this article

Reference

Aisha Yousef, Anwar Alhenshiri. Improving Spatiotemporal Query Performance in PostGIS Through Composite GiST Indexes. AlQalam Journal of Medical and Applied Sciences. 2026;ume:641–651. doi:10.54361/ajmas.269315

Abstract

The increasing volume of spatiotemporal trajectory data generated by IoT and smart city applications presents major challenges for efficient query processing in relational databases. Although PostgreSQL with PostGIS offers strong spatial capabilities, compound queries involving both spatial and temporal constraints often experience high latency due to reliance on separate indexing strategies. This study investigates the use of composite Generalized Search Tree (GiST) indexing as an effective solution for optimizing multidimensional spatiotemporal queries. A controlled experimental evaluation was conducted using a synthetic dataset of 10 million records to compare query performance before and after implementing a multi-column GiST index with the gist_timestamptz_ops operator class. Results demonstrate a significant improvement in execution time, reducing query latency from 1490 ms to 31.38 ms, achieving a 47.5-fold speedup. The findings confirm that composite GiST indexing enables real-time performance for complex spatiotemporal workloads and provides a practical, reproducible approach for enhancing query efficiency in high-volume PostGIS environments.

Keywords

Similar articles

  1. Epidemiological, clinical features therapeutic results and evolution of gastrointestinal stromal tumour: about 25 cases.O. Hellara, O. Toumi et al. · Tunis Med · 2014
  2. From Tweets to Insights: Enhancing Summarization through Social Interaction ContextAnwar Alhenshiri, Hanan Soliman et al. · AlQalam Journal of Medical and Applied Sciences · 2025
  3. Modeling of a Solar Pumping System in Agrivoltaic Environments Using Artificial Neural NetworksYahia Serbouh, Djamel Benazzouz et al. · AJSS · 2026
  4. Exploring the Integration and Implications of Artificial Intelligence Chatbots in the Realm of Sports Science Research, Training, and RehabilitationTouhami Hamdaoui, Noureddine Ghennam et al. · Tun J Sport Sci Med · 2024
  5. Optimizing training and competition during the month of Ramadan: Recommendations for a holistic and personalized approach for the fasting athletesKarim Chamari, Mehdi Roussi et al. · Tunis Med · 2019
  6. Adaptive Query-Driven Fragmentation for Performance Optimization in Distributed DatabasesZakia Ahmed, Anwar Alhenshiri · AlQalam Journal of Medical and Applied Sciences · 2026
  7. A Systematic Mapping Study on Web services Security Threats, Vulnerabilities, and CountermeasuresLaila Bubaker, Aisha Yousef et al. · AlQalam Journal of Medical and Applied Sciences · 2022
  8. Workload-Aware Energy-Efficient Query Scheduling for Cloud Database Systems: Experimental StudySlma Tantoun, Anwar Alhenshiri · AlQalam Journal of Medical and Applied Sciences · 2026

Matched by shared keywords, MeSH terms, authors and title words, across all journals on the site.

Record taken from the official website of AlQalam Journal of Medical and Applied Sciences, which publishes the full text under a CC BY 4.0 licence. Spotted an error in this record? contact@scientigate.com.