CSC114 ยท 2081 ยท 5 marks
What is data warehouse? Explain.
What is data warehouse? Explain. [5]
Quick answer
A data warehouse is a large, centralized repository of data that is collected, integrated, and stored from multiple sources within an organization for the purpose of reporting, analysis, and decision-making. It is designed to support management's decision-making process by providing a consolidated view of organizational data over time.
Data Warehouse
Definition
Explanation
A data warehouse stores historical and current data from various operational systems (such as sales, finance, HR) in one unified place. Unlike regular databases used for day-to-day transactions, a data warehouse is optimized for querying and analysis.
Key Characteristics of a Data Warehouse
| Characteristic | Description |
|---|---|
| Subject-Oriented | Organized around major subjects like sales, customers, or products rather than ongoing operations |
| Integrated | Data is collected from multiple, heterogeneous sources and made consistent |
| Time-Variant | Data is stored with time stamps; historical data is maintained for trend analysis |
| Non-Volatile | Once data is entered, it is not updated or deleted; it is stable and permanent |
Architecture / Components
- Data Sources -- Operational databases, external files, legacy systems
- ETL Process (Extract, Transform, Load) -- Data is extracted from sources, cleaned/transformed, and loaded into the warehouse
- Data Warehouse Storage -- Central repository where integrated data is stored
- OLAP (Online Analytical Processing) -- Tools used to analyze multidimensional data
- Front-End Tools -- Reporting tools, dashboards, and query tools used by end users
Advantages
- Supports better decision-making by providing consistent and accurate data
- Provides fast query performance since it is optimized for reading
- Maintains historical records for trend and pattern analysis
- Integrates data from multiple sources into a single view
Example
A retail company collects sales data from all its branches. This data is loaded into a data warehouse every night. Managers can then query the warehouse to find out which products sold the most over the last 5 years, helping them make informed business decisions.
Summary
A data warehouse is a subject-oriented, integrated, time-variant, and non-volatile collection of data that supports organizational decision-making by providing a unified and historical view of business data.
Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.