Beruflich Dokumente
Kultur Dokumente
Oiscount
LlneNo
I
llemTotal
SnapshotDate
WarehouselD
I
OfderLeadTime
SlockOut
SlockLevel
21
24
4
Moving from Logical to Physical Design
Logical design is what you draw with and
design with software Designer tool before bui lding
your data warehouse.
Physical design is the development of SQL statements
to create the database.
During the physical design process, you convert the
data gathered during the logical design phase into
description of the physical database structure. Physical
design decisions mainly driven query
performance and database maintenance aspects.
Dimensions
- Static dimension tabIe
DDRelativelyeasy?
DAssignment of keys: produdion keys to DW using tabIe
DDCombination of data find key?
DCheck and relationships using
- Handling dimension changes
DDDescribed in last ledure
DDFind newest DW key given key
production keys to DW keys must updated
- Load of dimensions
OSma11 dimensions: replace
Q dimensions: load changes
25
Moving from Logical to Physical Design
this time, you have to
Entities to tabIes
Relationships to foreign key
constraints
Attributes to columns
Primary unique identifiers to
key constraints
Unique identifiers to unique
key constraints
Building Fact TabIes
types of load
-Initial load
all data now
when DW is started the first time
DOOften probIematic to get historical data
heavy -Iarge data volumes
update
OOMoy only changes since la5t load
periodicall y (,./month/weekjday/hour/ ,,) after DW start
DOless heavy data volumes
- Dimensions must updated before facts
DOThe dimension new facts must in place
DDSpecial key considerations if initial load must performed agajn
26
Construction Process
1 )Make high-Ievel diagram of sourc-destination flow
2)Test, choose and implement tool
3)Outline complex transformations, key generat ion and job sequence
every destination tabIe
Construction of dimensions
4)Construct and test static dimension
5)Construct and test change dimension
11 )Construd and test remaining dimension builds
Construction of fact tabIes and automation
7)Construd and test initial fad tabIe build
8)Construct and test incremental update
9)Construct and test aggregate build
10)Design, construd, and test automation
5