This project demonstrates the design and implementation of a modern Data Warehouse using PostgreSQL, integrating CRM and ERP data into a unified analytical environment.
The solution follows the Medallion Architecture (Bronze, Silver, Gold) approach and applies industry best practices in Data Engineering, ETL design, data modeling, and analytics.
Create the database manually:
CREATE DATABASE DataWarehouse;Eecute using Postgres the SQL scripts in scripts folder in numerical order to generate the Layers. Order: 001_create_layers_schemas.sql -> 002_create_bronze_tables.sql -> 003_bulk_insert_bronze_layer.sql -> 004_create_silver_tables.sql -> 005_insert_silver_layer.sql -> 006_create_gold_layer_views.sql
Develop a modern data warehouse using Postgres to consolidate sales data, enabling analytical reporting and informed decision-making.
- Data Sources: Import data from two source systems (ERP and CRM) provided as CSV files.
- Data Quality: Cleanse and resolve data quality issues prior to analysis.
- Integration: Combine both sources into a single, user-friendly data model designed for analytical queries.
- Scope: Focus on the latest dataset only; historization of data is not required.
- Documentation: Provide clear documentation of the data model to support both business stakeholders and analytics teams.
