Presentation is loading. Please wait.

Presentation is loading. Please wait.

Fundamentals of Data Cube & OLAP Operations

Similar presentations


Presentation on theme: "Fundamentals of Data Cube & OLAP Operations"— Presentation transcript:

1 Fundamentals of Data Cube & OLAP Operations

2 Data as Table Sales of Chennai TV DVD Audio Q1 2000 1000 500 Q2 1500

3 Sales of Trichy TV DVD Audio Q1 1000 100 500 Q2 200 Q3 800 300 Q4 1500 400

4 Multidimensional (3D) Table
Items TV DVD Audio City Chennai Trichy Q1 2000 1000 100 500 Q2 1500 200 Q3 800 300 Q4 400

5 Sample Data cube

6 Cuboids

7 Summarization - Cuboids
data at different degrees of summarization we can construct a lattice of cuboids, each showing the data at a different level of summarization, or group by (i.e., summarized by a different subset of the dimensions). The lattice of cuboids is then referred to as a data cube. lattice of cuboids forming a data cube for the dimensions time, item, location, and supplier.

8 Base & Apex The cuboid which holds the lowest level of Summarization is called the base cuboid. 3-D (non-base) cuboid for time, item, and location, summarized for all suppliers. The 0-D cuboid which holds the highest level of summarization is called the apex cuboid. The apex cuboid is typically denoted by all.

9 OLAP Operations Slice Dice Drill Pivot / Rotate Drill / Roll-up
Drill-down Drill-across Drill - through Pivot / Rotate

10 Slice Slice ? C[time, items, cities] City = chennai

11 Dice Dice ? C[time, items, cities] time = Q1, Q2 & items = TV, DVD

12 Drill - up Drill-up ? C[time, items, cities] T1 = Q1&Q2 T2 = Q3&Q4

13 Drill-down Drill-down ? C[time, items, cities] Quarter = Month

14 Drill - across C[time, items, cities] ? City -> Month

15 Drill - through Drill - through ? C[time, items, cities] RDBMS

16 Pivot Pivot ? C[time, items, cities] Cities <-> time


Download ppt "Fundamentals of Data Cube & OLAP Operations"

Similar presentations


Ads by Google