The Data Warehouse OLTP v DSS Data Modeling
- Slides: 39
The Data Warehouse
OLTP v. DSS
Data Modeling & Normalization • One-to-One Relationships • One-to-Many Relationships • Many-to-Many Relationships
Figure 6. 1 A simple entityrelationship diagram
Data Modeling & Normalization • First Normal Form • Second Normal Form • Third Normal Form
Entity Integrity Rule • Primary key properties 1. Uniqueness 1. All the rows in a relational table can be uniquely identified 2. Minimality 1. Key consists of 1+ attributes 2. Minimality property ensures the length of the key is no longer than necessary to insure uniqueness is guaranteed
Normalization Example Order Number Primary Key Item Number Primary Key Order date Customer ID Product Description Quantity Determinant rules identify dependencies 1. Order Number determines Customer ID 2. Order Number & Item Number determine Product ID 3. Order Number & Item Number determine Product Description 4. Order Number & Item Number determine Quantity 5. Order Number determines Order Date
Normalization Example Order Number Primary Key Item Number Primary Key Order date Customer ID Product Description Quantity Order Number Primary Key Order date Customer ID Order Item Order Number Primary Key Item Number Primary Key Product ID Product Description Quantity
Normalization Example Order Number Primary Key Order date Customer ID Order Item Order Number Primary Key Item Number Primary Key Product ID Product Description Quantity Order Number Primary Key Item Number Primary Key Product ID Quantity Product ID Primary Key Product Description
The Relational Model
Data Warehouse Design
Figure 6. 2 A data warehouse process model
Entering Data into the Warehouse • Independent Data Mart • ETL (Extract, Transform, Load Routine) • Metadata
Structuring the Data Warehouse: The Star Schema • Fact Table • Dimension Tables • Slowly Changing Dimensions
Figure 6. 3 A star schema for credit cared purchases
The Multidimensionality of the Star Schema
Figure 6. 4 Dimensions of the fact table shown in Figure 6. 3
Additional Relational Schemas • Snowflake Schema • Constellation Schema
Figure 6. 5 A constellation schema for credit card purchases and promotions
Decision Support: Analyzing the Warehouse Data • Reporting Data • Analyzing Data • Knowledge Discovery
On-line Analytical Processing
OLAP Operations • • • Slice – A single dimension operation Dice – A multidimensional operation Roll-up – A higher level of generalization Drill-down – A greater level of detail Rotation – View data from a new perspective
Figure 6. 6 A multidemensional cube for credit card purchases
Concept Hierarchy A mapping that allows attributes to be viewed from varying levels of detail.
Figure 6. 7 A concept hierarchy for location
Figure 6. 8 Rolling up from months to quarters
Creating a Simple Pivot Table
Figure 6. 9 A pivot table template
Figure 6. 10 A summary report for income range
Pivot Tables for Hypothesis Testing
Figure 6. 12 A pivot table showing age and credit card insurance choice
Figure 6. 13 Grouping the credit card promotionn data by age
Figure 6. 14 Pivot. Table Layout Wizard
Creating a Multidimensional Pivot Table
Figure 6. 15 A credit card promotion cube
Figure 6. 16 A pivot table with page variables for credit card promotions
- Oltp data modeling
- Olap
- Eis dw
- Data warehouse modeling tutorial
- Data warehouse design best practices
- Dss warehouse
- Olap stands for: *
- Olap vs oltp in data mining
- Helen erickson nursing theory
- Relational vs dimensional data modeling
- Introduction to olap
- Titanium erp
- Perbedaan olap dan oltp
- Snowflake oltp or olap
- Oltp vs olap
- Olap x oltp
- Oltp and olap in sql
- Sql server in memory oltp
- Oltp acid
- Hadoop oltp
- What is kdd process in data mining
- Contoh data warehouse dan data mart
- Components in data warehouse
- Contoh data mart
- Informational data store in data warehouse
- Data warehouse dan data mining
- Perbedaan data warehouse dan data mining
- Data warehousing olap and data mining
- What is data acquisition in data warehouse
- Prinsip data warehouse
- 2 tier data warehouse architecture
- Data warehouse dan data mining
- Data warehousing and data mining in crm
- Dss in data mining
- Data management subsystem in dss
- Bi vs dss
- Hình ảnh bộ gõ cơ thể búng tay
- Slidetodoc
- Bổ thể
- Tỉ lệ cơ thể trẻ em