Download presentation
Presentation is loading. Please wait.
1
Databases & Data Warehouses
Chapter 2 Databases & Data Warehouses Copyright © 2008 Elzbieta Malinowski & Esteban Zimányi
2
Fig. 2.1. An excerpt from an ER schema for a university application
Copyright © 2008 Elzbieta Malinowski & Esteban Zimányi
3
Fig. 2.2. A relational schema that corresponds to the schema of Fig. 1.1
Copyright © 2008 Elzbieta Malinowski & Esteban Zimányi
4
Fig. 2.3. Examples of relations that are not normalized
(b) (c) (d) Fig Examples of relations that are not normalized Copyright © 2008 Elzbieta Malinowski & Esteban Zimányi
5
Fig. 2.4. Types for the SQL:2003 schema corresponding to the ER schema of Fig. 2.1
Copyright © 2008 Elzbieta Malinowski & Esteban Zimányi
6
Fig A three-dimensional cube for sales data having dimensions Store, Time, and Product, and a measure amount Copyright © 2008 Elzbieta Malinowski & Esteban Zimányi
7
Fig. 2.6. Members for a hierarchy for the Store dimension
Copyright © 2008 Elzbieta Malinowski & Esteban Zimányi
8
Fig. 2.7. Members of a parent-child hierarchy for the Employee dimension
Copyright © 2008 Elzbieta Malinowski & Esteban Zimányi
9
(b) Roll-up to the Country level (c) Drill-down to the Month level
(a) Original cube (b) Roll-up to the Country level (c) Drill-down to the Month level (f) Dice on Store.Country='France' and Time.Quarter= 'Q1' or 'Q2' (e) Slice on Store.City='Paris' (d) Pivot Fig OLAP operations Copyright © 2008 Elzbieta Malinowski & Esteban Zimányi
10
Fig. 2.9. Example of a star schema
Copyright © 2008 Elzbieta Malinowski & Esteban Zimányi
11
Fig. 2.10. Example of a snowflake schema
Copyright © 2008 Elzbieta Malinowski & Esteban Zimányi
12
Fig. 2.11. Example of a constellation schema
Copyright © 2008 Elzbieta Malinowski & Esteban Zimányi
13
Fig. 2.12 Typical data warehouse architecture
Copyright © 2008 Elzbieta Malinowski & Esteban Zimányi
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.