Data warehousing

Preview:

DESCRIPTION

An assignment in Data Ware Housing on the book dimensional data warehousing with MySQL

Citation preview

Data Warehousing Assignment

Ch.01 Basic Components:Listing 1.3: Creating data warehouse tables

Ch.01 Basic Components: Listing 1.4: Generating customer surrogate key values

Ch.01 Basic Components: Listing 1.5: Inserting more customers

Ch.02: Dimension History: Listing 2.1: Applying SCD1 to the customer names in customer_dim

Ch.02: Dimension History: Listing 2.2: Creating and loading the customer_stg table

Ch.02: Dimension History: Listing 2.3: Applying SCD2 to product_name and product_category in the product_dim table

Ch.02: Dimension History: Listing 2.4: Creating the product_stg table

Ch.02: Dimension History: Listing 2.5: Loading products to its staging table

Chapter 3: Measure Additivity: Listing 3.1: Inserting data to demonstrate fully-additive measures

Chapter 3: Measure Additivity: Listing 3.2: Querying across all dimensions

Chapter 3: Measure Additivity Listing 3.3: Querying across the date, product, and order

Chapter 3: Measure Additivity Listing 3.5: Querying across the date and order

Chapter 4: Dimensional Queries Listing 4.1: Script for that adds data for testing dimensional queries

Chapter 4: Dimensional Queries Listing 4.2: Daily Aggregation

Chapter 4: Dimensional Queries Listing 4.3: Annual aggregation

Chapter 4: Dimensional Queries Listing 4.5: Specific query (quarterly sales in Mechanicsburg)

Chapter 4: Dimensional Queries Listing 4.6: Inside-out - Monthly Product Performer

Chapter 4: Dimensional Queries Listing 4.7: Inside-out (loyal customer)

Chapter 5: Source Extraction: Listing 5.1: Push CDC sales orders

Chapter 5: Source Extraction Listing 5.3: Data for testing Push mode

Chapter 5: Source Extraction Listing 5.3: Data for testing Push mode

Chapter 6: Populating the Date DimensionListing 6.1: Stored procedure to pre-populate the date dimension

Chapter 6: Populating the Date Dimension Listing 6.2: Daily date population

Chapter 6: Populating the Date Dimension Listing 6.3: Loading dates from the source

Chapter 6: Populating the Date Dimension Listing 6.4: Adding more dates from additional sales orders

Chapter 7: Initial Population Listing 7.1: DW initial population

Chapter 7: Initial Population Listing 7.3: Sales orders for testing initial population

Chapter 7: Initial Population Listing 7.4: Query to confirm the sales orders are loaded correctly

Chapter 7: Initial Population Listing 7.4: Query to confirm the sales orders are loaded correctly

Chapter 8: Regular Population Listing 8.1: Daily dw regular population

Chapter 8: Regular Population Listing 8.2: Adding sales orders

Chapter 8: Regular Population Chapter 8: Regular Population Listing 8.2: Adding sales orders

Chapter 8: Regular Population Chapter 8: Regular Population Listing 8.2: Adding sales orders

Chapter 10: Adding Columns Listing 10.1: Adding new columns to the customer dimension

Chapter 11: On-Demand Population Listing 11.2: Populating the promotion indicator

Chapter 11: On-Demand Population Listing 11.2: Populating the promotion indicator

Recommended