Chapter 3 - Tables and Keys Flashcards
1
Q
Two Types of tables
A
- Fact table
2. Dimension Table
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
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
4
Q
Factless fact table
A
Factless fact table is a fact table that contains NO measure columns
5
Q
3 kinds of Measures
A
- Fully additive Measure (sales and costs)
- Semi additive Measure (Stocks)
- Non additive Measure (gross margin)
6
Q
Keywords to remember.. Surrogate keys and Degenerate Dimensions
A
- A surrogate key is the primary key for a dimension table and is independent of any keys provided by source data systems.
- Attributes such as SalesOrderNumber are called degenerate dimensions and
these are kept as attributes of the fact table.