Skip to main content

Accurate Aggregation Query-Result Estimation and Its Efficient Processing on Distributed Key-Value Store

  • Conference paper
  • First Online:
Big Data Analytics and Knowledge Discovery (DaWaK 2019)

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

Included in the following conference series:

  • 1510 Accesses

Abstract

We propose four methods for improving the accuracy of aggregation query-result estimation using histograms and/or kernel density estimation and the efficiency of query processing on a distributed key-value store (D-KVS). Recently, aggregation queries have played a key role in analyzing a large amount of multidimensional data generated from sensors, Internet-of-Things devices, etc. A D-KVS is a platform to manage and process such large-scale multidimensional data. However, querying large-scale multidimensional data on a D-KVS sometimes requires a costly data scan owing to its insufficient support for indexes. Since aggregation-query results do not always need to be accurate, our four methods are not only for estimating accurate query results rather than obtaining accurate results by scanning all data, but also improving query-processing performance. We first propose two kernel density estimation-based methods. To further improve query-result estimation accuracy, we combined each of these two methods with a histogram-based scheme so that we can dynamically select an optimal estimation method based on the relationship between a query and the data distribution. We evaluated the efficiency and accuracy of the proposed methods by comparing them with a current method and showed that the proposed methods perform better.

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 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.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. Brinkhoff, T.: A framework for generating network-based moving objects. GeoInform. 6(2), 153–180 (2002)

    Article  Google Scholar 

  2. Chakrabarti, K., Garofalakis, M.N., Rastogi, R., Shim, K.: Approximate query processing using wavelets. Proc. VLDB 2000, 111–122 (2000)

    MATH  Google Scholar 

  3. Eldawy, A., Mokbel, M.F.: Spatialhadoop: a mapreduce framework for spatial data. Proc. of IEEE ICDE 2015, 1352–1363 (2015)

    Google Scholar 

  4. Garcia-Molina, H., Ullman, J.D., Widom, J.: Database Systems: The Complete Book. Prentice Hall, New Jersey (2002)

    Google Scholar 

  5. Han, X., Wang, B., Li, J., Gao, H.: Efficiently processing deterministic approximate aggregation query on massive data. Knowl. Inf. Syst. 57(2), 437–473 (2018)

    Article  Google Scholar 

  6. Heule, S., Nunkesser, M., Hall, A.: Hyperloglog in practice: algorithmic engineering of a state of the art cardinality estimation algorithm. In: Proceedings of EDBT 2013. pp. 683–692. ACM (2013)

    Google Scholar 

  7. Ioannidis, Y.: The history of histograms (abridged). Proc. VLDB 2003, 19–30 (2003)

    Google Scholar 

  8. Jagadish, H.V., Koudas, N., Muthukrishnan, S., Poosala, V., Sevcik, K.C., Suel, T.: Optimal histograms with quality guarantees. In: Proceedings of VLDB 1998, pp. 275–286 (1998)

    Google Scholar 

  9. Kooi, R.P.: The Optimization of Queries in Relational Databases. Ph.D. thesis (1980)

    Google Scholar 

  10. Lakshman, A., Malik, P.: Cassandra: a decentralized structured storage system. ACM SIGOPS Operating Syst. Rev. 44(2), 35–40 (2010)

    Article  Google Scholar 

  11. Muralikrishna, M., DeWitt, D.J.: Equi-depth multidimensional histograms. In: Proceedings of ACM SIGMOD 1988. pp. 28–36 (1988)

    Article  Google Scholar 

  12. Nishimura, S., Agrawal, S.D.D., Abbadi, A.E.: MD-HBase: design and implementation of an elastic data infrastructure for cloud-scale location services. Distrib. Parallel Databases 31(2), 289–319 (2013)

    Article  Google Scholar 

  13. Papadias, D., Kalnis, P., Zhang, J., Tao, Y.: Efficient OLAP operations in spatial data warehouses. In: Jensen, C.S., Schneider, M., Seeger, B., Tsotras, V.J. (eds.) SSTD 2001. LNCS, vol. 2121, pp. 443–459. Springer, Heidelberg (2001). https://doi.org/10.1007/3-540-47724-1_23

    Chapter  MATH  Google Scholar 

  14. Piatetsky-Shapiro, G., Connell, C.: Accurate estimation of the number of tuples satisfying a condition. In: Proceedings of ACM SIGMOD 1984, pp. 256–276 (1984)

    Article  Google Scholar 

  15. Poosala, V., Haas, P.J., Ioannidis, Y.E., Shekita, E.J.: Improved histograms for selectivity estimation of range predicates. In: Proceedings of ACM SIGMOD 1996, pp. 294–305 (1996)

    Article  Google Scholar 

  16. Poosala, V., Ioannidis, Y.E.: Selectivity estimation without the attribute value independence assumption. In: Proceedings of VLDB 1997, pp. 486–495 (1997)

    Google Scholar 

  17. Silverman, B.W.: Density Estimation for Statistics and Data Analysis. No. 26 in Monographs on Statistics and Applied Probability. CRC Press (1986)

    Google Scholar 

  18. Wang, J., Wu, S., Gao, H., Li, J., Ooi, B.C.: Indexing multi-dimensional data in a cloud system. Proc. ACM SIGMOD 2010, 591–602 (2010)

    Google Scholar 

  19. Watari, Y., Keyaki, A., Miyazaki, J., Nakamura, M.: Efficient Aggregation Query Processing for Large-Scale Multidimensional Data by Combining RDB and KVS. In: Hartmann, S., Ma, H., Hameurlain, A., Pernul, G., Wagner, R.R. (eds.) DEXA 2018. LNCS, vol. 11029, pp. 134–149. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-98809-2_9

    Chapter  Google Scholar 

  20. Zhang, X., Ai, J., Wang, Z., Lu, J., Meng, X.: An efficient multi-dimensional index for cloud data management. In: Proceedings of CloudDB 2009, pp. 17–24. ACM (2009)

    Google Scholar 

Download references

Acknowledgments

This work was partly supported by JSPS KAKENHI Grant Numbers 18H03242, 18H03342, and 19H01138.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jun Miyazaki .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Yuki, K., Keyaki, A., Miyazaki, J., Nakamura, M. (2019). Accurate Aggregation Query-Result Estimation and Its Efficient Processing on Distributed Key-Value Store. In: Ordonez, C., Song, IY., Anderst-Kotsis, G., Tjoa, A., Khalil, I. (eds) Big Data Analytics and Knowledge Discovery. DaWaK 2019. Lecture Notes in Computer Science(), vol 11708. Springer, Cham. https://doi.org/10.1007/978-3-030-27520-4_22

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-27520-4_22

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-27519-8

  • Online ISBN: 978-3-030-27520-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics