The Wayback Machine - https://web.archive.org/web/20240927181426/https://www.geeksforgeeks.org/data-warehousing/
Open In App

Data Warehousing

Last Updated : 04 Feb, 2024
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

A Database Management System (DBMS) stores data in the form of tables and uses an ER model and the goal is ACID properties. For example, a DBMS of a college has tables for students, faculty, etc. 

A Data Warehouse is separate from DBMS, it stores a huge amount of data, which is typically collected from multiple heterogeneous sources like files, DBMS, etc. The goal is to produce statistical results that may help in decision-making. For example, a college might want to see quick different results, like how the placement of CS students has improved over the last 10 years, in terms of salaries, counts, etc. 

Issues Occur while Building the Warehouse

  • When and how to gather data: In a source-driven architecture for gathering data, the data sources transmit new information, either continually (as transaction processing takes place), or periodically (nightly, for example). In a destination-driven architecture, the data warehouse periodically sends requests for new data to the sources. Unless updates at the sources are replicated at the warehouse via two phase commit, the warehouse will never be quite up to-date with the sources. Two-phase commit is usually far too expensive to be an option, so data warehouses typically have slightly out-of-date data. That, however, is usually not a problem for decision-support systems.
  • What schema to use: Data sources that have been constructed independently are likely to have different schemas. In fact, they may even use different data models. Part of the task of a warehouse is to perform schema integration, and to convert data to the integrated schema before they are stored. As a result, the data stored in the warehouse are not just a copy of the data at the sources. Instead, they can be thought of as a materialized view of the data at the sources.
  • Data transformation and cleansing: The task of correcting and preprocessing data is called data cleansing. Data sources often deliver data with numerous minor inconsistencies, which can be corrected. For example, names are often misspelled, and addresses may have street, area, or city names misspelled, or postal codes entered incorrectly. These can be corrected to a reasonable extent by consulting a database of street names and postal codes in each city. The approximate matching of data required for this task is referred to as fuzzy lookup.
  • How to propagate update: Updates on relations at the data sources must be propagated to the data warehouse. If the relations at the data warehouse are exactly the same as those at the data source, the propagation is straightforward. If they are not, the problem of propagating updates is basically the view-maintenance problem.
  • What data to summarize: The raw data generated by a transaction-processing system may be too large to store online. However, we can answer many queries by maintaining just summary data obtained by aggregation on a relation, rather than maintaining the entire relation. For example, instead of storing data about every sale of clothing, we can store total sales of clothing by item name and category.

Need for Data Warehouse 

An ordinary Database can store MBs to GBs of data and that too for a specific purpose. For storing data of TB size, the storage shifted to the Data Warehouse. Besides this, a transactional database doesn’t offer itself to analytics. To effectively perform analytics, an organization keeps a central Data Warehouse to closely study its business by organizing, understanding, and using its historical data for making strategic decisions and analyzing trends. 

Benefits of Data Warehouse

  • Better business analytics: Data warehouse plays an important role in every business to store and analysis of all the past data and records of the company. which can further increase the understanding or analysis of data for the company.
  • Faster Queries: The data warehouse is designed to handle large queries that’s why it runs queries faster than the database.
  • Improved data Quality: In the data warehouse the data you gathered from different sources is being stored and analyzed it does not interfere with or add data by itself so your quality of data is maintained and if you get any issue regarding data quality then the data warehouse team will solve this.
  • Historical Insight: The warehouse stores all your historical data which contains details about the business so that one can analyze it at any time and extract insights from it.

Data Warehouse vs DBMS 

Database

Data Warehouse

A common Database is based on operational or transactional processing. Each operation is an indivisible transaction.

A data Warehouse is based on analytical processing.

Generally, a Database stores current and up-to-date data which is used for daily operations.

A Data Warehouse maintains historical data over time. Historical data is the data kept over years and can used for trend analysis, make future predictions and decision support.

A database is generally application specific.

Example – A database stores related data, such as the student details in a school.

A Data Warehouse is integrated generally at the organization level, by combining data from different databases.

Example – A data warehouse integrates the data from one or more databases , so that analysis can be done to get results , such as the best performing school in a city.

Constructing a Database is not so expensive.

Constructing a Data Warehouse can be expensive.

Example Applications of Data Warehousing 

Data Warehousing can be applied anywhere where we have a huge amount of data and we want to see statistical results that help in decision making. 

  • Social Media Websites: The social networking websites like Facebook, Twitter, Linkedin, etc. are based on analyzing large data sets. These sites gather data related to members, groups, locations, etc., and store it in a single central repository. Being a large amount of data, Data Warehouse is needed for implementing the same.
  • Banking: Most of the banks these days use warehouses to see the spending patterns of account/cardholders. They use this to provide them with special offers, deals, etc.
  • Government: Government uses a data warehouse to store and analyze tax payments which are used to detect tax thefts.

Features of Data Warehousing

Data warehousing is essential for modern data management, providing a strong foundation for organizations to consolidate and analyze data strategically. Its distinguishing features empower businesses with the tools to make informed decisions and extract valuable insights from their data.

  • Centralized Data Repository: Data warehousing provides a centralized repository for all enterprise data from various sources, such as transactional databases, operational systems, and external sources. This enables organizations to have a comprehensive view of their data, which can help in making informed business decisions.
  • Data Integration: Data warehousing integrates data from different sources into a single, unified view, which can help in eliminating data silos and reducing data inconsistencies.
  • Historical Data Storage: Data warehousing stores historical data, which enables organizations to analyze data trends over time. This can help in identifying patterns and anomalies in the data, which can be used to improve business performance.
  • Query and Analysis: Data warehousing provides powerful query and analysis capabilities that enable users to explore and analyze data in different ways. This can help in identifying patterns and trends, and can also help in making informed business decisions.
  • Data Transformation: Data warehousing includes a process of data transformation, which involves cleaning, filtering, and formatting data from various sources to make it consistent and usable. This can help in improving data quality and reducing data inconsistencies.
  • Data Mining: Data warehousing provides data mining capabilities, which enable organizations to discover hidden patterns and relationships in their data. This can help in identifying new opportunities, predicting future trends, and mitigating risks.
  • Data Security: Data warehousing provides robust data security features, such as access controls, data encryption, and data backups, which ensure that the data is secure and protected from unauthorized access.

Advantages of Data Warehousing

  • Intelligent Decision-Making: With centralized data in warehouses, decisions may be made more quickly and intelligently.
  • Business Intelligence: Provides strong operational insights through business intelligence.
  • Historical Analysis: Predictions and trend analysis are made easier by storing past data.
  • Data Quality: Guarantees data quality and consistency for trustworthy reporting.
  • Scalability: Capable of managing massive data volumes and expanding to meet changing requirements.
  • Effective Queries: Fast and effective data retrieval is made possible by an optimized structure.
  • Cost reductions: Data warehousing can result in cost savings over time by reducing data management procedures and increasing overall efficiency, even when there are setup costs initially.
  • Data security: Data warehouses employ security protocols to safeguard confidential information, guaranteeing that only authorized personnel are granted access to certain data.

Disadvantages of Data Warehousing

  • Cost: Building a data warehouse can be expensive, requiring significant investments in hardware, software, and personnel.
  • Complexity: Data warehousing can be complex, and businesses may need to hire specialized personnel to manage the system.
  • Time-consuming: Building a data warehouse can take a significant amount of time, requiring businesses to be patient and committed to the process.
  • Data integration challenges: Data from different sources can be challenging to integrate, requiring significant effort to ensure consistency and accuracy.
  • Data security: Data warehousing can pose data security risks, and businesses must take measures to protect sensitive data from unauthorized access or breaches.

There can be many more applications in different sectors like E-Commerce, telecommunications, Transportation Services, Marketing and Distribution, Healthcare, and Retail. 

Conclusion

Data warehousing in database management systems (DBMS) enables integrated data management, providing scalable solutions for enhanced business intelligence and decision-making within businesses. Its advantages in data quality, historical analysis, and scalability highlight its critical role in deriving important insights for a competitive edge, even in the face of implementation problems.
 



Similar Reads

Difference between Data Warehousing and Data Mining
A Data Warehouse is built to support management functions whereas data mining is used to extract useful information and patterns from data. Data warehousing is the process of compiling information into a data warehouse. The main purpose of data warehousing is to consolidate and store large datasets from various sources for efficient retrieval and a
5 min read
Designing the Star Schema in Data Warehousing
Star schema is the fundamental schema among the data mart schema and it is simplest. This schema is widely used to develop or build a data warehouse and dimensional data marts. It includes one or more fact tables indexing any number of dimensional tables. The star schema is a necessary cause of the snowflake schema. It is also efficient for handlin
5 min read
Difference between Data Warehousing and Online transaction processing (OLTP)
Information is crucial to today’s organizations and acts as the base for their decisions, work, and planning. Two minor systems that are useful in managing this data include Data Warehousing (DWH) as well as Online Transaction Processing (OLTP). Though both systems are essential, they serve distinct purposes: Essentially, DWH deals with data and de
3 min read
Types of Sources of Data in Data Mining
In this post, we will discuss what are different sources of data that are used in data mining process. The data from multiple sources are integrated into a common source known as Data Warehouse. Let's discuss what type of data can be mined: Flat FilesFlat files is defined as data files in text form or binary form with a structure that can be easily
6 min read
Processing of Raw Data to Tidy Data in R
The data that is download from web or other resources are often hard to analyze. It is often needed to do some processing or cleaning of the dataset in order to prepare it for further downstream analysis, predictive modeling and so on. This article discusses several methods in R to convert the raw dataset into a tidy data. Raw Data A Raw data is a
5 min read
Characteristics of Biological Data (Genome Data Management)
There are many characteristics of biological data. All these characteristics make the management of biological information a particularly challenging problem. Here mainly we will focus on characteristics of biological information and multidisciplinary field called bioinformatics. Bioinformatics, now a days has emerged with graduate degree programs
6 min read
Difference between Data Warehouse and Data Mart
Both Data Warehouse and Data Mart are used for store the data. The main difference between Data warehouse and Data mart is that, Data Warehouse is the type of database which is data-oriented in nature. while, Data Mart is the type of database which is the project-oriented in nature. The other difference between these two the Data warehouse and the
2 min read
Data Integration in Data Mining
INTRODUCTION : Data integration in data mining refers to the process of combining data from multiple sources into a single, unified view. This can involve cleaning and transforming the data, as well as resolving any inconsistencies or conflicts that may exist between the different sources. The goal of data integration is to make the data more usefu
5 min read
How Big Data Artificial Intelligence is Changing the Face of Traditional Big Data?
Big data is slowly becoming a technology of the past. Recently, Big Data AI, a combination of Big Data and Artificial Intelligence, is empowering businesses to compile data as well as respond to it. Both big data and AI technologies are among the hottest trends with a variety of applications in the world of technology. Big data helps businesses acc
6 min read
Data Mining: Data Warehouse Process
INTRODUCTION: Data warehousing and data mining are closely related processes that are used to extract valuable insights from large amounts of data. The data warehouse process is a multi-step process that involves the following steps: Data Extraction: The first step in the data warehouse process is to extract data from various sources such as transa
8 min read
Data Mining: Data Attributes and Quality
Prerequisite - Data Mining Data: It is how the data objects and their attributes are stored. An attribute is an object's property or characteristics. For example. A person's hair colour, air humidity etc.An attribute set defines an object. The object is also referred to as a record of the instances or entity. Different types of attributes or data t
4 min read
Data Reduction in Data Mining
Prerequisite - Data Mining The method of data reduction may achieve a condensed description of the original data which is much smaller in quantity but keeps the quality of the original data. INTRODUCTION: Data reduction is a technique used in data mining to reduce the size of a dataset while still preserving the most important information. This can
7 min read
Data Architecture Design and Data Management
In the beginning times of computers and Internet, the data used was not as much of as it is today, The data then could be so easily stored and managed by all the users and business enterprises on a single computer, because the data never exceeded to the extent of 19 exabytes but now in this era, the data has increased about 2.5 quintillions per day
4 min read
Difference between Traditional data and Big data
1. Traditional data: Traditional data is the structured data that is being majorly maintained by all types of businesses starting from very small to big organizations. In a traditional database system, a centralized database architecture used to store and maintain the data in a fixed format or fields in a file. For managing and accessing the data S
6 min read
Difference between Big Data and Data Analytics
1. Big Data: Big data refers to the large volume of data and also the data is increasing with a rapid speed with respect to time. It includes structured and unstructured and semi-structured data which is so large and complex and it cant not be managed by any traditional data management tool. Specialized big data management tools are required to sto
4 min read
Difference Between Data Mining and Data Analysis
1. Data Analysis : Data Analysis involves extraction, cleaning, transformation, modeling and visualization of data with an objective to extract important and helpful information which can be additional helpful in deriving conclusions and make choices. The main purpose of data analysis is to search out some important information in raw data so the d
2 min read
Difference between Data Lake and Data Warehouse
Data LakeData Lake is the concept where all sorts of data can be landed at a low cost but exceedingly adaptable storage/zone to be examined afterward for potential insights. It is another advancement of what ETL/DWH pros called the Landing Zone of data. Only presently we are looking at ALL sorts of information independent of construction, structure
3 min read
Difference between Data Scientist and Data Engineer
Data Scientist and Data Engineer. Both professions play crucial roles in the collection, analysis, and utilization of data, but their responsibilities, skill sets, and objectives are distinct. Understanding the differences between a Data Scientist and a Data Engineer is essential for organizations seeking to build robust data teams and for individu
4 min read
Data Stream in Data Analytics
Data stream refers to the continuous flow of data generated by various sources in real-time. It plays a crucial role in modern technology, enabling applications to process and analyze information as it arrives, leading to timely insights and actions. In this article, we are going to discuss concepts of the data stream in data analytics in detail wh
4 min read
Data Normalization in Data Mining
INTRODUCTION:Data normalization is a technique used in data mining to transform the values of a dataset into a common scale. This is important because many machine learning algorithms are sensitive to the scale of the input features and can produce better results when the data is normalized. There are several different normalization techniques that
5 min read
Difference between Data Security and Data Integrity
Data protection and integrity have become very important in this modern world for organizations, companies, and even for the people. Unique, basic, and important to the theme here are two concepts Data Security and Data Integrity. Although both oversee separate ideas in the sector of data management they are commonly referred to. Out of these two,
6 min read
Difference Between Data Privacy and Data Security
Data Privacy and Data Security are the two buzzwords that have become very crucial in modern society, especially in the current world the majority of organizations rely on the use of information. Even though these two concepts are interrelated, they differ in that one focuses on protecting information while the other deals with individuals' rights
7 min read
Data Preprocessing in Data Mining
Data preprocessing is an important step in the data mining process. It refers to the cleaning, transforming, and integrating of data in order to make it ready for analysis. The goal of data preprocessing is to improve the quality of the data and to make it more suitable for the specific data mining task. Steps of Data Preprocessing Data preprocessi
8 min read
Difference between Traditional Data Center and Software Defined Data Center
Data centers vary a lot in design, and there has been much development in the lifetime of this project. Originally, data centers were structures that provided facilities for computer systems, storage, and other networking equipment. However, with the rapid evolution of virtualization, autopilot and cloud technologies Software Defined Data Centers (
5 min read
Difference between Data Redundancy and Data Inconsistency
Introduction In database management, two common issues often encountered are Data Redundancy and Data Inconsistency. These terms refer to different challenges that arise when handling large datasets. A well-structured database design aims to minimize both of these issues to ensure data integrity, accuracy, and efficient storage. This article will e
3 min read
Data Transformation in Data Mining
Data transformation in data mining refers to the process of converting raw data into a format that is suitable for analysis and modeling. The goal of data transformation is to prepare the data for data mining so that it can be used to extract useful insights and knowledge. Data transformation typically involves several steps, including: Data cleani
6 min read
Difference between Data Privacy and Data Protection
The terms Data privacy and Data security are used interchangeably and seem to be the same. But actually, they are not the same. In reality, they can have different meanings depending upon their actual process and use. But they are very closely interconnected and one complements the other during the entire process. So, let's know how Data Privacy di
5 min read
Analysis of test data using K-Means Clustering in Python
This article demonstrates an illustration of K-means clustering on a sample random data using open-cv library. Pre-requisites: Numpy, OpenCV, matplot-lib Let's first visualize test data with Multiple Features using matplot-lib tool. # importing required tools import numpy as np from matplotlib import pyplot as plt # creating two test data X = np.ra
2 min read
Basic Concept of Classification (Data Mining)
Data Mining: Data mining in general terms means mining or digging deep into data that is in different forms to gain patterns, and to gain knowledge on that pattern. In the process of data mining, large data sets are first sorted, then patterns are identified and relationships are established to perform data analysis and solve problems. Classificati
10 min read
KDD Process in Data Mining
Pre-requisites: Data Mining In the context of computer science, “Data Mining” can be referred to as knowledge mining from data, knowledge extraction, data/pattern analysis, data archaeology, and data dredging. Data Mining also known as Knowledge Discovery in Databases, refers to the nontrivial extraction of implicit, previously unknown and potentia
5 min read
Article Tags :