Lecture 3: Introduction to Dimensionality Flashcards

1
Q

What is a Dimensional Model?

A

A data structure technique optimized for data warehousing, designed to make querying and reporting simpler.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which main elements make up a Dimensional Model?

A

Facts (measurements) and Dimensions (descriptive attributes surrounding facts).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a Fact Table?

A

A primary table in a dimensional model that contains measurements (facts) and foreign keys to dimension tables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is stored in a Fact Table?

A

Numeric measurements of business processes and foreign key links to dimensions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does ‘Granularity’ refer to in a Fact Table?

A

It defines the level of detail of the data, such as daily transactions vs. monthly or quarterly aggregates.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a Surrogate Key?

A

A system-generated unique identifier with no inherent business meaning.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a Natural Key?

A

An existing business identifier that already uniquely identifies an entity, such as a product code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is Cardinality in data relationships?

A

It describes how many relationships can exist between two entities (e.g., one-to-many or many-to-many).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Give an example of Cardinality in a data warehouse.

A

A single customer (one) can have multiple sales transactions (many), forming a one-to-many relationship.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are Dimensions?

A

They provide context and descriptive characteristics of the facts (e.g., who, what, where).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are Attributes in a Dimension?

A

Descriptive details of a dimension that help filter or classify data, such as region or product category.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Provide an example of a Fact in retail.

A

‘Total sales amount’ or ‘number of items sold’ are typical facts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Provide an example of a Dimension in retail.

A

‘Customer’ dimension, with attributes like name, location, and loyalty level.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Why do we use Dimensional Models in data warehousing?

A

To optimize query performance and simplify data analysis by separating numeric facts from descriptive dimensions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly