Submitted To: Submitted By: Mr. Anil Yadav Ankit Bansal
Submitted To: Submitted By: Mr. Anil Yadav Ankit Bansal
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
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
date
product,country
country
1-D cuboids
date, country
product,date
Practice Question
Prof. R. Bayer
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
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
Fact constellations: Multiple fact tables share dimension tables, viewed as a collection of stars, therefore called galaxy schema or fact constellation
Fact constellations
Queries
Alberto Abell
17