Open Source Data Warehousing: Developing a SQL Data Warehouse

Inquire now

This course covers the design, development, and maintenance of a SQL data warehouse using open-source technologies, with PostgreSQL as the reference database. Participants learn to translate business requirements into dimensional models, integrate data from multiple sources, develop SQL transformations, and prepare reliable datasets for reporting and analysis.

The course covers staging structures, fact and dimension tables, historical data management, incremental loading, data quality, query optimization, and operational maintenance.

Duration 5 Days – 35 hrs.

 

Objectives

  • Explain data warehouse architecture and its role in business intelligence.
  • Translate business reporting requirements into a dimensional data model.
  • Create staging, dimension, and fact tables using SQL.
  • Develop extraction, transformation, and loading processes.
  • Implement incremental loads and manage historical dimension changes.
  • Apply data quality checks and source-to-target reconciliation.
  • Write analytical SQL queries for business reporting.
  • Optimize warehouse queries and storage structures.
  • Apply access controls, load monitoring, and maintenance practices.

 

Target Audience

  • SQL developers and database developers.
  • Data engineers and ETL developers.
  • Business intelligence developers.
  • Database administrators supporting analytical systems.
  • Data analysts with SQL experience.
  • Software developers transitioning into data warehousing.

 

Prerequisites 

  • Understand relational database concepts, including tables, primary keys, foreign keys, and relationships.
  • Be able to write SQL queries using joins, filtering, grouping, and aggregate functions.
  • Have basic experience creating tables and modifying data.
  • Familiarity with business reporting and spreadsheet or CSV data is helpful.
  • Previous data warehouse experience is not required.

 

Course Outline 

Day 1: Data Warehouse Foundations and Requirements

Module 1: Introduction to Open Source Data Warehousing

  • Purpose and characteristics of a data warehouse.
  • Transactional systems versus analytical systems.
  • Data warehouses, data marts, and data lakes.
  • Open-source warehouse components and PostgreSQL’s role.
  • Source, staging, warehouse, and reporting layers.
  • ETL and ELT processing approaches.

 Module 2: Requirements and Development Environment

  • Identifying business processes, stakeholders, and reporting needs.
  • Defining measures, key performance indicators, and data grain.
  • Identifying source systems and profiling source data.
  • Establishing naming conventions and documentation standards.
  • Preparing PostgreSQL databases, schemas, and SQL development tools.
  • Defining source-to-target mappings.

 

Day 2: Dimensional Modeling and Schema Development

Module 3: Designing Dimensional Models

  • Star schemas and snowflake schemas.
  • Fact tables, dimension tables, and table grain.
  • Natural keys and surrogate keys.
  • Conformed dimensions and date dimensions.
  • Additive, semi-additive, and non-additive measures.
  • Transaction and snapshot fact tables.

 Module 4: Implementing Warehouse Structures

  • Creating staging, dimension, and fact tables.
  • Selecting data types and defining constraints.
  • Establishing relationships and referential integrity.
  • Implementing slowly changing dimensions: Type 1 and Type 2.
  • Handling unknown members and late-arriving data.
  • Documenting the warehouse schema and data dictionary.

 

Day 3: Data Integration and Loading

Module 5: Extracting and Transforming Source Data

  • Loading relational extracts and CSV files into staging tables.
  • Applying bulk-loading techniques.
  • Standardizing text, dates, numeric values, and codes.
  • Handling nulls, duplicates, and invalid records.
  • Using joins, common table expressions, and SQL functions for transformations.
  • Applying business rules and mapping source values.

 Module 6: Building Reliable Load Processes

  • Initial full loads and incremental loading.
  • Watermarks and change detection fundamentals.
  • Loading dimensions before related fact tables.
  • Resolving surrogate keys and preserving dimension history.
  • Handling source updates and deletions.
  • Using transactions, load logs, and restartable processing.
  • Preventing duplicate results when rerunning loads.

 

Day 4: Data Quality and Analytical SQL

