- 2065 Baisakh
- Year not given
Data warehouse schemas
Short answer
A schema is the logical structure of database tables and relationships. In a data warehouse, the star schema has one fact table linked to denormalized dimension tables; the snowflake schema normalizes dimensions; and the fact constellation schema uses multiple fact tables sharing dimensions, suitable for complex enterprise needs.
What do you mean by "schema"? Briefly describe different Data Warehouse schemas.
A schema is the logical description of the structure of a database: its tables, attributes, keys and relationships. In a data warehouse, the schema is a multidimensional model consisting of a central fact table (numeric measures and foreign keys) and surrounding dimension tables (descriptive attributes).
1. Star schema
One fact table connected directly to one denormalised table per dimension. The diagram looks like a star.
Time Item
\ /
\ /
SALES FACT
/ \
Branch Location
Simple, fast queries, but with data redundancy in dimensions.
2. Snowflake schema
A variant of the star schema where dimension tables are normalised into more tables.
Item -> Supplier
\
SALES FACT -- Location -> City
Saves space and reduces redundancy, but needs more joins and so is slower.
3. Fact constellation (galaxy) schema
Multiple fact tables share dimension tables.
Sales Fact Shipping Fact
\ /
Time, Item, Location (shared)
Used for complex enterprise warehouses where several business processes are modelled. It is the most complex of the three.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- OLAP vs OLTP; schema modeling; star DMQL · Data Mining, chapter 2
- Data warehouse, data mart and need · Data Mining, chapter 1
- Data warehouse architecture and components · Data Mining, chapter 1
- Short note: Noise in data warehouse · Data Mining, chapter 2
- Data warehouse and its characteristics · Data Mining, chapter 1
- National data warehouse process architecture · Data Mining, chapter 1
- Data warehouse and data mining · Information System, chapter 4 · asked 2×
- Hybrid data in big data warehouse · Big Data Technologies, chapter 1
- Data mining and business knowledge · Information System, chapter 4