Efficient k-NN Trajectory Queries on Mobility Databases
Open Access
- 23 November 2025
- journal article
- research article
- Published by MDPI AG in ISPRS International Journal of Geo-Information
- Vol. 14 (12) , 458
Abstract
The rapid adoption of GPS-enabled mobile devices has produced massive trajectory datasets that drive modern applications in traffic prediction, logistics, and spatio-temporal analytics. Yet traditional database management systems (DBMSs) still lack native operators to process such data efficiently. To overcome this limitation, we introduce a set of k-nearest neighbor (k-NN) user-defined aggregates (UDAs) that embed k-NN processing directly within the PostgreSQL engine. By integrating computation into the database core, our approach minimizes data transfer and latency while maintaining low storage overhead. Experiments on benchmarked BerlinMOD-derived datasets demonstrate that the proposed UDAs reduce query execution time by 6–23%, depending on dataset size and query complexity.Keywords
Funding Information
- Korea Agency for Infrastructure Technology Advancement (RS-2022-00143336)
This publication has 37 references indexed in Scilit:
- MARIO: A spatio-temporal data mining framework on Google Cloud to explore mobility dynamics from taxi trajectoriesJournal of Network and Computer Applications, 2020
- A Survey on Trajectory Data WarehouseSpatial Information Research, 2019
- Improving the performance of location based spatial textual query processing using distributed strip indexSpatial Information Research, 2019
- An efficient hybridized index technique for moving object databaseSpatial Information Research, 2018
- Location and trajectory privacy preservation in 5G-Enabled vehicle social network servicesJournal of Network and Computer Applications, 2018
- A method for similarity measurement in spatial trajectoriesSpatial Information Research, 2017
- Efficient k-nearest neighbor search on moving object trajectoriesThe VLDB Journal, 2010
- BerlinMOD: a benchmark for moving object databasesThe VLDB Journal, 2009
- Algorithms for Nearest Neighbor Search on Moving Object TrajectoriesGeoInformatica, 2007
- Optimizing spatial Min/Max aggregationsThe VLDB Journal, 2005