I’m reading a Wikipedia article about OLAP and OLAP Fact Tables and the article states
All foreign keys between fact and dimension tables should be surrogate
keys, not reused keys from operational data.
But it doesn’t state why.
So, why should
All foreign keys between fact and dimension tables should be surrogate
keys, not reused keys from operational data.
?
From the detailed explanation of what is a Dimension Table from wikipedia:
It is recommended that the key field is a simple integer for the reason that key value is meaningless and is only used to be join fields between the fact and dimension tables.
The usage of surrogate dimension keys brings several advantages among: