Forum Discussion

ModelFear's avatar
ModelFear
Frequent Visitor
2 years ago
Solved

Index column for dimension table?

Hi all,    I thought I post this question as it is so trivial that likely no one would ask it.  I would like to create a simple dimension table. I watched a couple of youtube videos and they adde...
  • rajendraongole1's avatar
    2 years ago

    Hi ModelFear -Using an index column for a dimension table is generally a best practice if we check the good example that i came across:

    1. Unique identifier for each row in a table when you referenced with fact table relationship

    2.Good for performance optimization for identifying the distinct record in your dimension table.Indexes are typically faster to join on because they require less memory and processing power.

    3. Index columns help to avoid issues related to null or duplicate values in natural keys (like names or dates). An index is always unique and not null.

     

    Did I answer your question? Mark my post as a solution! This will help others on the forum!
    Appreciate your Kudos!!