Answered step by step
Verified Expert Solution
Question
1 Approved Answer
SunDucks coffee has 1 0 0 0 coffee shops in multiple states. They sell coffee, snacks, and related products. On an average, each store has
SunDucks coffee has coffee shops in multiple states. They sell coffee, snacks, and related products. On an average, each store has orders per day, and each order has order line items per order. Their current dimensional model for Sales process is shown below. Dimensional attributes not shownSunducks Coffee has installed an IoT Environment scanning system to collect data on store and surrounding environment and to explore the impact of the environment on sales. The IoT Environment scanning system collects the following data and the data is recorded once per second, hrs a day. The management wants this IoT data to be included in the data warehouse so the impact of the environment variables on sales can be analyzed.
Queue Length Average que length at register, range
Indoor Temperature Indoor temperature, range to F decimal point precision
Outdoor Temperature Outside temperature, range to F decimal point precision
Time Of Day HH:MM:SS
Humidity Relative percentage, to decimal point precision
Cloud Cover Percentage to decimal point precision
Weather condition categories
Pollen to rating
Traffic Conditions Score varying from to
Seating Availability Percentage to decimal point precision
Foot Traffic Score Score to
Indoor Noise level to decimal point precision
Outdoor Noise level to decimal point precision
Describe how this data can be included in the data warehouse for meaningful analysis. Include in your solution the schema for the appropriate dimension andor fact tables that model the above data along with the attributes, data type and range acceptable values of the attribute. Include in your solution, the expected size of the fact andor dimension tables for year of transactions.
Benchmark testing of the database infrastructure for join performance of dimension tables with the fact table shows that response for tables size under are very quick. There is a linear increase in response time from to but still within acceptable limits Join performance degrades substantially beyond rows.
Schema New Fact ANDOR Dimension tables for capturing IoT data.
Attribute descriptions including data type and range.
Estimate of new fact and dimension tables size for days transactions. Show calculations. Include calculations to show number of rows and size per row.
Describe two sample reports Specify Columns, Rows, Filters and Cell values that can be created using the new schema that addresses the following questions.
a How do sales vary across stores with varying cloud cover during the hours of :am :pm and Months of May Sep.
b How do sales vary across products with varying temperatures during the hours of :pm :pm during the months of March Sep.
Raw data is the data that comes from the IoT devices and gets staged in the staging area as is Show the estimates for size of raw IoT data for year.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started