Skip to main content

Memory-Efficient Storing of Timestamps for Spatio-Temporal Data Management in Columnar In-Memory Databases

  • Conference paper
  • First Online:
Database Systems for Advanced Applications (DASFAA 2021)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 12681))

Included in the following conference series:

  • 2659 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Abadi, D.J., et al.: Integrating compression and execution in column-oriented database systems. In: Proceedings of SIGMOD, pp. 671–682 (2006)

    Google Scholar 

  2. Boissier, M., Jendruk, M.: Workload-driven and robust selection of compression schemes for column stores. In: Proceedings of EDBT, pp. 674–677 (2019)

    Google Scholar 

  3. Boncz, P.A., et al.: Database architecture optimized for the new bottleneck: memory access. In: VLDB, pp. 54–65 (1999)

    Google Scholar 

  4. 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)

    Google Scholar 

  5. Dyreson, C.E., Snodgrass, R.T.: Timestamp semantics and representation. Inf. Syst. 18, 143–166 (1993)

    Article  Google Scholar 

  6. Kazmaier, G.S., et al.: Managing and querying spatial point data in column stores, Patent app. 13/962,725

    Google Scholar 

  7. 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)

    Google Scholar 

  8. Pandey, V., et al.: High-performance geospatial analytics in hyperspace. In: Proceedings of SIGMOD, pp. 2145–2148 (2016)

    Google Scholar 

  9. Patel, J.M., et al.: Quickstep: a data platform based on the scaling-up approach. Proc. VLDB 11, 663–676 (2018)

    Article  Google Scholar 

  10. Pavlo, A., et al.: Self-driving database management systems. In: CIDR (2017)

    Google Scholar 

  11. Pelkonen, T., et al.: Gorilla: a fast, scalable, in-memory time series database. Proc. VLDB Endow. 8, 1816–1827 (2015)

    Article  Google Scholar 

  12. 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)

    Article  Google Scholar 

  13. Richly, K.: A survey on trajectory data management for hybrid transactional and analytical workloads. In: IEEE Big Data, pp. 562–569 (2018)

    Google Scholar 

  14. 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)

    Google Scholar 

  15. 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)

    Google Scholar 

  16. Richly, K., et al.: Joint index, sorting, and compression optimization for memory-efficient spatio-temporal data management. In: Proceedings of ICDE (2021)

    Google Scholar 

  17. Shang, Z., et al.: DITA: Distributed in-memory trajectory analytics. In: Proceedings of SIGMOD, pp. 725–740 (2018)

    Google Scholar 

  18. Taxi, N., (TLC), L.C.: Trip record data (2020). https://www1.nyc.gov/site/tlc/about/tlc-trip-record-data.page

  19. Valentin, G., et al.: DB2 advisor: an optimizer smart enough to recommend its own indexes. In: Proceedings of ICDE, pp. 101–110 (2000)

    Google Scholar 

  20. Wang, H., et al.: SharkDB: an in-memory column-oriented trajectory storage. In: Proceedings of CIKM, pp. 1409–1418 (2014)

    Google Scholar 

  21. 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

    Chapter  Google Scholar 

  22. 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)

    Article  Google Scholar 

  23. 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

    Article  Google Scholar 

  24. 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

    Chapter  Google Scholar 

  25. Zheng, Y.: Trajectory data mining: an overview. ACM TIST 6, 1–41 (2015)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Keven Richly .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics