Imagine you are the manager of a large supermarket with branches in Lagos, Ibadan, Abuja, and Port Harcourt.
Every day, your business collects information about customers, products, sales, payments, employees, and deliveries.
How can you use all this information to understand your business and make better decisions?
The answer is Data Warehousing.
A data warehouse helps organisations collect information from different sources, organise it, and use it for reporting and analysis.
Businesses in different industries use data warehouses to answer important questions, identify patterns, understand customers, and improve their operations.
Banks handle thousands or millions of transactions every day. These transactions include deposits, withdrawals, transfers, card payments, and loan repayments.
A data warehouse helps banks bring information from different banking systems together for analysis.
Banks can study customer activities to understand their banking needs and improve their services.
Example: A bank in Nigeria may analyse customer transactions to understand which services are most popular among customers in Lagos and Abuja.
Data warehouses can help security teams analyse transaction history and identify unusual patterns that may require investigation.
Example: If an account suddenly records unusual transactions from different locations, the bank's monitoring systems may flag the activity for review.
A data warehouse supports this type of analysis, although real-time fraud detection may also require specialised transaction monitoring systems.
Banks can analyse historical loan information to understand repayment patterns and assess lending performance.
Management can use warehouse information to prepare reports about revenue, expenses, deposits, withdrawals, and loan activities.
Hospitals and healthcare organisations collect a lot of information about patients, medical tests, treatments, appointments, and payments.
A data warehouse can bring information from different hospital systems together to support healthcare reporting and planning.
Hospitals can analyse approved patient information to understand healthcare service usage and identify patterns.
Management can monitor the number of patients treated, available hospital beds, appointments, and waiting times.
Hospitals can analyse medicine usage and equipment records to improve stock management.
Healthcare organisations can analyse historical health information to identify trends and support public health planning.
Example: A hospital in Ibadan may analyse monthly records to understand how many patients visit its emergency department.
Important: Patient information is sensitive. Healthcare organisations must protect it and only allow authorised people to access it.
Schools, colleges, and universities collect information about students, teachers, examinations, attendance, fees, and courses.
A data warehouse helps educational institutions combine this information and analyse academic performance.
Schools can compare examination results across different classes, departments, and academic sessions.
Example: A secondary school in Lagos can analyse students' Mathematics results over three academic sessions to identify areas where students need more support.
Universities can analyse registration records to understand the number of students in different departments.
Schools can study attendance records to identify patterns and improve student participation.
Educational institutions can analyse school fees, expenses, scholarships, and other financial records.
Retail businesses sell products through physical shops, websites, and mobile applications.
They collect information about customers, orders, payments, products, and deliveries.
A data warehouse helps retailers understand how their businesses are performing.
Retailers can compare sales across different branches, products, and time periods.
Example: A supermarket can identify whether its Lagos branch sells more rice than its Ibadan branch.
Retailers can study purchasing patterns to understand what customers buy and when they buy it.
Businesses can analyse product sales and stock records to improve restocking decisions.
Managers can identify products that sell quickly and products that remain in storage for a long time.
Retailers can compare marketing campaigns to understand which campaigns attract more customers and generate more sales.
Telecommunications companies provide services such as mobile calls, internet access, text messages, and data subscriptions.
These companies generate large amounts of information every day.
A data warehouse helps them analyse customer activities and network performance.
Telecom companies can analyse how customers use voice calls, text messages, and internet data.
They can study network performance information to identify areas where customers experience poor service.
Customer churn happens when customers stop using a company's services.
Telecom companies can study historical customer information to identify patterns associated with customers leaving their services.
Companies can analyse revenue from subscriptions, calls, data bundles, and other services.
Example: A telecommunications company can compare data subscription purchases across different Nigerian states to understand customer demand.
Government agencies collect information about citizens, education, healthcare, taxation, transportation, employment, and public services.
Data warehousing can help government departments organise information and produce reports that support public planning.
Government agencies can analyse approved population data to understand the needs of different communities.
Tax authorities can analyse revenue records to monitor collections and identify reporting patterns.
Education departments can analyse school enrolment, teacher availability, and examination performance.
Government health agencies can analyse healthcare service information to support resource allocation.
Transport agencies can analyse traffic and transport information to identify areas that need better infrastructure.
Manufacturing companies produce goods such as food, clothes, electronics, furniture, and building materials.
They collect information about raw materials, production activities, equipment, product quality, and deliveries.
A data warehouse helps manufacturers understand production performance.
Companies can analyse the number of products manufactured during different periods.
Manufacturers can analyse product inspection records to identify recurring quality problems.
They can analyse machine performance and maintenance records to understand equipment reliability.
Businesses can analyse information about suppliers, raw materials, deliveries, and production costs.
Example: A Nigerian food manufacturing company can analyse production records to understand why one factory produces more goods than another.
Traditional data warehouses often receive information at scheduled intervals, such as hourly, daily, or weekly.
However, some organisations need information to be available much faster.
This is where real-time data processing and analytics become useful.
Real-time data processing involves collecting and processing information as events happen or with very little delay.
Some data warehouse platforms support near-real-time data ingestion and analysis. Other systems may use separate streaming technologies to process information before it reaches the warehouse.
| Traditional Processing | Real-Time Processing |
|---|---|
| Data may be loaded at scheduled intervals. | Data is processed continuously or with very little delay. |
| Useful for daily, weekly, and monthly reports. | Useful for activities that require quick responses. |
| May have longer delays before updated information is available. | Provides more recent information. |
Artificial Intelligence (AI) allows computer systems to perform tasks that normally require human intelligence, such as recognising patterns, making predictions, and understanding information.
Data warehouses can provide organised historical information that AI and machine learning systems use for analysis.
AI systems can analyse historical sales information to estimate future product demand.
Online stores can analyse customer purchase history to recommend products that customers may be interested in.
Machine learning systems can study transaction patterns and help identify activities that may require investigation.
Businesses can use historical information to estimate future revenue, customer demand, and operational needs.
Example: A Nigerian supermarket can use historical sales information to predict how much rice, cooking oil, and other food products it may need during festive periods.
Let's bring everything you have learned together.
Imagine a fictional Nigerian supermarket called SmartMart Nigeria. The company has branches in Lagos, Ibadan, Abuja, and Port Harcourt.
SmartMart wants to improve its business performance by building a data warehouse.
SmartMart collects information from all its branches and business systems.
The company uses an ETL process to extract, clean, transform, and load information into its data warehouse.
The data warehouse uses fact tables and dimension tables to organise sales, customers, products, dates, and store information.
SmartMart uses access control, encryption, backups, and monitoring to protect its business information.
The company uses a Business Intelligence tool such as Power BI to create dashboards and reports.
| Branch | Monthly Sales (โฆ) |
|---|---|
| Lagos | 5,000,000 |
| Ibadan | 3,500,000 |
| Abuja | 4,200,000 |
| Port Harcourt | 2,800,000 |
From this report, SmartMart can see that Lagos has the highest monthly sales, while Port Harcourt has the lowest.
Management can investigate why the branches perform differently and decide what improvements are needed.
Learning data warehousing can prepare you for different technology and business careers.
A data warehouse developer designs, builds, and maintains data warehouse systems.
A data engineer builds systems that collect, move, transform, and store information.
An ETL developer creates processes that extract, transform, and load information from different sources.
A Business Intelligence analyst creates reports and dashboards that help businesses understand their performance.
A data analyst studies information to identify patterns, answer business questions, and support decisions.
A database administrator manages databases, including their performance, security, availability, and maintenance.
It is time to apply what you have learned throughout this course.
Choose one of the following organisations:
List at least four places where the organisation collects information.
Decide whether the organisation needs an enterprise data warehouse, data mart, cloud data warehouse, or another suitable solution.
Explain how information will be extracted, transformed, and loaded into the data warehouse.
Identify the fact table and at least three dimension tables that the organisation may need.
Recommend suitable tools for database management, data integration, data warehousing, and reporting.
Explain how you will use access control, encryption, backups, and data quality checks to protect the information.
Write at least five questions that the organisation should be able to answer using its data warehouse.
Prepare a short project report containing:
| Term | Meaning |
|---|---|
| Sales Analysis | Studying sales information to understand business performance. |
| Customer Analysis | Studying customer information and behaviour. |
| Fraud Detection | Identifying suspicious activities that may indicate fraud. |
| Customer Churn | When customers stop using a company's products or services. |
| Real-Time Processing | Processing information as events happen or with very little delay. |
| Sales Forecasting | Estimating future sales using available information. |
| Data Analytics | Examining information to discover useful patterns and insights. |
| Business Intelligence | Using tools and processes to support business decisions with data. |
| Inventory Management | Monitoring products and stock available in a business. |
| Data Forecasting | Using historical information to estimate future outcomes. |
Congratulations! You have completed all eight modules of Introduction to Data Warehousing.
Throughout this course, you have learned how organisations collect, store, organise, protect, and analyse information using data warehouses.
Final Lesson: Data is valuable when organisations can turn it into useful information. Data warehousing helps businesses organise their information so they can understand what is happening, discover patterns, and make better decisions.
Answer these questions to test your understanding of the entire course.
You have successfully completed the Introduction to Data Warehousing course.
You now understand the basic concepts, tools, technologies, design methods, security practices, and business applications of data warehousing.
Continue practising SQL, data modelling, ETL, and Business Intelligence tools to improve your skills.
Keep learning. Keep practising. Keep building!