Author: Graeme C. Simsion and Graham C. Witt Chapter 11 Logical Database Design.

Slides:



Advertisements
Similar presentations
The Organisation As A System An information management framework The Performance Organiser Data Warehousing.
Advertisements

Chapter 1: The Database Environment
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 3.1 Chapter 3.
Author: Graeme C. Simsion and Graham C. Witt Chapter 7 Extensions and Alternatives.
Author: Graeme C. Simsion and Graham C. Witt Chapter 8 Organizing the Data Modeling Task.
1 Copyright © 2013 Elsevier Inc. All rights reserved. Chapter 7 System Design Techniques.
Author: Graeme C. Simsion and Graham C. Witt Chapter 12 Physical Database Design.
Author: Graeme C. Simsion and Graham C. Witt Chapter 6 Primary Keys and Identity.
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 5 Author: Julia Richards and R. Scott Hawley.
Copyright: ©2005 by Elsevier Inc. All rights reserved. 1 Author: Graeme C. Simsion and Graham C. Witt Chapter 3 The Entity-Relationship Approach.
Author: Graeme C. Simsion and Graham C. Witt Chapter 4 Subtypes & Supertypes.
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 4 Author: Julia Richards and R. Scott Hawley.
1 Copyright © 2010, Elsevier Inc. All rights Reserved Fig 2.1 Chapter 2.
1 Chapter 40 - Physiology and Pathophysiology of Diuretic Action Copyright © 2013 Elsevier Inc. All rights reserved.
Data Warehousing and Data Mining J. G. Zheng May 20 th 2008 MIS Chapter 3.
Relational Database and Data Modeling
3 Copyright © 2005, Oracle. All rights reserved. Designing J2EE Applications.
0 - 0.
Addition Facts
Chapter 18 Methodology – Monitoring and Tuning the Operational System Transparencies © Pearson Education Limited 1995, 2005.
Dimensional Modeling.
CHAPTER OBJECTIVE: NORMALIZATION THE SNOWFLAKE SCHEMA.
An overview of Data Warehousing and OLAP Technology Presented By Manish Desai.
1 Use or disclosure of data contained on this sheet is subject to the restriction on the title page of this proposal or quotation. An Introduction to Data.
IS 4420 Database Fundamentals Chapter 11: Data Warehousing Leon Chen
Past Tense Probe. Past Tense Probe Past Tense Probe – Practice 1.
Addition 1’s to 20.
Test B, 100 Subtraction Facts
DAVID M. KROENKE’S DATABASE PROCESSING, 10th Edition © 2006 Pearson Prentice Hall 15-1 David M. Kroenke Database Processing Chapter 15 Business Intelligence.
Chapter 15 A Table with a View: Database Queries.
Chapter 13 The Data Warehouse
Dimensional Modeling Business Intelligence Solutions.
Managing Data Resources
Data Warehouse IMS5024 – presented by Eder Tsang.
13 Chapter 13 The Data Warehouse Hachim Haddouti.
Chapter 13 The Data Warehouse
Week 6 Lecture The Data Warehouse Samuel Conn, Asst. Professor
Business Intelligence
©Silberschatz, Korth and Sudarshan18.1Database System Concepts - 5 th Edition, Aug 26, 2005 Buzzword List OLTP – OnLine Transaction Processing (normalized,
Data Warehouse & Data Mining
Chapter 1 Adamson & Venerable Spring Dimensional Modeling Dimensional Model Basics Fact & Dimension Tables Star Schema Granularity Facts and Measures.
Copyright: ©2005 by Elsevier Inc. All rights reserved. 1 Chapter - 2 Basics of Sound Structure Author: Graeme C. Simsion and Graham C. Witt.
1 Data Warehouses BUAD/American University Data Warehouses.
Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill Education.
The Data Warehouse “A data warehouse is a subject-oriented, integrated, time-variant, and nonvolatile collection of “all” an organisation’s data in support.
5 - 1 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.
Decision Support and Date Warehouse Jingyi Lu. Outline Decision Support System OLAP vs. OLTP What is Date Warehouse? Dimensional Modeling Extract, Transform,
6.1 © 2010 by Prentice Hall 6 Chapter Foundations of Business Intelligence: Databases and Information Management.
MANAGING DATA RESOURCES ~ pertemuan 7 ~ Oleh: Ir. Abdul Hayat, MTI.
Ch3 Data Warehouse Dr. Bernard Chen Ph.D. University of Central Arkansas Fall 2009.
Chapter 5 DATA WAREHOUSING Study Sections 5.2, 5.3, 5.5, Pages: & Snowflake schema.
June 08, 2011 How to design a DATA WAREHOUSE Linh Nguyen (Elly)
Copyright© 2014, Sira Yongchareon Department of Computing, Faculty of Creative Industries and Business Lecturer : Dr. Sira Yongchareon ISCG 6425 Data Warehousing.
1 Copyright © 2009, Oracle. All rights reserved. Oracle Business Intelligence Enterprise Edition: Overview.
The Need for Data Analysis 2 Managers track daily transactions to evaluate how the business is performing Strategies should be developed to meet organizational.
Copyright © 2016 Pearson Education, Inc. Modern Database Management 12 th Edition Jeff Hoffer, Ramesh Venkataraman, Heikki Topi CHAPTER 9: DATA WAREHOUSING.
1 Data Warehousing Data Warehousing. 2 Objectives Definition of terms Definition of terms Reasons for information gap between information needs and availability.
Data Warehouse/Data Mart It’s all about the data.
Managing Data Resources File Organization and databases for business information systems.
Data warehouse and OLAP
Chapter 13 The Data Warehouse
Data Warehouse—Subject‐Oriented
Data Warehouse.
Chapter 13 – Data Warehousing
MANAGING DATA RESOURCES
An Introduction to Data Warehousing
Dr. Bernard Chen Ph.D. University of Central Arkansas Fall 2009
Dimensional Modeling.
Introduction of Week 9 Return assignment 5-2
Analytics, BI & Data Integration
Presentation transcript:

Author: Graeme C. Simsion and Graham C. Witt Chapter 11 Logical Database Design

Copyright: ©2005 by Elsevier Inc. All rights reserved. 2 Are data warehouses / marts just operational databases?

Copyright: ©2005 by Elsevier Inc. All rights reserved. 3 Differences Compared with Operational Databases Different requirements Database technology may not be relational –Special multi-dimensional databases now exist to service this area Many techniques of database design can still apply

Copyright: ©2005 by Elsevier Inc. All rights reserved. 4 Characteristics Data integration –With data from many operational databases Loads data rather than performs updates Less predictable database hits Complex queries but a simple interface May emphasize historical data May summarize other data

Copyright: ©2005 by Elsevier Inc. All rights reserved. 5 Quality Criteria Revisited Completeness Non-redundancy Enforcement of (business) rules Data reusability Stability and flexibility Simplicity and elegance Communication and effectiveness Performance

Copyright: ©2005 by Elsevier Inc. All rights reserved. 6 Modelling / designing? Data warehouses feed data marts –Need a separate approach –Marts are more focused –Warehouses are more general and must handle all marts envisaged Consider each in turn (revisit 16.1 over page)

Copyright: ©2005 by Elsevier Inc. All rights reserved. 7

8 Modeling for Data Warehouses 1.May need an initial corporate model of the business 2.Need to understand existing (operational) data (bases) 3.Determine requirements of the warehouse 4.Determine sources and handling differences 5.Shaping data for data marts Last two steps are more complex

Copyright: ©2005 by Elsevier Inc. All rights reserved. 9 Sources and Differences when Designing Minimize number of source systems Carefully judge source data item quality Reconcile multiple sources –Eg. Differences in timeframe and currency of item Handle compatibility of coding schemes for data items Unpack overloaded attributes –Eg. Address containing postcode where postcode becomes an important part of a warehouse

Copyright: ©2005 by Elsevier Inc. All rights reserved. 10 Shaping Data for Data Marts Need to maximize flexibility Cater for common purposes between marts and basic commonality (sorted out when handing requirements for the warehouse) If difficult to cater for both flexibility and common purpose opt for flexibility The rule: Maximize Flexibility, Minimize Anticipation

Copyright: ©2005 by Elsevier Inc. All rights reserved. 11 Modeling for Data Marts Modeling for general business people –Little technical knowledge –Need for special queries Much simpler than operational databases –Facts vs. transaction handling and complex business rules Users of data marts need to move easily between marts

Copyright: ©2005 by Elsevier Inc. All rights reserved. 12 Basic Data Mart Architecture: Star Schema Fact table (only one) Dimension tables –To classify fact table into categories

Copyright: ©2005 by Elsevier Inc. All rights reserved. 13 Alternative Architectures: Snowflake One fact table Dimensions are hierarchical –Collapse 1:many relationships through de- normalization

Copyright: ©2005 by Elsevier Inc. All rights reserved. 14 Snowflakes and Many-to- many Relationships Cannot be handled without action: 1.Ignore less common cases –But include data in fact (eg. Include #salespeople in fact table) 2.Use a repeating group in dimension table 3.Treat sale-by-salesperson as the fact table Whatever you do, involve the business users in decision making about architecture

Copyright: ©2005 by Elsevier Inc. All rights reserved. 15 Time-dependent Data History and time are common in data marts and you must be able to –Handle different granularities of time –Cater for overlapping periods –Consider hierarchies of time periods Slowly changing dimensions are common (eg. People may move customer categories over time) –Speed of dimension data change –Speed of moving fact data from one dimension to another

Copyright: ©2005 by Elsevier Inc. All rights reserved. 16 Dimension Change Example Customers can change group Solutions –Two group foreign keys (now, and at time of purchase / transaction) –Ignore if change is slow and cost of ignoring it is low –Hold a history of each customers membership of groups

Copyright: ©2005 by Elsevier Inc. All rights reserved. 17 Concluding Word Data warehousing and data marts are complex Specific design challenges and limitations exist Patterns are also useful here –There are resources available Do further reading about the area if youre interested

Copyright: ©2005 by Elsevier Inc. All rights reserved. 18 Next lecture Ontology: Whats all the fuss? –How ontology can and cannot help you? –What role does underlying theory (such as ontology) play in practical data modelling? –If we have ontology what happens with creativity?