What are the different types of dimensions that can be used in a data warehouse?
1Times asked
Jun 2026Last seen
Jun 2026First seen
💡 Model Answer
In dimensional modeling, dimensions describe the context of facts and are typically categorized into several types:
- Conformed Dimensions – shared across multiple fact tables or data marts, ensuring consistent semantics (e.g., a common Date dimension used by sales and inventory facts).
- Degenerate Dimensions – derived from a fact table’s primary key or transaction number, often stored as a simple attribute rather than a separate dimension table (e.g., an Order Number in a Sales Fact).
- Junk Dimensions – consolidate many low‑cardinality flags or attributes into a single dimension to reduce clutter (e.g., a Junk dimension containing Yes/No flags for various product attributes).
- Role‑Playing Dimensions – the same dimension used in different contexts, such as a Date dimension used for Order Date, Ship Date, and Delivery Date.
- Slowly Changing Dimensions (SCD) – handle changes over time, with types like SCD‑1 (overwrite), SCD‑2 (historical record), or SCD‑3 (add new attribute).
Choosing the right type depends on business requirements, query patterns, and data governance needs.
This answer was generated by AI for study purposes. Use it as a starting point — personalize it with your own experience.
🎤 Get questions like this answered in real-time
Assisting AI listens to your interview, captures questions live, and gives you instant AI-powered answers — invisible to screen sharing.
Get Assisting AI — Starts at ₹500