Data Warehousing: Modern Database Management
Data Warehousing: Modern Database Management
DATA WAREHOUSING
changes
Non-updatable: read-only, periodically refreshed from
Inconsistent key structures: 1st and 2nd table contains number, the last
contains string.
T
E
Separate ETL for each Data access complexity
independent data mart due to multiple data marts
Chapter 9 Copyright © 2016 Pearson Education, Inc. 9-17
LIMITATIONS OF INDEPENDENT DATA MARTS
T
E
Simpler data access
Single ETL for Dependent data marts
enterprise data warehouse (EDW) loaded from EDW
Chapter 9 Copyright © 2016 Pearson Education, Inc. 9-19
Figure 9-4 Logical data mart and real
ODS and data warehouse
time warehouse architecture are one and the same
T
E
Near real-time ETL for Data marts are NOT separate databases,
Data Warehouse but logical views of the data warehouse
Easier to create new data marts
Chapter 9 Copyright © 2016 Pearson Education, Inc. 9-20
Chapter 9 Copyright © 2016 Pearson Education, Inc. 9-21
Figure 9-5 Three-layer data architecture for a data warehouse
Event = a
database action
(create/ update/
delete) that
results from a
transaction
Status
With transient
data, changes
to existing
records are
written over
previous
records, thus
destroying the
previous data
content.
Periodic data
are never
physically
altered or
deleted once
they have been
added to the
store.
Excellent for ad-hoc queries, but bad for online transaction processing
Chapter 9 Copyright © 2016 Pearson Education, Inc. 9-28
Figure 9-10 Star schema example (data recored daily)
Conformed
dimension
Associated with
multiple fact
tables, here, date
& product key
Multivalued Dimensions
Facts qualified by a set of values for the same business subject
Normalization involves creating a table for an associative entity
between dimensions
Hierarchies
Sometimes a dimension forms a natural, fixed depth hierarchy
Design options
Include all information for each level in a single denormalized table
Normalize the dimension into a nested set of 1:M table relationships
data)
Type 2: for each changing attribute, create a current