0% found this document useful (0 votes)
18 views

Submitted To: Submitted By: Mr. Anil Yadav Ankit Bansal

This document discusses multi-dimensional data models and data warehousing. It describes how a data warehouse uses a multi-dimensional data model to view data in the form of a data cube, with dimensions such as time, item, and location. It provides an example of a 2D view of sales data for a company across different items over time. It also discusses concepts such as data cubes, cuboids, star schemas, snowflake schemas, and fact constellations for conceptual modeling in data warehousing.

Uploaded by

Ankit Bansal
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Submitted To: Submitted By: Mr. Anil Yadav Ankit Bansal

This document discusses multi-dimensional data models and data warehousing. It describes how a data warehouse uses a multi-dimensional data model to view data in the form of a data cube, with dimensions such as time, item, and location. It provides an example of a 2D view of sales data for a company across different items over time. It also discusses concepts such as data cubes, cuboids, star schemas, snowflake schemas, and fact constellations for conceptual modeling in data warehousing.

Uploaded by

Ankit Bansal
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 17

A Multi-Dimensional Data Model

Submitted to: Mr. Anil Yadav


(Astt. Proff in IT Deptt.)

Submitted by: Ankit Bansal


06 I.T 7th Sem

A multi-dimensional data model

A data warehouse is based on a multidimensional data model which views data in the form of a data cube

Data cube

A data cube, such as sales, allows data to be modeled and viewed in multiple dimensions Suppose ALLELETRONICS create a sales data

warehouse with respect to dimensions


Time Item Location

A 2-D view of sales data for ALLELETRONICS


Location = vancouver

Item (type) time Q1 Q2 Q3 Q4 entertainment 605 680 812 927 computer 825 952 1023 1038 phone 14 31 30 38 security 400 512 501 580

3D Data cube Example

4D Data cube Example

4D Data cube Example

4-D Cube as a series of 3-D cubes.

Cuboids Corresponding to the Cube


all 0-D(apex) cuboid
product

date
product,country

country

1-D cuboids
date, country

product,date

2-D cuboids 3-D(base) cuboid


product, date, country

Practice Question

What is a 5D cube looks like?

Representation of 5-dim Data

Prof. R. Bayer

DWH, Ch. 3-1, SS 2001

Conceptual Modeling of Data Warehouses

Star schema Snowflake schema Fact constellations

Conceptual Modeling of Data Warehouses

Star schema: A fact table in the middle connected to a set of dimension tables
It contains:

A large central table (fact table) A set of smaller attendant tables (dimension table), one for each dimension

Star schema

Conceptual Modeling of Data Warehouses

Snowflake schema: A refinement of star schema where some dimensional hierarchy is further splitting (normalized) into a set of smaller dimension tables, forming a shape similar to snowflake

However, the snowflake structure can reduce the effectiveness of browsing, since more joins will be needed

Snowflake schema

Conceptual Modeling of Data Warehouses

Fact constellations: Multiple fact tables share dimension tables, viewed as a collection of stars, therefore called galaxy schema or fact constellation

Fact constellations

Queries

November 8th, 2002

Alberto Abell

17

You might also like