What are fact tables and dimension tables in a data warehouse, and what role does ETL play?
Last updated
Fact tables hold numeric measures of business events (e.g. sales amount) plus foreign keys to dimensions, with a clearly defined grain (what one row represents).
Dimension tables hold descriptive context (customer, product, date) for filtering and grouping, often tracking history via slowly changing dimensions.
ETL (Extract, Transform, Load) pulls source data, cleans and conforms it, then loads dimensions first and facts after. ELT loads raw data first and transforms inside the warehouse.
- https://learn.microsoft.com/en-us/power-bi/guidance/star-schema
- https://aws.amazon.com/blogs/big-data/dimensional-modeling-in-amazon-redshift/
- https://dev.to/datadriven/top-12-data-modeling-interview-questions-with-answers-9ja
- https://datavidhya.com/blog/data-modeling-interview-questions/
- https://www.geeksforgeeks.org/computer-networks/difference-between-fact-table-and-dimension-table/
- https://www.geeksforgeeks.org/software-testing/etl-testing-interview-questions/
- https://etltesting.aims-ai.com/blog/data-warehouse-interview-questions.html