* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Download Labs - Week 11
Data Protection Act, 2012 wikipedia , lookup
Entity–attribute–value model wikipedia , lookup
Data center wikipedia , lookup
Clusterpoint wikipedia , lookup
Data analysis wikipedia , lookup
Forecasting wikipedia , lookup
3D optical data storage wikipedia , lookup
Information privacy law wikipedia , lookup
Data vault modeling wikipedia , lookup
Week 11 – Data Warehouse INFOSYS 222 Agenda Agenda • Data Warehouse • Star Schema • Practice on previous exam question Data Warehouse and Star Schema • What is data warehouse? • How is it different from database? • How to implement a data warehouse? • What is a star schema? 2010 INFOSYS 222 SC Exam • The supermarket chain wishes to use this information to answer queries about the purchases and would like the data sourced from this operational database to be fed into a data warehouse • Design a star schema for the data warehouse. The finest grain for time is one week 2015 INFOSYS 222 S2 Exam The company Northwind is interested to build an OLAP system to analyse the sales figures they have obtained over the last 3 years of daily operational data in the database as described by the data model in Figure 3. In particular, they are interested to know how the weekly sales are affected by factors like country of customer, employee, and shipper. Draw a star schema of the data warehouse based on the information given. OrderDetail OrderID (FK) ProductID (FK) UnitPrice Quantity Discount Order Category SupplierID CategoryName Description CompanyName ContactName ContactTitle Address City Region PostalCode Country Phone Fax HomePage Product OrderID ProductID OrderDate RequiredDate ShippedDate Freight ShipName ShipAddress ShipCity ShipRegion ShipPostalCode ShipCountry ShipperID (FK) CustomerID (FK) EmployeeID (FK) ProductName QuantityPerUnit UnitPrice UnitsInStock UnitsOnOrder ReorderLevel Discontinued CategoryID (FK) SupplierID (FK) Customer CustomerID CompanyName ContactNAme ContactTitle Address City Region PostalCode Country Phone Fax Shipper ShipperID CompanyName Phone Supplier CategoryID Region RegionID Employee RegionDescription EmployeeID LastName FirstName Title TitleOfCourtesy BirthDate HireDate Address City Region PostalCode Country HomePhone Extension Note PhotoPath Territory TerritoryID TerritoryDescription RegionID (FK) EmployeeTerritory EmployeeID (FK) TerritoryID (FK)