MIS 430: Star Schema (Quiz 2)

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/66

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 1:02 AM on 9/25/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

67 Terms

1
New cards

What is dimensional modeling?

A data design methodology used for designing subject-oriented analytical databases, such as data warehouses or data marts.

2
New cards

Which modeling technique is tailored specifically for analytical database design?

Dimensional modeling.

3
New cards

What is the key difference between ER/relational modeling and dimensional modeling?

ER/relational modeling is optimized for running the business; dimensional modeling is optimized for analyzing the business.

4
New cards

What standard relational concepts does dimensional modeling use?

Primary keys, foreign keys, and integrity constraints.

5
New cards

What two types of tables are used in dimensional modeling?

Dimension tables and fact tables.

6
New cards

What do dimensions describe?

The Who, What, Where, When, and How of the data.

7
New cards

Which dimensions answer WHO, WHAT, WHERE, and WHEN?

WHO = Customer; WHAT = Product; WHERE = Store; WHEN = Date.

8
New cards

What type of data is most common in dimension attributes?

Textual or categorical data.

9
New cards

What are examples of categorical dimension attributes?

Product brand/color, customer gender/education, and store region/city.

10
New cards

How can numeric values be used as dimension attributes?

Convert them into categories, such as age ranges, income brackets, or Light/Medium/Heavy.

11
New cards

What is a useful rule for identifying a dimension attribute?

If you GROUP BY or FILTER on it, it is likely a dimension attribute.

12
New cards

Why may attributes in a dimension not be directly related to each other?

Logically different attributes can be stored together for analytical convenience.

13
New cards

Why are dimension tables intentionally denormalized?

To eliminate joins, producing faster queries and a simpler user experience.

14
New cards

What does denormalization in a dimension table intentionally violate?

Third Normal Form (3NF).

15
New cards

What are examples of dimension hierarchies?

Date → Month → Quarter → Year and Store → City → State → Region.

16
New cards

What analyses do dimension hierarchies enable?

Drill-down and roll-up analysis.

17
New cards

What is the role of a fact table in a star schema?

It sits at the center and contains quantitative measures plus foreign keys to dimensions.

18
New cards

What does each row of a fact table represent?

An intersection of all associated dimension records.

19
New cards

What determines the level of detail represented by a fact table row?

The grain or granularity.

20
New cards

What are measures or facts?

Quantitative performance measures or metrics related to the subject of analysis.

21
New cards

What type of data are measures typically?

Numeric data intended for mathematical computation.

22
New cards

What are examples of measures in a sales fact table?

Dollars sold and units sold.

23
New cards

What is a useful rule for identifying a fact measure?

If you SUM or AVERAGE it, it is likely a fact measure.

24
New cards

What does a fact table contain besides measures?

Foreign keys connecting the fact table to dimension tables.

25
New cards

What is a star schema?

The simplest and most widely used dimensional model, with one fact table surrounded by multiple dimension tables.

26
New cards

How many fact tables does a star schema contain according to this presentation?

Only 1 fact table containing measures for 1 subject.

27
New cards

How many dimension tables can a star schema contain?

Multiple dimension tables.

28
New cards

Why is it called a star schema?

The diagram resembles a star, with the fact table at the center and dimensions surrounding it.

29
New cards

In dimensional modeling, what do dimensions and facts represent?

Dimensions = attributes of decision making; Facts = outcome measures.

30
New cards

What type of keys do dimension tables use in the star schema examples?

Surrogate primary keys.

31
New cards

Where are dimension keys stored to connect dimensions to the fact table?

As foreign keys in the fact table.

32
New cards

What two questions should be asked for every possible dimension?

Is it relevant to analyzing the subject, and is it available from existing data sources?

33
New cards

When should a dimension be included in the model?

When it is both relevant to the analysis and available from existing data sources.

34
New cards

What are the main stages of the dimensional model design process?

Step 1: Requirements; Step 2: Grain; Step 3a: Dimensions; Step 3b: Facts.

35
New cards

What is done during Step 1: Requirements?

Identify data sources, high-level entities/measures, and possible dimensions.

