Flexible data cube for range sum queries in dynamic olap data cubes
Download
1 / 20

Flexible Data Cube for Range-Sum Queries in Dynamic OLAP Data Cubes - PowerPoint PPT Presentation


  • 107 Views
  • Uploaded on

Flexible Data Cube for Range-Sum Queries in Dynamic OLAP Data Cubes. Authors: C.-I Lee and Y.-C. Li Speaker: Y.-C. Li Date :Dec. 19, 2002. Outline. Introduction Related works Analysis of the average query and update costs Flexible data cube Performance analysis Conclusions.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Flexible Data Cube for Range-Sum Queries in Dynamic OLAP Data Cubes' - ismet


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Flexible data cube for range sum queries in dynamic olap data cubes

Flexible Data Cube for Range-Sum Queries in Dynamic OLAP Data Cubes

Authors: C.-I Lee and Y.-C. Li

Speaker: Y.-C. Li

Date :Dec. 19, 2002


Outline
Outline

  • Introduction

  • Related works

  • Analysis of the average query and update costs

  • Flexible data cube

  • Performance analysis

  • Conclusions


Introduction
Introduction

  • Data cubes are frequently adopted to implement OLAP and provides aggregate information

  • Data cube: also known as Multi-dimensional Database(MDDB)

  • Measure attributes: be chosen as metrics of interest

  • Functional attributes(dimensions): other attributes of records.

  • Cells: store measure attribute values

  • Range-Sum Query: add all cells in query region


Car sales example
Car-sales example

  • Measure attribute → Sale_Volume

  • Dimensions → Year and Age of customers


+

255

4

+

1430

20


  • Several previous approaches are used to accelerate the response time

  • But they slow down the update speed and require further space overhead

  • This study considers both query and update costs to construct data cubes

    • No extra space overhead

    • Choice the best cube in any query or update ratio

  • We also present a FDC method

    • No extra space overhead (for dense data cube)

    • Select or integrate some pre-aggregation techniques for each dimension


Related works

Hierarchical Cube (HC) response time

[Chan & Ioannidis, 1999]

Double RPS[Liang et al., 2000]

Iterative Data Cube

(IDC)[Riedewal et al., 2001]

Relative Prefix Sum

(RPS) [Geffer et al., 1999a]

Space-Efficient Data Cube

(SEDC)[Riedewal et al., 2000]

Dynamic Data Cube

(DDC)[Geffer et al., 1999b]

1997 1998 1999 2000 2001

Related works

  • The history of pre-aggregate range-sum queries

Prefix Sum(PS)

[Ho et al., 1997]


Prefix sum ps ho et al 1997
Prefix Sum(PS) response time( Ho et al., 1997 )

  • 3+5+1+2+7+3+2+6+2+4+2+3=40

  • A: 2+3+3+3+1+5+3+5+1+3+3+4=36

  • P: 103-50-35+18=36


Prefix sum ps
Prefix Sum(PS) response time


Other methods
Other methods response time

  • RPS ( Geffer et al., 1999a)

    • Two levels(Local PS and overlay boxes) but extra space overhead

  • HC ( Chan & Ioannidis, 1999 )

    • Hierarchical method

  • DDC ( Geffer et al., 1999b )

    • Hierarchical method but need extra space overhead

  • SEDC ( Riedewald et al., 2000 )

    • No exrtra space overhead of RPS and DDC (SRPS and SDDC)

  • Double RPS ( Liang et al., 2000 )

    • Three levels but need extra space overhead

  • IDC ( Riedewald et al., 2001 )

    • No extra space overhead (different method in different dimension)



Analysis of the average query and update costs
Analysis of the average query and update costs extra space overhead for dense data cubes.

  • Assume query ratio + update ratio =100%

  • Average query cost:

  • Average update cost: Cu(n) / n


Flexible data cube fdc
Flexible Data Cube(FDC) extra space overhead for dense data cubes.

  • Exponential time is required to find the optimal pre-aggregated data cube

  • Proposed the FDC method that is a heuristic method to select or integrate any two pre-aggregation techniques for each dimension.


The fdc method

A, LPS or PS extra space overhead for dense data cubes.

A, LPS or PS

k’=6

A, LPS or PS

A, LPS or PS

A, LPS or PS

k’=4

k’=7

A, LPS or PS

A, LPS or PS

k’=5

A, LPS or PS

k’=0

A, LPS or PS

PS

A

k’=4

A, LPS or PS

k’=3

A, LPS or PS

A, LPS

or PS

k’=1

A, LPS or PS

A, LPS

or PS

k’=2

A, LPS or PS

The FDC Method

  • In certain situation

    • Size

    • Query ratio

  • FDCopt = min average cost{FDC candidates}

  • FDCopt =min{q×CaqFDC + u×CauFDC}

  • Time complexity O(9n)=O(n)


Performance analysis
Performance analysis extra space overhead for dense data cubes.

  • Average cost at different query ratios d = 2, n = 16, 64




Conclusions
Conclusions extra space overhead for dense data cubes.

  • Take both the query and update costs into consideration to select the suitable data cube.

  • Propose the FDC method

    • select or integrate pre-aggregating techniques for each dimension.

    • Outperform other methods for any query (or update) ratio situation

    • linear time: determine the best FDC structure.

  • In the future, develop new techniques to support sparse data sets


Thank you

Thank You extra space overhead for dense data cubes.


ad