EDUCBA

EDUCBA

MENUMENU
  • Free Tutorials
  • Free Courses
  • Certification Courses
  • 360+ Courses All in One Bundle
  • Login
Home Data Science Data Science Tutorials Data Warehouse Tutorial Fact Constellation Schema
Secondary Sidebar
Data Warehouse Tutorial
  • ETL
    • What is Data Mart
    • What is Data Cube
    • What is a Data Lake
    • What is Data Integration
    • What is ETL
    • What is ETL Testing
    • ETL Testing Tools
    • ETL architecture
    • Dimension Table
    • Multidimensional Data Model
    • Fact Constellation Schema
    • ETL Process
  • Basic
    • What is Data Warehouse
    • Data Warehouse tools
    • Career in Data Warehousing
    • Benefits of Data Warehouse
    • Data Warehouse Architecture
    • Data Warehouse Design
    • Data Warehouse Implementation
    • Data Warehouse Features
    • Data Warehouse Modeling
    • Data Warehouse Software
    • Data Warehousing
    • Types of Data Warehouse
    • 10 Popular Data Warehouse Tools
    • Data Lake Architecture
    • Three Tier Data Warehouse Architecture
    • Data Warehouse Process
    • Database Parallelism
    • What is OLTP
    • What is OLAP
    • OLAP Tools
    • Types of OLAP
    • Operations in OLAP
    • MOLAP
    • HOLAP
    • Data Warehouse Schema
    • Data Warehouse Components
    • Snowflake Schema
    • Snowflake Architecture
    • What is Star Schema
    • Galaxy Schema
    • What is Fact Table
    • Kimball Methodology
    • Data Warehouse Testing
    • Operational Data Stores
  • Interview Questions
    • Data Warehouse Interview Questions
    • ETL Interview Questions
    • ETL Testing Interview Questions
    • Data Warehousing Interview Questions

Fact Constellation Schema

By Priya PedamkarPriya Pedamkar

Fact Constellation Schema

Introduction to Fact Constellation Schema

Fact Constellation Schema is a schema that represents a multidimensional model of tables. This schema is a group of different fact tables that have few similar dimensional tables. It can be represented as a group of multiple star schemas and thus, it is also called a Galaxy schema. Fact schema is the most frequently used schema to design a Data warehouse and also, it is a little complicated than star and snowflake schema model.

Fact constellation schema is a tool of analytical processing via online, which has a huge group of the number of fact tables that share dimensional tables, also aggregated as a group of stars. We can also call it as an extension of the star constellation model.

Start Your Free Data Science Course

Hadoop, Data Science, Statistics & others

What is Fact Constellation Schema?

A fact constellation schema can have multiple fact tables associated with it. It is commonly used a schema for designing data warehouses and it is much complicated than any other schema such as star and snowflake schema. We can create a fact constellation schema from a star schema by splitting them into one or more star schemas. It is also said that a fact constellation schema can have many fact tables and a shared dimensional table.

General Structure of Fact Constellation

To understand the fact constellation schema, we have given below a skeleton of it.

This is the basic schema of any fact constellation schema that is associated with fact and dimensional schemas. A combined group of star schema is called a fact constellation schema.

Fact Constellation Schema1

Here the pink-colored box is dimensional tables that are common to both the star schemas. Green colored are the fact tables that are responsible for each of their star schemas.

Fact Constellation Schema Architecture

In the above architecture, below is the brief analysis:

Fact Constellation Schema1

  • The student is a dimensional table where roll_number, name, marks are its attributes.
  • TPD is a dimensional table where tpd_id, tpd_name, department are its attributes.
  • Placement is a fact table where roll_number, company_name, tpd_id are its attributes with its facts number of students attended, number of students selected.
  • Training class is a fact table where roll_number, training_name, tpd_id are its attributes, and the number of students attended, the number of students selected is its facts.
  • The workshop is a dimensional table where training_name, subject, workshop_fee are its attributes.
  • Company is a dimensional table where company_name, name, company_package are its attributes.

Here in the above schema, placement and training_class are two different star schemas having their dimensional table as student, TPD, and company in Star schema with placement as its fact table.

The other star schema is student, TPD, and workshop as its dimensional table with training class as its fact table.

Here the above two-star schema has two-dimensional tables in common and thus they form a set of fact constellation schema.

Advantages and Disadvantages

Here are a few advantages that make it more useful:

  • Tables are subdivided into fact and dimensional to understand the relationship between them.
  • It is a flexible schema that makes users use it.
  • Here dimensional tables are shared by the number of fact tables.
  • It is a normalized form of snowflake and star schema.
  • We can access the data in the database using complex queries.

Few disadvantages are listed below:

  • It is difficult to understand as it is a very complex schema to implement.
  • It uses more space in the database comparative to the star schema.
  • It has many joins between dimensional and fact tables and thus it is difficult to understand.
  • This is difficult to maintain and operate.

Conclusion

Fact constellation schema is also known as galaxy schema. It is possible to share two or more dimensional table with one fact table in a group of the star schema. It is a normalized form of snowflake schema and star schema. The main disadvantage of it is that it is a very challenging design architecture as it might have joined, aggregation relationship between dimensional and fact tables.

Recommended Articles

This is a guide to Fact Constellation Schema. Here we discuss an introduction, general structures, and architecture with advantages and disadvantages. You can also go through our other related articles to learn more –

  1. Data Warehouse Schema
  2. Galaxy Schema
  3. What is Star Schema?
  4. PostgreSQL Schema
Popular Course in this category
All in One Data Science Bundle (360+ Courses, 50+ projects)
  360+ Online Courses |  1500+ Hours |  Verifiable Certificates |  Lifetime Access
4.7
Price

View Course

Related Courses

Business Intelligence Training (12 Courses, 6+ Projects)4.9
Data Visualization Training (15 Courses, 5+ Projects)4.8
Primary Sidebar
Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Live Classes
  • Corporate Training
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Database Management
  • Machine Learning
  • All Tutorials
Certification Courses
  • All Courses
  • Data Science Course - All in One Bundle
  • Machine Learning Course
  • Hadoop Certification Training
  • Cloud Computing Training Course
  • R Programming Course
  • AWS Training Course
  • SAS Training Course

ISO 10004:2018 & ISO 9001:2015 Certified

© 2023 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

Let’s Get Started

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA Login

Forgot Password?

By signing up, you agree to our Terms of Use and Privacy Policy.

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more