Module 7: Data Quality and Reconciliation

  • Defining completeness, validity, consistency, and uniqueness rules.
  • Validating relationships between facts and dimensions.
  • Reconciling record counts and business totals.
  • Checking historical validity periods and duplicate business keys.
  • Managing rejected records and correction workflows.
  • Capturing data lineage and load audit information.

 Module 8: Developing Reporting Datasets

  • Querying star schemas with appropriate joins.
  • Calculating business measures at the correct grain.
  • Using window functions for ranking and running totals.
  • Developing period comparisons and trend queries.
  • Creating reporting views and summary tables.
  • Using materialized views and planning refreshes.
  • Preventing double counting in analytical queries.

 

Day 5: Performance and Warehouse Operations

Module 9: Optimizing Warehouse Performance

  • Reading query execution plans.
  • Selecting indexes for analytical workloads.
  • Applying table partitioning and partition pruning.
  • Maintaining database statistics.
  • Optimizing joins, filters, and aggregations.
  • Balancing query performance with loading requirements.

 Module 10: Operating and Maintaining the Data Warehouse

  • Applying roles, permissions, and least-privilege access.
  • Scheduling load processes and managing dependencies.
  • Monitoring load failures, data freshness, and warehouse growth.
  • Planning backup, recovery, and retention.
  • Managing SQL scripts and schema changes through version control.
  • Documenting deployment, maintenance, and recovery procedures.

 

Inquire now

Best selling courses

Duration   3 days – 21 hrs   Overview    This course focuses on the unique risks faced during the setup and construction of bank branches in the Philippines. Participants will learn how to identify, assess, and mitigate risks that could impact construction timelines, security, financial performance, and operational stability. The course covers security measures...

PROGRAMMING / CODING

Advanced Programming in C#

Advanced Programming in C# equips developers with the advanced skills needed to build scalable, secure, and high-performance .NET applications using object-oriented programming, LINQ, asynchronous programming, delegates, events, and modern software development best practices.   Duration 3 days – 21 hrs   Overview The Advanced Programming in C# Training Course is designed for experienced C# developers...

PROGRAMMING / CODING

PHP 8 Web Security

PHP 8 Web Security training helps developers and IT professionals build safer web applications by identifying and preventing common security vulnerabilities. Participants will learn practical techniques for protecting PHP applications against XSS, SQL injection, CSRF, session attacks, and other threats while applying secure coding and web security best practices.   Duration 5 days – 35...

BUSINESS INTELLIGENCE

Power BI Basic

Duration 3 days – 21 hrs   Overview This training course is designed to introduce participants to the fundamentals of Power BI, a powerful business analytics tool by Microsoft. Attendees will learn how to connect, analyze, and visualize data using Power BI. The course covers essential concepts and hands-on exercises to help participants create interactive...

Duration  5 days – 35 hrs   Overview   This training course offers a comprehensive exploration of methods used in solutions analysis and design, focusing on techniques, tools, and best practices employed in the software development lifecycle. Participants will gain a deep understanding of various analysis and design methodologies and learn how to apply them...

Duration  5 days – 35 hrs   Overview   The “Active Directory and Group Policy” training course is designed to provide participants with a comprehensive understanding of Microsoft Active Directory (AD) and Group Policy concepts. Active Directory serves as the backbone for centralized network management in Windows environments, while Group Policy enables administrators to efficiently...

This workshop is aimed at imparting the required knowledge required to build Rich Internet Applications (RIA) using React.js.

MOBILE DEVELOPMENT / GAMING / METAVERSE / VR - AR

.NET MAUI

.NET MAUI equips developers with the knowledge and practical skills to build native cross-platform applications for Android, iOS, Windows, and macOS using C#, XAML, MVVM, and the .NET platform.   Duration  3 days – 21 hrs   Overview .NET Multi-platform App UI (.NET MAUI) is a cross-platform framework for creating native mobile and desktop apps...

// BG EARTH WHEN NOT PLAYING

We use cookies on our website to personalize your experience by storing your preferences and recognizing repeat visits. By clicking “Accept”, you agree to the use of all cookies. You can also select “Cookie Settings” to adjust your preferences and provide more specific consent. Cookie Policy