Your contribution can guide someone’s learning journey. Share your
documents today.
Running head:DATA WAREHOUSE DESIGN Data Warehouse Design: A Case Study of CarHireOZ Name of the Student Name of the University
Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.
DATA WAREHOUSE DESIGN2 Table of Contents 1. Data Warehouse Bus Matrix:.......................................................................................................3 2. Star Schema for the Data Marts:..................................................................................................4 2.1 Rental and Sales:....................................................................................................................4 2.2 Advertisement_Commercials:................................................................................................5 3. Fact Table, Granularity and Justification against Granularity:....................................................6 4. Justification and Attribute Hierarchy of the Dimension Tables:.................................................8 5. Data Warehouse Design Features:.............................................................................................12 6. Identification of Fields:..............................................................................................................14 Bibliography:.................................................................................................................................16
DATA WAREHOUSE DESIGN3 1. Data Warehouse Bus Matrix: Business processes Dimensions INTERNET_BOOKING DRIVER_DETAILS CONTRACTS_DETAILS RETURN_PROCESS PROMOTIONAL_ITEMS PRODUCTS_FOR_SALE STORE_DETAILS MEDIA_ORGANIZATION_DETA Rentaland Sales XXXXXXXXXXXX Advertisement _Commercials XXXXXXXX The two business cases here are the Rental and Sales and Adevrtisement_Commercials. The associated facts and dimensions required for the two business processes are given in the above table. The crossed marks are presenting the facts and dimensions associated with the business processes.
DATA WAREHOUSE DESIGN4 2. Star Schema for the Data Marts: 2.1 Rental and Sales:
Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.
DATA WAREHOUSE DESIGN5 2.2 Advertisement_Commercials: The two diagrams given in the above section are representing the two business cases’ star schema. All the associated dimensions and facts of the databases are shown in the diagrams in table format. The rows of the tables are representing the attributes that will be designed in the database. 3. Fact Table, Granularity and Justification against Granularity: Fact table nameFact granularityBrief justification
DATA WAREHOUSE DESIGN6 RENTAL_SALESRentsInTotalThemonetaryvaluethat will be come from the rents of the cars will be stored in this fact. Rents_while_PromotingThe amount of the money that will be get from the rentsatthetimeof promotional activities, will be stored in this fact. Sold_ProductsDetailsregardingthe already sold products will be stored in this fact. Total_Earned_RevenueRevenueearnedbythe company from all business activities will be stored in this fact. Start_Date_For_RentWhen a customer will rent a car, then the starting date of the rent will be stored in this fact. End_Date_For_RentThereturndatesofthe rented car will be stored in this fact. ADVERTISEMENT_COMAdvertisement_CostThecostassociatedwith the advertisements will be
DATA WAREHOUSE DESIGN7 MERCIALstored in this fact. Profit_From_AddsThe profit amount got from the advertisements will be stored in this fact. Rents_while_PromotingThis fact is for keeping the numbers of cars given in rent at the time period of the promotional activities. Profit_From_Media_OrganizationTheprofitsgotfromthe advertisementcompanies will be stored in this fact. Advertisements_time_DurationThis fact is for recording the time duration required for the advertisements.
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
DATA WAREHOUSE DESIGN8 4. Justification and Attribute Hierarchy of the Dimension Tables: Dimension table nameBrief justificationAttribute hierarchies VEICHLES _TYPESIn this table, the description and price of the cars will be stored with reference to a unique typeID. typeID (PK) description price VEICHLES_DETAILSInthistable,thedetailsboutthecar modelswiththeotherimportant specifications will be stored. registrationID (PK) colour Year_Of_Manufacturin g model mileage availability photo CUSTOMER_DETAILSAllthe necessary details regarding the customers of the company will be stored in this table. Each customer has an unique ID. Customer_ID (PK) Last_Name First_Name birthDate address city state zip phone MEMBERS_DETAILSHavinganuniqueclassID,thedetails about the members classes will be stored ClassID (PK) Classdescription
DATA WAREHOUSE DESIGN9 in the table.Recency Frequency Life_Time_Value INTERNET_BOOKINGThe customers are able to book the cars for rent over internet. This details will be stored in this table. BookingNO (PK) Pre_booking DRIVER_DETAILSThenecessarydetailsregardingthe drivers will be stored in this table. This is very important for the safety of the cars and customers at the time of rent. DriverID (PK) Last_Name First_Name birthDate address city state zip phone licenceNO creditcard Contracts_DetailsThedetailsregardingtheinsurance, condition of the cars and the mileage, will be stored in this table. CONTRACTID (PK) insurance paymentmethod condition limitmileage RETURN_PROCESSWhen a customer will return a car after renting, the details will be stored in this table. RETURN_PROCESSID (PK) damage
DATA WAREHOUSE DESIGN10 usage overduedays totalcost DATE_DETAILSAll the time scales regarding the rent, purchase,saleandpromotionswillbe stored in this table. Date_ID (PK) Date Day DayOfWeek Month Year Quarter PROMOTIONThetypesoftheadvertisementsand money required for those will be stored in this table. PromotionID (PK) Type Cost ITEMSAll the products of the company with the details like type, name and costs will be stored in this table. ITEMSID (PK) Type Name Cost Products_For_SaleThe products that are ready for sale will be stored in this table. ItemID (PK)(FK) Customer_DetailsID (PK)(FK) ITEMSName Customer_DetailsName STORE_DETAILSDifferentstoresareavailableforthe organization. The details of all the stores with a unique id will be stored in this STORE_DETAILSID (PK) Name
Secure Best Marks with AI Grader
Need help grading? Try our AI Grader for instant feedback on your assignments.
DATA WAREHOUSE DESIGN11 table.Address ContactNo FaxNo MEDIA_ORGANIZATION _DETAILS Thedetailsabouttheadvertisement companies will be stored in the table. CompanyID (PK) Type Charge 5. Data Warehouse Design Features: Design featureBrief descriptionBrief justification Bridge TableWhen many to many relation is notsufficienttorepresentthe schema, then the bridge table is used. This is applied in this case. Products_For_Sale dimension table acts astheconnectorbetweenItemsand Sales dimensions. The primary key of each of the two tables are the foreign key in Products_For_Sale table. Conformed dimension Usingthisrelationshipsame queries and outcomes will be seen through different perspectives. CUSTOMER_DETAILS, STORE_DETAILSAND RETURN_PROCESScanproduce similar result from different types of queries. Junk DimensionThis dimension will help to get the results in just positive or negative aspects. The Products_For_Sale is considered as junkdimensionasthedatabasewill holdtheinformationregardingthe product even after sold out. Mini DimensionVery small changes will be stored in this dimension. Internet_bookingis an example of this case.Whateverthestatusofthe
DATA WAREHOUSE DESIGN12 booking, the database will be updated.
DATA WAREHOUSE DESIGN13 6. Identification of Fields: Question1:Whetherthepromotionwasprofitable?Thatis,whetherthe Veichles_Detailss under promotion experienced an increase in rental during the promotional period? Advertisement_Commercials:PromotionID,Total_Cost_of_Promotion, Total_Profit_from_Promotion, registrationID, DATE_ID DATE_DETAILS: Day, Month VEICHLES_DETAILS: model Question 2: Which media type is most effective? That is, the profitable promotion used which media type? Advertisement_Commercials:PromotionID,Total_Cost_of_Promotion, Total_Profit_from_Promotion, registrationID, DATE_ID, CompanyID DATE_DETAILS: Day, Month MEDIA_ORGANIZATION_DETAILS: CompanyID Question 3: Any stores have rented out more Veichles_Detailss during the promotion on Christmas holiday? RENTAL_SALES:Total_Rent_Amount, Total_Rent_of_Vehilce_During_Promotion DATE_DETAILS: DATE, Month INTERNET_BOOKING: BOOKINGSNO Question 4: What Veichles_Detailss were on promotion but did not rent?
Paraphrase This Document
Need a fresh take? Get an instant paraphrase of this document with our AI Paraphraser
DATA WAREHOUSE DESIGN14 RENTAL_SALES:Total_Rent_of_Vehilce_During_Promotion, Start_Date_For_Rent DATE_DETAILS: DATE, Month INTERNET_BOOKING: BOOKINGSNO Question 5: Who are top 5 customers make a year out of all stores. RENTAL_SALES: Customer_DetailsID, STORE_DETAILSID, RegistrationID, CONTRACTSID DATE: Year CUSTOMER_DETAILS: Last_Name, First_Name Question 6: Which categories of Veichles_Detailss have made the highest profit in past year? RENTAL_SALES: registrationID, returnprotocolID, Total_Rent_Amount DATE_DETAILS: Year VEICHLES_DETAILS: model INTERNET_BOOKING: BOOKINGSNO Question 7: What is the main age group of those customers renting online? RENTAL_SALES: Customer_ID, BOOKINGNO INTERNET_BOOKING: BOOKINGSNO Question 8: What is the preferred payment method of customers? RENTAL_SALES: Customer_Details_Key, CONTRACTID CONTRACTS_DETAILS: paymentmethod