Question

Give 2 examples for Star schema, Snowflake schema and Fact Constellation Schema.

07 Mar 2024
Answer :
Word Count : 875

1. Star Schema:

The Star Schema is a widely adopted schema design in data warehousing, characterized by a centralized fact table connected to multiple dimension tables. The fact table contains the quantitative data (facts), and the dimension tables store descriptive information related to the facts. Here are two examples of the Star Schema:

Example 1: Sales Data Warehouse

*Fact Table:* 
- `Sales_Fact`
  - sales_id (Primary Key)
  - product_id (Foreign Key)
  - time_id (Foreign Key)
  - quantity_sold
  - revenue

*Dimension Tables:*
- `Product_Dim`
  - product_id (Primary Key)
  - product_name
  - category_id (Foreign Key)
  - brand_id (Foreign Key)

- `Time_Dim`
  - time_id (Primary Key)
  - date
  - day_of_week
  - month
  - year

In this example, the `Sales_Fact` table contains quantitative data such as quantity_sold and revenue, while the `Product_Dim` and `Time_Dim` tables provide descriptive information about products and time, respectively.

Example 2: Human Resources Data Warehouse

*Fact Table:*
- `Employee_Performance_Fact`
  - employee_id (Primary Key)
  - project_id (Foreign Key)
  - performance_rating
  - hours_worked

*Dimension Tables:*
- `Employee_Dim`
  - employee_id (Primary Key)
  - employee_name
  - department_id ____ _______ ____ _____ _______ ______ _________ _____.
________ _____ ________ ___ ______ _____ _________ ____.
__________ __________ _________ _______ ___ _________.
_________ ______ ____ __________ ________ ________ ______ _____ __________.
______ ___ ______ _____ _______ ___ ____ ______ ______ __________.
________ ________ _____ __________ __________ _____ _______ ______ __________ ______ ____.
_______ _____ _______ ______ ___ _______ _________ ______ ______ _____ ____ _______.
_________ _________ ___ ________ ____.
________ _______ _____ _______ _________ ___ ________.
_________ _______ ______ __________ ___ ____ _______ ______ _________.
__________ ______ _________ _____ ________ ____ _________ __________ _________.
____ __________ ______ ___ ____.
____ _________ _______ ___ _____ ______ ______ _________.
__________ ________ ______ _________ _____ _______ _________ _______.
____ _____ _____ _______ ________ ______ ___ ________ ________ ________.
__________ ______ __________ _________ __________ _______.
___ _________ _________ ______ ________ ____ _____.
____ ______ _________ _____ ________ ______ ______ _____.
__________ ___ _________ _________ _______ _________ ________.
___ ________ ________ _______ ____ _____ ____ _______ _____ _____ ________.
___ __________ ______ __________ ____ ______ ________ ____ _________ ____ ____.
_____ ____ _____ ____ __________ _____ ______ __________ _______ __________.
___ ___ ______ _________ _________ ______ _______ ________ ________ ______ _________.
_________ __________ ___ ______ ____ ________ __________ ______ _____ ___ _____.
____ __________ ___ ______ ______.
____ _____ ____ _____ _____ ______.
__________ ______ _____ ______ ______ ______ _____ __________.
__________ __________ ______ _________ ________ ________ _________ __________ ____ _____ _______.
_______ __________ _____ __________ _________ ________ _________ _________ ________.
_____ ___ _____ __________ _______ ____ _______.
___ ________ _________ _______ __________ __________ _____ _________ ______.
______ _____ ______ _________ _________ ___ ________.
___ ____ ________ __________ __________ _________.
___ ___ _________ __________ ____ _____.
___ ________ ______ ________ _____ __________ ___ _________ _______ _______.
_____ _____ _________ _______ _______.
______ ______ _________ _____ _________ _________ ________ _________ _________ ______.
_____ __________ ________ _____ ____ _________ __________ _______ __________ __________ ____ ____.
____ __________ ___ _________ _________ ____ ____ ________ _______.
_________ ___ ___ ________ ___ ___.
___ _________ __________ _________ __________ ___ ____ ___ _______ ____ ________ _________.
_____ _______ _________ ____ _______ ____ ___ __________.
___ ________ ___ ____ ___ ___ ______ ________ _______.
________ _______ ______ _______ _____ _______ ____ ______ ____ _____ ______.
________ _________ _______ ___ ______ ________.
________ ________ ____ ____ ______ ___ ________ __________ ____ __________.
________ __________ ____ __________ ________ ________ ________ _________ _________ ___ ________ _________.
___ ________ _____ _________ _________ ____ ______ ______.
_________ _______ __________ ____ ________.
______ ______ _________ ____ _____ _________ __________ _________ _____ __________.
_______ _____ _____ ________ ___ ______ _____ __________ __________.
__________ ________ ________ __________ _____ __________.
________ _________ _______ _________ ____ ____ _____ __________ ____ __________ ________.
___ ___ _____ ____ ________ _______ _____ _______ _______ _______ ___ ___.
_______ ____ _____ ________ _________ __________ __________ ________ ___ ___.
_________ ______ ___ ____ ___.
_________ ___ __________ __________ _________ _________ _______ _____ ____ ___.
__________ __________ _____ __________ _______ _______ ________.
_______ _________ __________ ______ __________ __________.
________ _________ ________ __________ ______ ____ ___.
___ ______ _______ ________ _______ ____ ________.
____ ____ ____ _____ ______.
_______ ______ _________ _______ ________ _______ _________ ____.
_____ ________ ________ _______ ________ ____ _______ ______.
____ ___ ______ _______ ______ __________ __________ ____.
______ _________ __________ __________ __________.
_______ ____ ________ ______ ______ __________ ____ _______ ____.
______ ______ ___ __________ __________ ___ __________ _______ _________ __________.
_________ ____ __________ ______ _________ ________ _______ ________ ____ __________.
____ ______ __________ ________ ___ _____ _____.
______ __________ _____ ___ ___ __________ ___ _________.
______ __________ ___ ______ _____ ___.
___ _________ _____ _____ _________ ______.
________ _______ _________ _________ _______ ___.
_____ _________ _______ ____ __________ ___ _____ ______ ___ _____ ________ ____.
_______ __________ ________ _______ _________ ______ ____ ______.
________ ___ __________ ______ _______.
_____ ___ __________ ____ _______ ________ ________ _______ ________ _____ _________ ________.
_______ __________ ____ ______ _____ _____ ________ _____ _______ ________.
Get Full Answer on WhatsApp

IGNOU NEWS
Assignment Submission Last Date Extended Till 30 June 2026 Click Here★★★IGNOU June 2026 TEE Date Sheet Released Click Here★★★
Top
📞
Call Support Instant phone assistance Give 2 examples for Star schema, Snowflake schema and Fact Constellati
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→