Data Warehouse and OLAP Data Warehouse and OLAP
Week 5
1
Data Warehouse and OLAP Data Warehouse and OLAP Week 5 1 Midterm - - PowerPoint PPT Presentation
Data Warehouse and OLAP Data Warehouse and OLAP Week 5 1 Midterm I Midterm I Friday, March 4 Scope Homework assignments 1 4 Open book Team Homework Assignment #7 Team Homework Assignment #7 Read pp. 121 139, 146
1
data mining Figure 1.7 Typical framework of a data warehouse for AllElectronics
8
T a ble 3.1 Co mpariso n be twe e n OL
T P and OL AP
13
F ig
fro m
ure 1.6. F
ra m a re latio agme nts o
base fo r AllE le c tro nic s
19
dimensions
T a ble 3.2 A 2-D vie w o f sale s data fo r AllE
le c tro nic s ac c o rding to the di i ti d it h th l f b h l t d i
Facts (numerical measures)
dime nsio ns time and ite m, whe re the sale s are fro m branc he s lo c ate d in the c ity o f Vanc o uve r. T he me asure displaye d is do llar_so ld (in tho usands).
20
T a ble 3.3 A 3-D vie w o f sale s data fo r AllE
le c tro nic s ac c o rding to the dime nsio ns time , ite m, and lo c atio n. T he me asure displaye d is do llar_so ld (in tho usands).
21
F ig ure 3.1 A 3-D data c ube re pre se ntatio n o f the data in T
able 3.3, ac c o rding to the dime nsio ns time , ite m, and lo c atio n. T he me asure displaye d is do llar_so ld (in tho usands).
22
F ig ure 3.2 A 4-D data c ube re pre se ntatio n, ac c o rding to the dime nsio ns
time , ite m, lo c atio n, and supplie r. T he me asure displaye d is do llar so ld (in time , ite m, lo c atio n, and supplie r. T he me asure displaye d is do llar_so ld (in tho usands).
23
24
F ig ure 3.14 L
attic e o f c ubo ids, making up a 3-D data c ube . E ac h
25
g
g p c ubo id re pre se nts a diffe re nt gro up-by. T he base c ubo id c o ntains the thre e dime nsio ns c ity, ite m, and ye ar.
26
time key time item _ y day day_of_the_week month quarter item_key item_name brand type Sales Fact Table time key q year type supplier_type branch_key item_key time_key dollars_sold location_key branch_key branch_name location_key street cit branch location unit_sold branch_type city province_or_street country
F ig ure 3.4 Star sc he ma o f a data ware ho use fo r sale s.
28
supplier key supplier time_key time item Sales Fact Table time_key supplier_key supplier_type day day_of_the_week month quarter item_key item_name brand type location key branch_key item_key year type supplier_key units_sold dollars_sold location_key branch_key branch_name b h t branch location_key location city branch_type street city city_key city province_or_street country
F ig ure 3.4 Sno wflake sc he ma o f a data ware ho use fo r sale s.
country
29
ti k item_key Shipping Fact Table time_key time item Sales Fact Table from_location shipper_key time_key day day_of_the_week month quarter item_key item_name brand item Sales Fact Table k time_key unit shipped dollars_sold to_location location key year type supplier_type branch_key item_key _ pp unit_sold dollars_sold location_key branch_key branch_name branch type location_key street branch location hi shipper_key shipper_name location key shipper branch_type city province_or_street country shipper
F ig ure 3.5 F
ac t c o nste llatio n sc he ma o f a data ware ho use fo r sale s and shipping.
location_key shipper_type
30
31