Class 4 Flashcards
semiadditive facts
they may be added at end of day, can’t add across some dimensions but not all such as time, bank balance
4 steps in the dimensional modeling process
Step 1: Select Business Process
Step 2: Declare Grain
Step 3: Identify Dimensions
Step 4: Identify Facts
natural keys
could be origonal source data that can be used as a key.
degenerative dimensions
POS transactions, measures that don’t have own dimensions. the attributes may be captured by other dimensions. transaction number, telephone number.
factless fact table
doesnt contain a fact.
bridge table
connects 2 tables. many to many relationship between 2 tables, need a composite key, so you add foreign key of both . so its a type of fact table.
rollup
subset of cube. rollup (custid, produd, storeid) create customer product store customer product customer different sequence will create diff tables in rollup. in cube it does all of them.
cube command
crate tables customer, product, store customer, product product, customer, store store, and on. all different combinations can be done. it's doing all combination of tables.