













Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!














November 26, 2014 Data Mining: Concepts and 1
November 26, 2014 Data Mining: Concepts and 2
November 26, 2014 Data Mining: Concepts and 4
November 26, 2014 Data Mining: Concepts and 5
time_key day day_of_the_week month quarter year time location_key street city state_or_province country location Sales Fact Table time_key item_key branch_key location_key units_sold dollars_sold avg_sales Measures item_key item_name brand type supplier_type item branch_key branch_name branch_type branch
November 26, 2014 Data Mining: Concepts and Techniques 7
time_key day day_of_the_week month quarter year time location_key street city province_or_state country location Sales Fact Table time_key item_key branch_key location_key units_sold dollars_sold avg_sales Measures item_key item_name brand type supplier_type item branch_key branch_name branch_type branch Shipping Fact Table time_key item_key shipper_key from_location to_location dollars_cost units_shipped shipper_key shipper_name location_key shipper_type shipper
November 26, 2014 Data Mining: Concepts and 8
November 26, 2014 Data Mining: Concepts and 10
define cube sales_snowflake [time, item, branch, location]: dollars_sold = sum(sales_in_dollars), avg_sales = avg(sales_in_dollars), units_sold = count(*) define dimension time as (time_key, day, day_of_week, month, quarter, year) define dimension item as (item_key, item_name, brand, type, supplier(supplier_key, supplier_type)) define dimension branch as (branch_key, branch_name, branch_type) define dimension location as (location_key, street, city(city_key, province_or_state, country))
November 26, 2014 Data Mining: Concepts and 11
define cube sales [time, item, branch, location]: dollars_sold = sum(sales_in_dollars), avg_sales = avg(sales_in_dollars), units_sold = count() define dimension time as (time_key, day, day_of_week, month, quarter, year) define dimension item as (item_key, item_name, brand, type, supplier_type) define dimension branch as (branch_key, branch_name, branch_type) define dimension location as (location_key, street, city, province_or_state, country) define cube shipping [time, item, shipper, from_location, to_location]: dollar_cost = sum(cost_in_dollars), unit_shipped = count() define dimension time as time in cube sales define dimension item as item in cube sales define dimension shipper as (shipper_key, shipper_name, location as location in cube sales, shipper_type) define dimension from_location as location in cube sales define dimension to_location as location in cube sales
November 26, 2014 Data Mining: Concepts and 13
all Europe North_America Germany Spain Canada Mexico Vancouver L. Chan M. Wind ... ... ... ... ... ... all region office country city Frankfurt Toronto
November 26, 2014 Data Mining: Concepts and 14
November 26, 2014 Data Mining: Concepts and 16
Total annual sales of TV in U.S.A. Date Product Country sum sum TV VCR
1Qtr 2Qtr^ 3Qtr (^) 4Qtr U.S.A Canada Mexico sum
November 26, 2014 Data Mining: Concepts and 17
all product (^) date country product,date product,country date, country product, date, country 0-D(apex) cuboid 1-D cuboids 2-D cuboids 3-D(base) cuboid
November 26, 2014 Data Mining: Concepts and 19
November 26, 2014 Data Mining: Concepts and 20 Fig. 3.10 Typical OLAP Operations