Galaxy Schema in Data Warehouse Modeling (original) (raw)

Last Updated : 25 Nov, 2025

A Galaxy Schema, also known as a Fact Constellation Schema, uses two or more fact tables that share common dimension tables. This setup allows multiple business processes like sales and inventory to be modeled together using shared dimensions such as Time, Product, and Location. This schema is ideal for large, complex data warehouses where multiple subject areas need to be analyzed together. It offers greater flexibility and scalability than star or snowflake schemas.

**Note: It is called a Galaxy because it looks like a group of star schemas linked together similar to stars forming a constellation.

Galaxy-schema

Galaxy Schema

Features of Galaxy Schema

Example of Galaxy Schema

In the example below, the data warehouse includes two fact tables: SALES and INVENTORY - that share common dimensions like Product, Time, and Location.

galaxy-schema-example

Example table for galaxy schema

Note: In the aabove diagram:

Both fact tables share the following dimension tables:

**Note: The Supplier Dimension is linked only to the Inventory fact table because supplier information is relevant to stock management and not to sales transactions.

This structure enables comprehensive cross-domain reporting such as analyzing sales trends in relation to inventory levels or customer preferences.

Advantages and Disadvantages

Advantages Disadvantages
Support for Multiple Business Processes More Complex Design
Dimension Reuse Complex Queries
Efficient Storage ETL Complexity
Scalable Architecture Data Redundancy Risk