36
New cards

For ZAGI Retail, what is the subject of analysis and what are its measures?

Subject = Sales; Measures = Dollars and Units.

37
New cards

For ZAGI Retail, what possible dimensions are identified in Step 1?

Customer, Product, Store, and Date.

38
New cards

What hint helps identify the fact among operational entities?

Identify which table captures the business event.

39
New cards

How was ZAGI's normalized source transformed conceptually in Step 1?

8 normalized tables became 1 Sales fact table and 4 dimensions.

40
New cards

What are the four dimensions surrounding ZAGI's Sales fact table?

Calendar/Date, Product, Store, and Customer.

41
New cards

What is Step 2 of dimensional model design?

Identify the grain.

42
New cards

What does the grain define?

What a single fact table record represents—the level of detail associated with the measurements.

43
New cards

How are detail and granularity related?

More detail = lower/finer granularity; less detail = higher/coarser granularity.

44
New cards

What is Kimball's Golden Rule for choosing grain?

Choose the lowest grain the source data supports.

45
New cards

Why should you choose the lowest grain supported by the source data?

You can aggregate detailed data upward, but cannot drill into detail that was aggregated away.

46
New cards

In the Date hierarchy, which level is finest and which is coarsest?

Date/Day is finest; Year is coarsest.

47
New cards

What are the finest levels of ZAGI's Date, Store, and Product dimensions?

Day, Store, and Product.

48
New cards

What is the grain of the ZAGI Retail dimensional model?

Product sold in one store on one day.

49
New cards

More specifically, what does each ZAGI fact row represent?

Sales of one line item/product in one transaction by a customer in a store on one day.

50
New cards

What is done during Step 3a: Dimensions?

Determine all dimensions, identify dimensional attributes, and identify attribute hierarchies.

51
New cards

What is done during Step 3b: Fact Table?

Identify facts/measures, identify foreign keys, and define the grain.

52
New cards

How is the ZAGI Product dimension created from the operational source?

Product, Vendor, and Category tables are consolidated into one denormalized Product dimension.

53
New cards

After completing the logical design, how is the dimensional model populated?

Create the tables and load data from operational sources.

54
New cards

What key rule applies when populating dimension tables?

Only populate unique records into the dimension table.

55
New cards

How are Calendar dimensions often populated?

Generated independently with pre-computed attributes such as DayOfWeek, IsWeekend, IsHoliday, and FiscalQuarter.

56
New cards

What are three major benefits of a star schema?

Intuitive for business users, improved query performance, and extensibility to data changes.

57
New cards

Why does a star schema improve query efficiency?

It uses fewer tables, fewer joins, and shorter join paths, producing simpler and faster queries.

58
New cards

In the PowerPoint's Query A, how does the operational database compare with the star schema?

Operational: 7 tables and 6 joins; Star schema: 4 tables and 3 joins.

59
New cards

What did Query A demonstrate about star schema efficiency?

About 50% fewer tables and joins while providing the same analytical power.

60
New cards

How does a star schema support ad-hoc analysis at scale?

The same schema can support thousands of ad-hoc queries by analysts with varying SQL skill levels.

61
New cards

What is the multi-source integration benefit of a star schema?

New data sources can enrich dimensions with additional attributes without changing the fact table.

62
New cards

What new information came from ZAGI's Facilities Department source?

Store characteristics such as layout type, square footage, and checkout/deli system details.

63
New cards

What new information came from the external customer demographic source?

Gender, marital status, education, and credit score.

64
New cards

What happened to ZAGI's fact table when the Store and Customer dimensions were enriched?

The fact table remained unchanged.

65
New cards

How did Query B expand Query A after adding new sources?

It added the Customer table/join plus Gender = Male and StoreLayout = Modern filters.

66
New cards

Why is multi-source enrichment easier in a star schema?

New attributes can be added modularly to dimensions without restructuring the entire model.

67
New cards

What are the three main Week 4 concepts summarized in the presentation?

Star schema modeling, the requirements→grain→dimensions/facts design process, and query efficiency/multi-source integration.