TOAIN: A Throughput Optimizing Adaptive Index for Answering Dynamic kNN Queries on Road Networks

We study the classical kNN queries on road networks. Existing solutions mostly focus on reducing query processing time. In many applications, however, system throughput is a more important measure. We devise a mathematical model that describes throughput in terms of a number of system characteristics. We show that query time is only one of the many parameters that impact throughput. Others include update time and query/update arrival rates. We show that the traditional approach of improving query time alone is generally inadequate in optimizing throughput. Moreover, existing solutions lack flexibility in adapting to environments of different characteristics. We propose Toain, which is a very flexible algorithm that can be easily trained to adapt to a given environment for maximizing query throughput. We conduct extensive experiments on both real and synthetic data and show that Toain gives significantly higher throughput compared with existing solutions.

[1]  Kyriakos Mouratidis,et al.  Continuous nearest neighbor monitoring in road networks , 2006, VLDB.

[2]  Shuigeng Zhou,et al.  Shortest path and distance queries on road networks: towards bridging theory and practice , 2013, SIGMOD '13.

[3]  Guoliang Li,et al.  V-Tree: Efficient kNN Search on Moving Objects with Road-Network Constraints , 2017, 2017 IEEE 33rd International Conference on Data Engineering (ICDE).

[4]  Kian-Lee Tan,et al.  G-Tree: An Efficient and Scalable Index for Spatial Search on Road Networks , 2015, IEEE Transactions on Knowledge and Data Engineering.

[5]  Yuichi Yoshida,et al.  Almost linear-time algorithms for adaptive betweenness centrality using hypergraph sketches , 2014, KDD.

[6]  Hanan Samet,et al.  Efficient query processing on spatial networks , 2005, GIS '05.

[7]  Kai Zheng,et al.  Keyword-aware continuous kNN query on road networks , 2016, 2016 IEEE 32nd International Conference on Data Engineering (ICDE).

[8]  Ken C. K. Lee,et al.  Fast object search on road networks , 2009, EDBT '09.

[9]  Edsger W. Dijkstra,et al.  A note on two problems in connexion with graphs , 1959, Numerische Mathematik.

[10]  U. Brandes A faster algorithm for betweenness centrality , 2001 .

[11]  Peter Sanders,et al.  Contraction Hierarchies: Faster and Simpler Hierarchical Routing in Road Networks , 2008, WEA.

[12]  Shuigeng Zhou,et al.  Distributed Spatial Keyword Querying on Road Networks , 2014, EDBT.

[13]  Evgenios M. Kornaropoulos,et al.  Fast approximation of betweenness centrality through sampling , 2014, Data Mining and Knowledge Discovery.

[14]  Vincent Hodgson,et al.  The Single Server Queue. , 1972 .

[15]  Chin-Wan Chung,et al.  An Efficient and Scalable Approach to CNN Queries in a Road Network , 2005, VLDB.

[16]  Yufei Tao,et al.  Query Processing in Spatial Network Databases , 2003, VLDB.

[17]  Yuan Tian,et al.  ROAD: A New Spatial Object Search Framework for Road Networks , 2012, IEEE Transactions on Knowledge and Data Engineering.

[18]  Cyrus Shahabi,et al.  Voronoi-Based K Nearest Neighbor Search for Spatial Network Databases , 2004, VLDB.

[19]  Cyrus Shahabi,et al.  Alternative Solutions for Continuous K Nearest Neighbor Queries in Spatial Network Databases , 2005, STDBM.

[20]  Cyrus Shahabi,et al.  A Road Network Embedding Technique for K-Nearest Neighbor Search in Moving Object Databases , 2002, GIS '02.

[21]  Alexandros Labrinidis,et al.  Preference-Aware Query and Update Scheduling in Web-databases , 2007, 2007 IEEE 23rd International Conference on Data Engineering.

[22]  Yin Yang,et al.  Effective Indexing for Approximate Constrained Shortest Path Queries on Large Road Networks , 2016, Proc. VLDB Endow..

[23]  Xiaokui Xiao,et al.  Fast Matching of Detour Routes and Service Areas , 2016 .

[24]  Farnoush Banaei Kashani,et al.  Efficient Continuous Nearest Neighbor Query in Spatial Networks Using Euclidean Restriction , 2009, SSTD.

[25]  Kam-yiu Lam,et al.  Updates and View Maintenance , 2001, Real-Time Database Systems.

[26]  Hanan Samet,et al.  Scalable network distance browsing in spatial databases , 2008, SIGMOD Conference.

[27]  Tae-Sun Chung,et al.  A safe exit algorithm for continuous nearest neighbor monitoring in road networks , 2013, Mob. Inf. Syst..

[28]  David Taniar,et al.  k-Nearest Neighbors on Road Networks: A Journey in Experimentation and In-Memory Implementation , 2016, Proc. VLDB Endow..