i have a question related to the structure of dimension-keys. I am building classical Star Schema. Therefore i am creating dimension keys by using a sequence so that every entry in my dimension table has its own unique key. So far so good. Now i have seen a key structure by a project which is created by the oracle Warehousebuilder. This Software defines additionally to the dimension keys dedicated keys on every level of the hierarchy of a dimension. That looks like the following example:
- Dimension Key
--------------------------------------
- country ID
- country name
--------------------------------------
- state ID
- state name
- state short
--------------------------------------
- city ID
- city name
- city code
Is that really necessary? If not what are the benefits or the chain of thought of this approach?