Skip to main content
Log in

An extra spatial hierarchical schema in key-value store

  • Published:
Cluster Computing Aims and scope Submit manuscript

Abstract

The rapid growth of positioning technologies has resulted in an explosion of spatial data, and how to manage and retrieve such data has become a challenge. To solve this problem, many researchers pay attention to build spatial index in key-value store. Nevertheless, this will generate questions regarding the spatial index update and management. Furthermore, the efficiency of spatial query operations would decrease because it will generate much more request on network. Besides some scholars adopt space filling curve to carry out spatial query with primary key index, however it can bring out the questions of “Edge-Case Problem” and “Z-Order Problem” which is caused by space filling curve. To solve these questions, scholars resort to spatial index again. Nevertheless, we deem that the questions can be resolved without building spatial index. So this paper advocates an extra spatial hierarchical schema inspired by geohash, and design spatial query method based on primary keys index. Finally, to test the query accuracy and efficiency of the spatial hierarchical schema, we adopt Z-ordering, Hilbert, Row and Gray into the process of primary key encoding and conduct range query and k-NN queries in HBase. Experiment evaluation shows that the efficiency of the spatial queries good based on this schema even without the help of a spatial index.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9

Similar content being viewed by others

References

  1. Le, H.V., Takasu, A.: An efficient distributed index for geospatial databases, pp. 28–42. Springer International Publishing, Basel (2015)

    Google Scholar 

  2. Li, F., et al.: R-Store: a scalable distributed system for supporting real-time analytics. In: Proceeding of the IEEE International Conference on Data Engineering (2014)

  3. Zhou, X., et al.: ABR-Tree: an efficient distributed multidimensional indexing approach for massive data. In: Proceeding of the ICA3PP International Workshops and Symposiums on Algorithms and Architectures for Parallel Processing (2015)

    Chapter  Google Scholar 

  4. Han, J., et al.: Survey on NoSQL database. In: Proceeding of the International Conference on Pervasive Computing and Applications (2011)

  5. George, L.: HBase schema design—things you need to know. Oreilly Community. http://www.oreilly.com/pub/e/2058 (2011)

  6. Apache HBase: http://hbase.apache.org/book.html (2016)

  7. Zhong, Y., et al.: Towards parallel spatial query processing for big spatial data. In: Proceeding of the Parallel and Distributed Processing Symposium Workshops & Phd Forum (2012)

  8. Chen, X.Y., et al.: Efficient historical query in HBase for spatio-temporal decision support. Int. J. Comput. Commun. Control 11(5), 613–630 (2016)

    Article  Google Scholar 

  9. Han, D., E. Stroulia: HGrid: a data model for large geospatial data sets in HBase. In: Proceeding of the IEEE Sixth International Conference on Cloud Computing (2013)

  10. Zhang, N., et al.: HBaseSpatial: a scalable spatial data storage based on HBase. In: Proceeding of the IEEE International Conference on Trust, Security and Privacy in Computing and Communications (2014)

  11. Aji, A., et al.: Hadoop-GIS: a high performance spatial data warehousing system over MapReduce. Proc. Vldb Endow. 6(11), 1009–1020 (2013)

    Article  Google Scholar 

  12. Zhang, X., et al.: An efficient multi-dimensional index for cloud data management. In: Proceeding of the International CIKM Workshop on Cloud Data Management, Clouddb 2009, Hong Kong, China, November (2009)

  13. Lee, K., et al.: Efficient spatial query processing for big data. In: Proceeding of the ACM Sigspatial International Conference (2014)

  14. Nishimura, S., et al.: MD-HBase: design and implementation of an elastic data infrastructure for cloud-scale location services. Distrib Parallel Databases 31(2SI), 289–319 (2013)

    Article  Google Scholar 

  15. Hong, V.L., Distributed Moving Objects Database Based on Key–Value Stores. 2016

  16. Geohash. https://en.wikipedia.org/wiki/Geohash

  17. Papadopoulos, A., Katsaros, D.: A-Tree: distributed indexing of multidimensional data for cloud computing environments. In: Proceeding of the IEEE Third International Conference on Cloud Computing Technology and Science (2011)

  18. Zhang, Y., et al. A Large-scale Online Search System of High-Dimensional Vectors Based on Key-Value Store. In: Proceeding of the Eighth International Conference on Semantics, Knowledge and Grids (2012)

  19. Chen, X., Zhang, J., Xu, Z., Liu, J.: HIB-tree: an efficient index method for the big data analytics of large-scale human activity trajectories. Future Gener. Comput. Syst. (2018). https://doi.org/10.1016/j.future.2018.01.004

    Article  Google Scholar 

  20. Fox, A., Eichelberger, C., Hughes,  J., Lyon, S.: Spatio-temporal indexing in non-relational distributed databases. In: Proceedings of IEEE International Conference on Big Data, pp. 291–299, Santa Clara Marriott, CA, USA (2013)

  21. Hughes, J.N., et al.: A survey of techniques and open-source tools for processing streams of spatio-temporal events. In: Proceedings of the 7th ACM Sigspatial International Workshop on Geostreaming (IWGS), pp. 39–42 (2016)

  22. Zheng, K., Gu, D., Fang, F., et al.: Data storage optimization strategy in distributed column-oriented database by considering spatial adjacency. Clust. Comput. 12, 1–12 (2017)

    Google Scholar 

  23. Apache Org: http://accumulo.apache.org/1.8/apidocs/

  24. Abel, D.J., Mark, D.M.: A comparative analysis of some two-dimensional orderings. Int. J. Geogr. Inf. Sci. 4(1), 21–31 (1990)

    Article  Google Scholar 

Download references

Acknowledgements

The authors would like to thank the National Science and Technology Major Project (No. 2017ZX05036-001-010), the National Key Research Program Plan of China (No. 2016YFB0502603), the Natural Science Foundation of Hubei Province of China (No. 2015CFB400) and Fundamental Research Founds for National University, China University of Geosciences (Wuhan) (1610491B20).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Kang Zheng.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Zheng, K., Zheng, K., Fang, F. et al. An extra spatial hierarchical schema in key-value store. Cluster Comput 22 (Suppl 3), 6483–6497 (2019). https://doi.org/10.1007/s10586-018-2270-4

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10586-018-2270-4

Keywords

Navigation