Chapter 3.2 Basic Concepts of the MDD-Model

Slides:



Advertisements
Similar presentations
Chapter 4 Tutorial.
Advertisements

CHAPTER OBJECTIVE: NORMALIZATION THE SNOWFLAKE SCHEMA.
Copyright © Starsoft Inc, Data Warehouse Architecture By Slavko Stemberger.
Dimensional Modeling CS 543 – Data Warehousing. CS Data Warehousing (Sp ) - Asim LUMS2 From Requirements to Data Models.
Data Warehouse IMS5024 – presented by Eder Tsang.
Data Warehousing Design Transparencies
Advanced Querying OLAP Part 2. Context OLAP systems for supporting decision making. Components: –Dimensions with hierarchies, –Measures, –Aggregation.
1 © Prentice Hall, 2002 Chapter 5: Logical Database Design and the Relational Model Modern Database Management 6 th Edition Jeffrey A. Hoffer, Mary B.
1 9 Ch1 and 2, Hachim Haddouti Adv. DBS and Data Warehouse CSC5301 Ch1 and 2 Hachim Haddouti.
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 6 Database Design Using Entity- Relationship Models.
13 Chapter 13 The Data Warehouse Hachim Haddouti.
Chapter 13 The Data Warehouse
Data Warehousing DSCI 4103 Dr. Mennecke Introduction and Chapter 1.
Mapping ERM to relational database
Entity Relationship Model Chapter 6. Basic Elements of E-R Model Entity Object of the real world that stores data. Eg. Customer, State, Project, Supplier,
Week 6 Lecture The Data Warehouse Samuel Conn, Asst. Professor
DWH – Dimesional Modeling PDT Genči. 2 Outline Requirement gathering Fact and Dimension table Star schema Inside dimension table Inside fact table STAR.
Sayed Ahmed Logical Design of a Data Warehouse.  Free Training and Educational Services  Training and Education in Bangla: Training and Education in.
IMS 6217: Data Warehousing / Business Intelligence Part 3 1 Dr. Lawrence West, Management Dept., University of Central Florida Analysis.
20.5 Data Cubes Instructor : Dr. T.Y. Lin Chandrika Satyavolu 222.
Partitioning – A Uniform Model for Data Mining Anne Denton, Qin Ding, William Jockheck, Qiang Ding and William Perrizo.
Program Pelatihan Tenaga Infromasi dan Informatika Sistem Informasi Kesehatan Ari Cahyono.
1 Data Warehousing Lecture-13 Dimensional Modeling (DM) Virtual University of Pakistan Ahsan Abdullah Assoc. Prof. & Head Center for Agro-Informatics Research.
DIMENSIONAL MODELLING. Overview Clearly understand how the requirements definition determines data design Introduce dimensional modeling and contrast.
Data Warehouse. Design DataWarehouse Key Design Considerations it is important to consider the intended purpose of the data warehouse or business intelligence.
Prof. Bayer, DWH, Ch.4, SS Chapter 4: Dimensions, Hierarchies, Operations, Modeling.
BI Terminologies.
 2001 Prentice Hall Business Publishing, Accounting Information Systems, 8/E, Bodnar/Hopwood A field may be a single character or number, or it.
