Data warehouse
A data warehouse is a central database that gathers structured data from many systems across an organisation and keeps it, with its history, in a form organised for reporting and analysis.
A business runs on many separate systems: sales, stock, payroll, customer service. Each is built to record transactions quickly, not to answer questions that cut across all of them, such as which products sell best to which customers in which months. A data warehouse copies data from those systems into one place, cleans it, gives it a consistent structure and keeps its history, so that analysts can ask those questions without slowing down the systems that run the business. It is the core of what is usually called business intelligence.
The distinction is between two kinds of workload. Operational systems handle many short transactions and keep current, detailed records (known as OLTP, online transaction processing). Warehouses handle fewer but heavier queries that aggregate large amounts of historical data (OLAP, online analytical processing), and they often store data by column rather than by row to make those queries fast. Data is moved in by ETL, which extracts, transforms and then loads it, or by ELT, which loads raw data first and transforms it inside the warehouse.
The idea dates from the late 1980s. IBM researchers Barry Devlin and Paul Murphy published their architecture for a business data warehouse in 1988. Bill Inmon published Building the Data Warehouse in 1992, and Ralph Kimball published The Data Warehouse Toolkit in 1996, setting out a dimensional approach built on the star schema, which splits data into numeric facts, such as the value of a sale, and descriptive dimensions, such as date, customer and product. Warehouse data is usually described as subject-oriented, integrated, time-variant and non-volatile: organised by business topic, made consistent across sources, kept over time and not overwritten.
Warehouses have well-known limits. Early systems bundled storage and computing into on-premises appliances that had to be sized for peak demand, and they could not store unstructured data such as video, audio and documents. That led to data lakes for raw data, then to cloud warehouses such as Amazon Redshift and Snowflake, and more recently to the lakehouse, which tries to merge lake and warehouse. Researchers at Databricks argued in 2021 that machine learning tools such as TensorFlow and PyTorch do not work well on top of warehouses.
For AI, the warehouse matters because it is often where a company's most trusted numbers live. When a vendor promises an AI assistant that answers questions about your business, it will usually be querying a warehouse or something like one, and the answers can only be as good as the definitions and data quality inside it.
It is a central store that collects data from an organisation's different systems, cleans it, puts it into a consistent structure and keeps its history. Analysts and reporting tools query the warehouse instead of the systems that run day-to-day operations. A warehouse holds structured data that has been cleaned and organised before it is loaded, ready for fast reporting. A data lake holds raw data of any kind, including documents, images and logs, cheaply and with structure applied later. Lakehouses aim to combine the two. ETL extracts data from source systems, transforms it in a separate staging step and then loads it into the warehouse. ELT extracts and loads the raw data into the warehouse first and runs the transformations there. IBM researchers Barry Devlin and Paul Murphy described a business data warehouse architecture in a 1988 article. Bill Inmon and Ralph Kimball wrote the best-known books on the subject, in 1992 and 1996 respectively.Common questions
What is a data warehouse in simple terms?
What is the difference between a data warehouse and a data lake?
What is the difference between ETL and ELT?
Who invented the data warehouse?
Search for "data warehouse architecture", "star schema", "OLAP vs OLTP" or "ETL vs ELT". The books by Bill Inmon and Ralph Kimball remain standard references, and cloud providers' documentation explains how modern warehouses are built. Comparisons between warehouses, lakes and lakehouses are often written by vendors of one of them, so check who published them.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.