Chapter 3 - Tables and Keys Flashcards

1
Q

Two Types of tables

A
  1. Fact table

2. Dimension Table

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

Fact table

A
  • also called as Measure Group
  • contains only foreign keys to the dimension tables (key columns) and all the
    non-key columns (measures) are numeric
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Dimension table

A
  • do not contain foreign keys
  • only a single column primary key
  • a surrogate key.
  • small in size
  • change very slowly
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Factless fact table

A

Factless fact table is a fact table that contains NO measure columns

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

3 kinds of Measures

A
  1. Fully additive Measure (sales and costs)
  2. Semi additive Measure (Stocks)
  3. Non additive Measure (gross margin)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Keywords to remember.. Surrogate keys and Degenerate Dimensions

A
  1. A surrogate key is the primary key for a dimension table and is independent of any keys provided by source data systems.
  2. Attributes such as SalesOrderNumber are called degenerate dimensions and
    these are kept as attributes of the fact table.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly