Abstract
Vast amounts of spatio-temporal data are continuously accumulated through the wide distribution of location-acquisition technologies. Concerning the increased performance requirements of spatio-temporal data mining applications, in-memory database systems are used to store and process the data. As DRAM capacities are limited and expensive, the efficient utilization of the available resources is necessary. In contrast to storing the positions of moving objects, there is less focus on optimized storage concepts for the temporal component. However, it has a significant impact on the memory footprint and the overall system performance. Especially for columnar databases, the memory-efficient storing of timestamps is challenging as numerous compression approaches are optimized for contradicting data characteristics (e.g., low number of distinct values, sequences of equal values). In this paper, we present and compare different data layouts for columnar in-memory databases to store timestamps. Additionally, we propose an optimized approach for range queries with standard access ranges that uses multiple columns. We evaluate the memory consumption and performance of different compression techniques for specific access patterns. Based on the results, we introduce a workload-aware heuristic approach for the selection of performance and cost balancing data layouts. Further, we demonstrate that workload-driven optimizations for timestamps can significantly reduce the data footprint and increase the performance of spatio-temporal data management.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Abadi, D.J., et al.: Integrating compression and execution in column-oriented database systems. In: Proceedings of SIGMOD, pp. 671–682 (2006)
Boissier, M., Jendruk, M.: Workload-driven and robust selection of compression schemes for column stores. In: Proceedings of EDBT, pp. 674–677 (2019)
Boncz, P.A., et al.: Database architecture optimized for the new bottleneck: memory access. In: VLDB, pp. 54–65 (1999)
Dreseler, M., et al.: Hyrise re-engineered: an extensible database system for research in relational in-memory data management. In: Proceedings of EDBT, pp. 313–324 (2019)
Dyreson, C.E., Snodgrass, R.T.: Timestamp semantics and representation. Inf. Syst. 18, 143–166 (1993)
Kazmaier, G.S., et al.: Managing and querying spatial point data in column stores, Patent app. 13/962,725
Lang, H., et al.: Data blocks: hybrid OLTP and OLAP on compressed storage using both vectorization and compilation. In: Proceedings of SIGMOD, pp. 311–326 (2016)
Pandey, V., et al.: High-performance geospatial analytics in hyperspace. In: Proceedings of SIGMOD, pp. 2145–2148 (2016)
Patel, J.M., et al.: Quickstep: a data platform based on the scaling-up approach. Proc. VLDB 11, 663–676 (2018)
Pavlo, A., et al.: Self-driving database management systems. In: CIDR (2017)
Pelkonen, T., et al.: Gorilla: a fast, scalable, in-memory time series database. Proc. VLDB Endow. 8, 1816–1827 (2015)
Plattner, H.: The impact of columnar in-memory databases on enterprise systems: implications of eliminating transaction-maintained aggregates. Proc. VLDB Endow. 7, 1722–1729 (2014)
Richly, K.: A survey on trajectory data management for hybrid transactional and analytical workloads. In: IEEE Big Data, pp. 562–569 (2018)
Richly, K.: Optimized spatio-temporal data structures for hybrid transactional and analytical workloads on columnar in-memory databases. In: Proc. VLDB, Ph.D. Workshop (2019)
Richly, K., et al.: Predicting location probabilities of drivers to improve dispatch decisions of transportation network companies based on trajectory data. In: ICORES, pp. 47–58 (2020)
Richly, K., et al.: Joint index, sorting, and compression optimization for memory-efficient spatio-temporal data management. In: Proceedings of ICDE (2021)
Shang, Z., et al.: DITA: Distributed in-memory trajectory analytics. In: Proceedings of SIGMOD, pp. 725–740 (2018)
Taxi, N., (TLC), L.C.: Trip record data (2020). https://www1.nyc.gov/site/tlc/about/tlc-trip-record-data.page
Valentin, G., et al.: DB2 advisor: an optimizer smart enough to recommend its own indexes. In: Proceedings of ICDE, pp. 101–110 (2000)
Wang, H., et al.: SharkDB: an in-memory column-oriented trajectory storage. In: Proceedings of CIKM, pp. 1409–1418 (2014)
Wang, H., et al.: Storing and processing massive trajectory data on SAP HANA. In: Sharaf, M.A., Cheema, M.A., Qi, J. (eds.) ADC 2015. LNCS, vol. 9093, pp. 66–77. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-19548-3_6
Willhalm, T., et al.: SIMD-scan: ultra fast in-memory table scan using on-chip vector processing units. Proc. VLDB Endow. 2, 385–394 (2009)
Xie, X., Mei, B., Chen, J., Du, X., Jensen, C.S.: Elite: an elastic infrastructure for big spatiotemporal trajectories. VLDB J. 25(4), 473–493 (2016). https://doi.org/10.1007/s00778-016-0425-6
Zhang, Z., Jin, C., Mao, J., Yang, X., Zhou, A.: TrajSpark: a scalable and efficient in-memory management system for big trajectory data. In: Chen, L., Jensen, C.S., Shahabi, C., Yang, X., Lian, X. (eds.) APWeb-WAIM 2017. LNCS, vol. 10366, pp. 11–26. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-63579-8_2
Zheng, Y.: Trajectory data mining: an overview. ACM TIST 6, 1–41 (2015)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Switzerland AG
About this paper
Cite this paper
Richly, K. (2021). Memory-Efficient Storing of Timestamps for Spatio-Temporal Data Management in Columnar In-Memory Databases. In: Jensen, C.S., et al. Database Systems for Advanced Applications. DASFAA 2021. Lecture Notes in Computer Science(), vol 12681. Springer, Cham. https://doi.org/10.1007/978-3-030-73194-6_36
Download citation
DOI: https://doi.org/10.1007/978-3-030-73194-6_36
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-73193-9
Online ISBN: 978-3-030-73194-6
eBook Packages: Computer ScienceComputer Science (R0)