Skip to main content

An Efficient Approach for Partial-Sum Queries in Data Cubes Using Hamming-Based Codes

  • Conference paper
Database Systems for Advanced Applications (DASFAA 2004)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2973))

Included in the following conference series:

Abstract

A previous method supported partial-sum queries using a Covering Code (CCode) method with a seed table and an index look-up table. However, this approach suffers a major drawback in the excessive memory space requirement associated with the index look-up table. Accordingly, this work proposes an efficient method, called the Hamming-Based Code (HBC). The HBC method uses Hamming-based codes to establish a seed table and locate the nearest seed to a user’s partial-sum query. The total partial-sum can be determined by calculating the seed value and original cell value via plus or minus operations. For dynamic environments, the seed table only needs to change half of the seeds, and complete reconstruction is unnecessary. In the present analysis, the HBC method requires less storage than the CCode method.

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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Agrawal, R., Gupta, A., Sarawagi, S.: Modeling multidimensional databases. In: Proc. 13th Intl. Conf. on Data Engineering (ICDE), pp. 232–243 (1997)

    Google Scholar 

  2. Chan, C.Y., Ioannidis, Y.E.: Hierarchical cubes for range-sum queries. In: Proc. 25th Intl. Conf. on Very Large Databases (VLDB), pp. 675–686 (1999)

    Google Scholar 

  3. Codd, E.F., Codd, S.B., Salley, C.T.: Providing OLAP (On-Line Analytical Processing) to user-analysts: An IT mandate. Technical Report (1993)

    Google Scholar 

  4. Cohen, G.D., Karpovsky, M.R., Mattson Jr, H.F., Schatz, J.R.: Covering radius: Survey and recent results. IEEE Trans. Information Theory 31(3), 328–343 (1985)

    Article  MATH  MathSciNet  Google Scholar 

  5. Cohen, G.D., Lobstein, A.C., Sloane, N.J.A.: Further results on the covering radius of codes. IEEE Trans. Information Theory 32(5), 680–694 (1986)

    Article  MATH  MathSciNet  Google Scholar 

  6. Geffer, S., Agrawal, D., El Abbadi, A.: The dynamic data cube. In: Zaniolo, C., Grust, T., Scholl, M.H., Lockemann, P.C. (eds.) EDBT 2000. LNCS, vol. 1777, pp. 237–253. Springer, Heidelberg (2000)

    Chapter  Google Scholar 

  7. Geffer, S., Agrawal, D., El Abbadi, A., Smith, T.: Relative prefix sums: An efficient approach for querying dynamic OLAP data cubes. In: Proc. 15th Intl. Conf. on Data Engineering (ICDE), pp. 328–335 (1999)

    Google Scholar 

  8. Graham, R.L., Sloane, N.J.A.: On the covering radius of codes. IEEE Trans. Information Theory 31(3), 385–401 (1985)

    Article  MATH  MathSciNet  Google Scholar 

  9. Gray, J., Chaudhuri, S., Bosworth, A., Layman, A., Reichart, D., Venkatrao, M., Pellow, F., Pirahesh, H.: Data cube: A relational aggregation operator generalizing group-by, cross-tab, and sub-totals. Data Mining and Knowledge Discovery 1(1), 29–53 (1997)

    Article  Google Scholar 

  10. Hamming, R.W.: Error detecting and error correcting codes. The Bell System Technical Journal 26(2), 147–160 (1950)

    MathSciNet  Google Scholar 

  11. Ho, C.T., Agrawal, R., Megiddo, N., Srikant, R.: Range queries in OLAP data cubes. In: Proc. Intl. Conf. on Management of Data (SIGMOD), pp. 77–88 (1997)

    Google Scholar 

  12. Ho, C.T., Bruck, J., Agrawal, R.: Partial-sum queries in OLAP data cubes using covering codes. IEEE Trans. Computers 47(12), 1326–1340 (1998)

    Article  MathSciNet  Google Scholar 

  13. Johnson, T., Shasha, D.: Some approaches to index design for cube forest. IEEE Data Engineering Bulletin 20(1), 27–35 (1997)

    Google Scholar 

  14. Kotidis, Y., Roussopoulos, N.: An Alternalitive Storage Organization for ROLAP: Aggregate Views Based on Cubetrees. In: Proc. Intl. Conf. on Management of Data (SIGMOD), pp. 249–258 (1998)

    Google Scholar 

  15. Lee, C.I., Li, Y.C.: Flexible data cube for range-sum queries in dynamic OLAP data cubes. In: Proc. 2002 Intl. Computer Symposium, ICS (2002)

    Google Scholar 

  16. Liang, W., Wang, H., Orlowska, M.E.: Range queries in dynamic OLAP data cubes. Data & Knowledge Engineering 34(1), 21–38 (2000)

    Article  MATH  Google Scholar 

  17. Moerkotte, G.: Small Materialized aggregates: A light weight index structure for data warehouseing. In: Proc. 24th Intl. Conf. on Very Large Databases (VLDB), pp. 476–487 (1998)

    Google Scholar 

  18. The OLAP Council. MD-API the OLAP application program interface version 2.0 specification (1998)

    Google Scholar 

  19. O’Neil, P., Quass, D.: Improved query performance with variant indexes. In: Proc. Intl. Conf. on Management of Data (SIGMOD), pp. 38–49 (1997)

    Google Scholar 

  20. Riedewald, M., Agrawal, D., El Abbadi, A.: Flexible data cubes for online aggregation. In: Proc. 8th Intl. Conf. on Database Theory (ICDT), pp. 159–173 (2001)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Lee, CI., Li, YC., Tseng, SM. (2004). An Efficient Approach for Partial-Sum Queries in Data Cubes Using Hamming-Based Codes. In: Lee, Y., Li, J., Whang, KY., Lee, D. (eds) Database Systems for Advanced Applications. DASFAA 2004. Lecture Notes in Computer Science, vol 2973. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-24571-1_42

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-24571-1_42

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-21047-4

  • Online ISBN: 978-3-540-24571-1

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics