Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Fitness Unlimited is a leading provider of exercise centers with a variety of fitness programs and membership options. Fitness Unlimited maintains a retail database to
Fitness Unlimited is a leading provider of exercise centers with a variety of fitness programs and membership options. Fitness Unlimited maintains a retail database to track sales of services and merchandise. In the retail database
sample tables and ERD in Figure
CS
a sale contains a heading
Sale
with sales date and a collection of merchandise recorded in the M
N relationship Contains. Service purchases are recorded in the ServPurchase entity type with
M relationships from ServiceCategory and Member. Typical services are lessons, premium equipment usage, and social events. The MemTypeOf relationship is optional for members because guest members can use a fitness center and purchase merchandise and services on a short
term basis without having a paid membership.
Franchises also sell special events to corporate customers and other organizations. Since special event promotions and sales are not standard among franchises, spreadsheets are typically used to track special events. The franchise sales database was never extended to accommodate special event sales. The Special Events Worksheet shows a typical format for tracking special event sales by a franchise. Most franchises use a similar spreadsheet.
Data Source Size Estimates To estimate grain size, you should use these estimates about cardinalities of tables and unique values of some columns.
Franchise rows:
Franchise postal codes:
MemberType rows:
Merchandise rows:
MerchType values:
ServCategory rows:
Member rows:
Member zip codes:
Sale rows:
per year
Contains rows:
per year
ServicePurchase rows:
rows per year
SpecialEvents Worksheet rows:
per year per franchise with
franchises using this spreadsheet
unique customers per special event worksheet
Business Intelligence Requirements
The data warehouse should support analysis of merchandise sales and service purchases by franchise, merchandise or service type, and customer over time. For merchandise, sales amount is computed as quantity times selling price. For services purchases, each unit sale is recorded separately so only the service price at the time of purchase is recorded. For customers, merchandise sales should be tracked by zip code, membership date, and member type. For franchise, merchandise sales should be tracked by franchise region, postal code, and model type. The corporate sales office wants a high level of flexibility for sales analysis. For data mining analysis, the sales office needs details by individual customer, product or service, franchise, and date. For typical reporting applications, the sales office needs details by customer location, franchise location, product or service type, and week.
Schema Integration Requirements
You should design a star schema
or variation
to support revenue analysis. You should pay close attention to the grain of the fact table, a major part of the star schema diagram. As part of the design, you should identify all relevant dimensions with hierarchies specified. In your documentation, you should indicate design transformations, summarizability problems in your star schema, and mapping from data sources into tables. You should populate your data warehouse tables based on the data in the operational tables and spreadsheet. You do not need to insert the data into your tables. You can just show table listings in your solution document. Your sample rows should include all revenue events in the range from February
to February
You should identify dimensions, map dimensions to data sources, and specify dimension hierarchies. For each dimension, you should identify its data sources and attributes in each data source. For hierarchical dimensions, you should indicate the levels from broad to narrow.
You should specify measures, related data sources, and measure aggregation properties.
Identify the grain in your dimensional design using the business needs as a guideline. You should then indicate relative storage requirements for the grain using statistics for the data sources. Using the cardinality estimates provided, you should determine either the fact table size or sparsity and then compute the unknown grain size variable. For example, you should compute sparsity if the fact table size is given.
Extend your analysis to design a star schema
or variation
to support inventory analysis. For each table, you should define the table name, primary key, and columns. You do not need to write complete CREATE TABLE statements. Apply design transformations, especially the flatten and merge transformations where appropriate.
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