Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

An Automatic Data Warehouse Conceptual Design Approach

Figure 3. T1. 2D-F sheet for the SALE fact


A
Domain
name Client weak
Dimension attributes
Commercial Fact measure

SALE Client (Name, First-name)


( Qty)
Region

City
Date Year Month

Date Date Client


Dimension Hierarchy Hierarchy

Box 1.

Star_Generation
Begin
Given t nD-F sheets analyzing f facts belonging to m analysis domains (m<=t).
Partition the t sheets into the m domains, to obtain Gdom, Gdom,….., Gdomm sets of sheets.
For each Gdomi (i=..m)
Begin
.. Partition the sheets in Gdomi by facts into GFdomi,…… , GFkdomi (k<=f)
.. For each GFjdomi (j=..k)
Begin
... For each sheet s ∈ GFjdomi
For each dimension d ∈ dim(s)
Begin
- Complete the hierarchy of d to obtain a maximal hierarchy.
- Add an identifier Idd as an attribute.
End
... Collect measures Mes Fj =  Fj
meas ( s )
s∈Gdomi

... Create the structure of a fact F for Fj with MesFj.

... Collect dimensions Dim Fj =  fj


dim( s )
s∈Gdomi
.... For each d ∈ DimFj
Begin
Fj
- Determine hierarchies hierd =   hier(d )
Fj
d ∈dim( s )
s∈Gdomi
- Create the structure of a dimension D for d with hierFjd.
- Associate D with F.
End
End
End.



You might also like