Star Schema
Last updated
Last updated
Star schema is the simplest model used in DWH. It's commonly used in Data Marts.
Star schema is built to streamline the process.
ETL process will produce data from the operational database, transform it into the proper format, and load it into the warehouse.
dim_employee: info about employee
dim_product: info about the product
dim_store: info about store
dim_sales_type: info about sales
dim_time: the time dimension
fact_sales: references to dimension tables plus two facts (price and quantity sold)
This Star schema is intended to store the history of placed orders.
fact_supply_order: contains aggregated data about the order & supplies.
dim_supplier: supplier information.
The fact table is related to each dimension table by exactly one relation.
Faster aggregations.
Simpler queries. Relatively fewer joins.
Data Integrity is not enforced.
Data redundancy. City > State > Country can be normalized and not repeated.