Welcome to Module 1 of Introduction to Data Warehousing!
Imagine you own a supermarket with branches in Lagos, Abuja, and Ibadan. Every day, these branches record thousands of transactions. They collect information about products sold, customers, prices, payments, and stock levels.
After some time, you may want to answer questions such as:
To answer these questions easily, the business needs a system that can collect information from different sources, organise it, and make it available for analysis. This is where a data warehouse becomes useful.
Data warehousing is the process of collecting, combining, organising, and storing data from different sources so that it can be used for reporting, analysis, and business decision-making.
A data warehouse is a central storage system designed to hold organised information from different sources for analysis and reporting.
Think of a data warehouse as a large digital library.
A normal library stores books from different authors and subjects. A data warehouse stores information from different business systems in one organised location.
For example, a bank may collect information from:
Instead of checking each system separately, the bank can bring selected information together in a data warehouse.
This makes it easier for analysts and managers to study business performance and customer behaviour.
Businesses generate a lot of information every day. Without proper organisation, it can become difficult to understand what is happening in the business.
Data warehouses help organisations solve this problem.
Managers can use historical information to understand business performance and make informed decisions.
Example: A supermarket manager can compare sales from January to December to identify the months with the highest sales.
Businesses often use different applications to manage their activities. A data warehouse can bring information from these systems together.
Example: An online shop can combine customer information, payment records, delivery information, and product sales.
A data warehouse can store historical data, allowing businesses to compare performance over different periods.
Example: A school can compare student examination results from 2024, 2025, and 2026.
Analysts can use organised warehouse data to prepare reports and dashboards without repeatedly collecting information from different systems.
Example: A company can create a monthly sales report showing revenue, expenses, and profit.
Businesses can analyse customer activities and identify buying patterns.
Example: A telecommunications company can study customer usage patterns to understand which data plans are most popular.
A database and a data warehouse both store information, but they are designed for different purposes.
A database is commonly used to store and manage current operational information. A data warehouse is designed to organise information from different sources for analysis and reporting.
| Database | Data Warehouse |
|---|---|
| Often supports daily business activities. | Supports reporting and data analysis. |
| Usually stores current operational records. | Often stores historical and integrated data. |
| Frequently handles transactions. | Frequently handles analytical queries. |
| Used by operational applications. | Used by analysts, managers, and reporting systems. |
| Example: Recording a customer's payment. | Example: Analysing five years of customer payments. |
You may come across two important terms when learning about databases and data warehouses: OLTP and OLAP.
OLTP means Online Transaction Processing.
It refers to systems designed to handle everyday transactions quickly and accurately.
Examples include:
OLAP means Online Analytical Processing.
It refers to technologies used to analyse large amounts of data from different perspectives.
Examples include:
Easy way to remember:
One of the biggest benefits of data warehousing is that it helps organisations make decisions using information instead of guesswork.
Let's consider a company that sells mobile phones in different Nigerian states.
The company wants to know which location generates the most revenue.
Its data warehouse combines sales records from all its branches.
The analyst creates a report like this:
| Location | Monthly Revenue |
|---|---|
| Lagos | โฆ8,500,000 |
| Abuja | โฆ6,200,000 |
| Ibadan | โฆ3,800,000 |
| Port Harcourt | โฆ4,500,000 |
From this report, the company can identify that Lagos generated the highest revenue during the period.
Management can investigate what makes the Lagos branch successful and consider applying similar strategies in other locations.
Banks use data warehouses to analyse customer transactions, monitor business performance, prepare financial reports, and identify unusual transaction patterns.
Hospitals can combine information from patient registration, laboratory systems, pharmacy records, and billing systems to support reporting and planning.
Schools and universities can analyse student registration, examination results, attendance, and graduation records.
Retail businesses can analyse product sales, stock levels, customer purchases, and branch performance.
Telecommunications companies can study customer subscriptions, call records, internet usage, and network performance.
Before moving to the next module, understand these important terms:
Imagine you manage a supermarket with three branches in Lagos, Ibadan, and Abuja.
Each branch records its daily sales separately. Your manager wants one report showing the total sales made by all branches during the last six months.
Answer the following questions:
Well done! You have completed Module 1.
In this module, you learned that:
Test your understanding by answering these questions:
In the next module, you will learn about Data Warehouse Architecture and Components. You will explore how data moves from different sources into a data warehouse and understand the important parts that make the system work.
Keep learning. Your data warehousing journey has just begun!