1 Given the following data, calculate forecasts for months April through June using a three- month moving average and an exponential smoothing forecast.
Decision Support and Date Warehouse Jingyi Lu. Outline Decision Support System OLAP vs. OLTP What is Date Warehouse? Dimensional Modeling Extract, Transform,
Prof. R. BayerDWH, Ch. 3-1, SS Ch.3 The Multidimensional Data Model Ch. 3.1 Introduction to MDD Model Requirements: must support typical analyses,
Ch3 Data Warehouse Dr. Bernard Chen Ph.D. University of Central Arkansas Fall 2009.
Dimensional Modeling Primer Chapter 1 Kimball & Ross.
In this session, you will learn to: Map an ER diagram to a table Objectives.
Exercises for the Course Datawarehousing, SS 2002, Prof. R. Bayer, TUM Exercise Sheet 2 Exercise 4, Ch.2-5: Schema optimization Consider the data warehouse.
Prof. Bayer, DWH, CH. 4.5, SS Chapt.4.5 Modeling of Features of Dimensions Within a dimension hierarchy, elements at the same level may have different.
Prof. Bayer, DWH, Ch.5, SS Chapter 5. Indexing for DWH D1Facts D2.
UNIT-II Principles of dimensional modeling
Shilpa Seth.  Multidimensional Data Model Concepts Multidimensional Data Model Concepts  Data Cube Data Cube  Data warehouse Schemas Data warehouse.
Digital Logic Structures: Chapter 3 COMP 2610 Dr. James Money COMP
Equivalence Class Testing In chapter 5, we saw that all four variations of boundary value testing are vulnerable to –gaps of untested functionality, and.
CPSC 603 Database Systems Lecturer: Laurie Webster II, M.S.S.E., M.S.E.E., M.S.BME, Ph.D., P.E. Lecture 4 Introduction to a First Course in Database Systems.
Chapter 4 Logical & Physical Database Design
Exam 1 Review Dr. Bernard Chen Ph.D. University of Central Arkansas.
SunSatFriThursWedTuesMon January
The Data Warehouse Chapter Operational Databases = transactional database  designed to process individual transaction quickly and efficiently.
Prof. Bayer, DWH, Ch.7, SS20021 Chapt. 7 Multidimensional Hierarchical Clustering Fig. 3.1 Hierarchies in the `Juice and More´ schema Year (3) Month (12)
Logical Database Design and the Relational Model.
ER- Relational Mapping (Based on Chapter 9 in Fundamentals of Database Systems by Elmasri and Navathe, Ed. 3)
1 Copyright © 2009, Oracle. All rights reserved. Oracle Business Intelligence Enterprise Edition: Overview.
Prof. Bayer, DWH, Ch.6, SS Chapter 6: UB-tree for Multidimensional Indexing Note: all relational databases are multidimensional: a tuple in a relation.
SQL Server Analysis Services Understanding Unified Dimension Model (UDM)
COMP 430 Intro. to Database Systems Denormalization & Dimensional Modeling.
1 Database Systems, 8 th Edition Star Schema Data modeling technique –Maps multidimensional decision support data into relational database Creates.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Lecture 14: Data Warehousing Modern Database Management 9 th Edition Jeffrey A. Hoffer, Mary.
Building the Corporate Data Warehouse Pindaro Demertzoglou Data Resource Management.
Copyright © 2016 Pearson Education, Inc. Modern Database Management 12 th Edition Jeff Hoffer, Ramesh Venkataraman, Heikki Topi CHAPTER 9: DATA WAREHOUSING.
Chapter 13 The Data Warehouse
Star Schema.
Dimensional Model January 14, 2003
Chapter 4: Dimensions, Hierarchies, Operations, Modeling
MIS2502: Data Analytics Dimensional Data Modeling
Dr. Bernard Chen Ph.D. University of Central Arkansas Fall 2009
MIS2502: Data Analytics Dimensional Data Modeling
Chapter 13 The Data Warehouse
DWH – Dimesional Modeling
Analysis Services Analysis Services vs. the Data Warehouse vs. OLTP DB
Chapt. 7 Multidimensional Hierarchical Clustering
Chapter 10.1: UB-tree for Multidimensional Indexing
Chapter 6: UB-tree for Multidimensional Indexing
Presentation transcript:

Chapter 3.2 Basic Concepts of the MDD-Model Def.: A Dimension is a data type (almost always finite), which is used as a component of a composite (multidimensional) key. Def.: Dimension-Members are elements of a dimension. Examples: frequently enumeration types or intervals: Month =( January, February, …, December) Day = [ 1:31] Prof. R. Bayer, DWH, Ch. 3.2, SS2002

Further examples: BMW-engines = {1600, 1800, 2000, 2300, 2800, 3000, 3500, 4000, 5000, 2500D, 3000D} BMW-bodies = {3er, 5er, 7er, 7erL, 3er Kombi, 3er Cabrio, 5er Kombi, 8er, Z3} Note : not all combinations of engines and bodies are built Prof. R. Bayer, DWH, Ch. 3.2, SS2002

Data Cube Def.: cell-address = (d1,…, dm) cell-content = (f1,…,fk) Def: Data-Cube with m dimensions D1, D2, …, Dm and k fact –types F1, F2,…, Fk is W = {( d1, d2,…, dm) ( f1, f2,…fk)}: di  Di for i = 1, …, m  fj  Fj for j =1, …k  (d1, d2,…, dm) is key} Def.: cell-address = (d1,…, dm) cell-content = (f1,…,fk) Prof. R. Bayer, DWH, Ch. 3.2, SS2002

Data Cube Example 35 25 30 Dimension Product Cell Facts Dimension- (Measures) Dimension Product Trekking Bike GB Region Time 35 25 Dimension- 30 Members Mountain Bike June D Prof. R. Bayer, DWH, Ch. 3.2, SS2002

Single cube vs. Multiple cubes Note: model as 1 cube with fact (f1,…,fk) or as k cubes Wi with fact fi for i = 1, …, k and all Wi have the same dimensions Choice depends on practical considerations and performance, e.g. (sales#, sales€) Prof. R. Bayer, DWH, Ch. 3.2, SS2002

Consequences for query formulation and execution: 1 cube : select key, sales#, sales€ from W Multiple cubes: select key, sales#, sales€ from W1, W2 where W1.key = W2.key Prof. R. Bayer, DWH, Ch. 3.2, SS2002

Number of days per month Def.: Dimension-Attributes: additional attributes for a detailed description of the dimension members. Examples: Number of days per month dimension Month = ((January,31), (February, 29), : (April, 30),..., (December,31)) Gasoline type and number of cylinders of an engine dimension BMW-engine = {(1600, Super,4),..., (2500D, Diesel,5),..., (4000, Regular,8)…} Prof. R. Bayer, DWH, Ch. 3.2, SS2002

Density and Sparsity Def.: Dense data-cube: all combinations of (d1, …, dm) occur. Sparse data-cube is not dense Def.: Note: logical model assumes dense cubes physical storage model deals with dense and sparse cubes. Prof. R. Bayer, DWH, Ch. 3.2, SS2002

Example: BMW Sales BMW-engines Months BMW- bodies 26.04.2017 Example: BMW Sales BMW-engines Months BMW- bodies Prof. R. Bayer, DWH, Ch. 3.2, SS2002

Systematic Sparsity of the MDD-Model: 3er 3erKombi 3erCabrio 5er 5erKombi 7er 7erL 850 Z3 … 1600 1800 2000 2300 2800 3000 3500 4000 5000 2500D 3000D Prof. R. Bayer, DWH, Ch. 3.2, SS2002

Relational Modeling Dimension  finite fixed relation Dimension-Element key Dimension-Attribute other non-key attributes Cube(Würfel) relation, on E/R level a relationship between dimensions Cube-key key composed of foreign keys of dimensions Measures non-key attributes of cube Dimensionality number of foreign keys Prof. R. Bayer, DWH, Ch. 3.2, SS2002

Relational Model BMW-engines Facts Month cyl fuel B-E B-E B-B M € # € # Name days Bodies B-B … Prof. R. Bayer, DWH, Ch. 3.2, SS2002

E/R-Model: Star-Schema BMW-Engines BMW-bodies Facts Months  i.e. simple star schema Prof. R. Bayer, DWH, Ch. 3.2, SS2002

E/R-Model: Snowflake-Schema The Snowflake-Schema arises from the Star-Schema by more details plus normalization: Basic body brakes Drive-train Facts BMW-bodies engine trans-mission Months extras This can be continued arbitrarily far Prof. R. Bayer, DWH, Ch. 3.2, SS2002