Skip to content

Glossary Data warehouse

What is a data warehouse?

  • Analytics
Definition

A data warehouse (DWH) is a central database built for analysis rather than for day-to-day operations. It collects data from several source systems, such as a shop, a CRM or web analytics, makes it consistent and keeps it over time, so that it can be queried and compared. Barry Devlin summarizes the definition that Bill Inmon made popular as "a subject-oriented, nonvolatile, integrated, time-variant collection of data in support of management decisions".

On the left, three cards from different systems, each with a blue line to an orange warehouse in the centre with a roof and shelves of identical blue boxes in rows; a line runs from the warehouse to a bar chart on the right with one orange bar, on a dark blue ground.
On this page 14
  1. Origin of the term
  2. History and development
  3. How it works
  4. Types and variants
  5. Examples
  6. Advantages and disadvantages
  7. How it differs from related concepts
  8. Tools
  9. Criticism and limits
  10. Legal framework
  11. How to apply it, step by step
  12. Best practices
  13. Common mistakes
  14. How this entry was made
In brief

What a data warehouse is, where the term comes from, how ETL and ELT load it, and how it differs from a data mart, a data lake, a lakehouse and a CDP.

On the left, three cards from different systems, each with a blue line to an orange warehouse in the centre with a roof and shelves of identical blue boxes in rows; a line runs from the warehouse to a bar chart on the right with one orange bar, on a dark blue ground.

Origin of the term

In February 1988 the IBM Systems Journal published "An architecture for a business and information system" by B. A. Devlin and P. T. Murphy, based on Devlin's work in IBM Europe's internal IT division. The abstract says that the architecture "proposes an integrated warehouse of company data based firmly in the relational database environment". The problem it names is a new one at the time: access to company information "on a large scale by an end user for reporting and data analysis". Thirty years later Devlin calls the article the first description of a data warehouse architecture. Its central element, he writes, is the business data warehouse, "a single logical repository containing public and personal data at raw, detailed, and summary levels".

The shorter term data warehouse is the one that, in Devlin's words, "Bill Inmon popularized in the early 1990s", with the book Building the Data Warehouse (1992). Devlin credits Inmon with the "oft-quoted definition" above and adds that its four characteristics are "implicit in the EBIS architecture and are emergent in Inmon's 1992 book". EBIS is the name IBM Europe, Middle East and Africa gave its architecture. In Devlin's reading the four characteristics mean:

  • Subject-oriented: data is stored in terms such as customer, product, order or transaction, which business people know, and not in the structures of one application.
  • Integrated: data from different sources is reconciled, for example when two systems define profit differently.
  • Nonvolatile: the warehouse keeps a stable record of current and historical states, so that a business situation can be recreated as of a date in the past. Devlin adds: "Ideally, data is never deleted."
  • Time-variant: "All data records in the warehouse are timestamped."

History and development

Three later stations changed what a data warehouse is compared with:

  • 1996: Ralph Kimball's book The Data Warehouse Toolkit. The Kimball Group says he introduced the industry to dimensional modeling with it. Devlin names the result the dimensional or star-schema data warehouse.
  • 14 October 2010: James Dixon writes in his blog that his team has "created a concept called the Data Lake", as an answer to data that does not fit a data mart with aggregated attributes.
  • January 2021: Michael Armbrust, Ali Ghodsi, Reynold Xin and Matei Zaharia, all at Databricks, present the Lakehouse at the CIDR conference. Their abstract argues that the data warehouse architecture "will wither in the coming years" and be replaced by it. The authors work at Databricks, whose products are built on the lakehouse architecture.

How it works

Data flows into a data warehouse from transactional systems, relational databases and other sources, AWS writes, "on a regular cadence". Two loading patterns exist. In ETL (extract, transform, load), data is combined "from multiple sources into a large, central repository called a data warehouse", and business rules clean and organize it on the way. ELT reverses the order: "You can load data directly into the target system before processing it." Google's BigQuery documentation describes the second pattern for marketing data: "A typical ELT workflow periodically extracts new customer data from your data source and loads it into BigQuery."

Inside the warehouse, two schools shape the structure. In the layered approach, data is integrated and reconciled in a central enterprise data warehouse and then handed on to departmental data marts. Kimball's dimensional approach builds a "performant database consisting only of relevant facts and dimensions" for departmental business processes, in Devlin's description. Facts record measurements such as an order value, dimensions record the context in which they occurred. This model is "optimized for the most common type of analysis: slice-and-dice and drill-down".

A warehouse sits on the analytical side of a split that AWS describes with two terms. The primary purpose of online analytical processing (OLAP) "is to analyze aggregated data", while online transaction processing (OLTP) "is to process database transactions". The shop's order database is an OLTP system. Devlin notes that the architecture rests on the postulate "that operational and informational systems are separated for business and technical reasons". Business analysts, data engineers, data scientists and decision makers reach the warehouse, according to AWS, through BI tools, SQL clients and other analytics applications.

Is your data cleaned before or after it reaches the warehouse?

Types and variants

Enterprise data warehouse (EDW): the central hub of the layered approach, where data from diverse sources is reconciled before it feeds departmental data marts. Devlin calls this hub-and-spoke structure "often referred to as the Inmon data warehouse". He also notes that neither the EBIS paper nor Inmon's early book contained it yet.

Data mart: AWS defines it as "a data storage system that contains information specific to an organization's business unit", a "small and selected part of the data that the company stores in a larger storage system". Devlin says that a subject-oriented warehouse for a single department is "perhaps better called a data mart".

Cloud data warehouse: the provider runs the machines, and the customer works with SQL. Snowflake and Google describe their products as separating storage from compute. Section Tools lists six platforms, with each provider's own description.

Examples

Google's BigQuery documentation contains a tutorial for exactly the marketing case. It shows "how to set up an ELT workflow that extracts, loads, and transforms marketing analytics data in BigQuery", with Google Ads as the data source, the BigQuery Data Transfer Service for loading and Dataform for scheduled transformations. For Google Ads, the documentation says you can "schedule recurring transfer jobs that add your latest data from your Google Ads to BigQuery". Google Analytics 4 supplies its part through the BigQuery export, in which "events_YYYYMMDD" is "the full daily export of events". More on that in GA4 export to BigQuery.

Worked example with round numbers and no real company: A UK online shop spends £2,000 on Google Ads in November. The GA4 export in BigQuery shows £6,000 of revenue from those campaigns. The shop's order system, loaded into the same warehouse from the CRM or shop backend, records that orders worth £1,500 of that revenue were cancelled or returned. If the order number exists in both sources, the warehouse can join the three tables: Revenue divided by cost (ROAS) is 3.0 on the GA4 figure and 2.25 on confirmed revenue. A report that reads only the GA4 export shows the first value. The warehouse can show both, and a dashboard in Looker Studio (in April 2026 the product returned to its original name, Data Studio) can read the joined table. Google's documentation says that connecting BigQuery data to Data Studio "lets you build and consume interactive data visualizations, dashboards, and reports". Whether the order number is stored in the GA4 events is a setup decision of the shop.

  • Ad cost from the Google Ads transfer: £2,000.
  • Revenue per GA4: £6,000.
  • Confirmed revenue per order system: £4,500.
Which revenue goes into your ROAS?

Advantages and disadvantages

Advantages:

  • One basis for several questions: data from CRM, shop and analytics shares definitions, so two reports of the same period can be compared.
  • History: the warehouse keeps earlier states, which allows reports as of a past date.
  • Analysis does not run in the shop's order system, because operational and analytical systems are separate.
  • Access through SQL and BI tools that analysts already use.

Disadvantages:

  • Build effort: in the layered approach, Devlin writes, at least part of the central warehouse "must be built before any data marts can be delivered".
  • Delay: in the same passage he notes that "each additional layer delays the arrival of data to where it's needed".
  • Cost: Google lists two main components for BigQuery, compute and storage. In the on-demand model you pay "for the data scanned by your queries". Prices differ by provider and change, so check the provider's pricing page.
  • Fixed questions: Dixon criticizes aggregated structures, because "only a subset of the attributes are examined, so only pre-determined questions can be answered".

How it differs from related concepts

ConceptContentState of the dataEntry
Data warehouseData from several sources, for analysisCleansed and structuredThis entry
Data martOne department's part of the dataAs in the warehouse, smallerSection Types and variants
Data lakeSource dataA body of water "in a more natural state" (Dixon)No entry
LakehouseLake data with warehouse functionsOpen file formats such as ParquetNo entry
CDPCustomer profiles for other systemsUnified per personCustomer data platform

Source: Dixon (2010), Devlin (2018), AWS, Armbrust and others (2021), accessed 3 December 2026.

Dixon's picture sets the data mart against the lake: the mart is "a store of bottled water", "cleansed and packaged and structured for easy consumption", the lake "a large body of water in a more natural state". Devlin adds that integration of key data to common standards "has been underemphasized in the data lake approach". Databricks describes a lakehouse as "a data management system that combines the benefits of data lakes and data warehouses". A CDP builds person-level profiles for other systems. It may keep its own copy of the data or work on the company's warehouse, and the entry on CDPs holds that comparison. Big data names the data volume, the warehouse is one place to store such data.

Tools

PlatformProviderDescription by the provider
Amazon RedshiftAmazon Web ServicesA fully managed data warehouse service in the cloud, at petabyte scale
Azure Synapse AnalyticsMicrosoftAn analytics service across data warehouses and big data systems
BigQueryGoogle CloudA cloud-based data warehouse combined with analytic tools
Databricks SQLDatabricksA cloud data warehouse built on lakehouse architecture
Microsoft Fabric Data WarehouseMicrosoftA relational warehouse on a data lake foundation
SnowflakeSnowflakeA data platform for storage, processing and analytics, with storage separated from compute

Source: provider documentation, accessed 3 December 2026. The addresses are listed under Sources. The order is alphabetical and does not rank the products.

Criticism and limits

Devlin, whom his journal biography calls "a founder of the data warehousing industry", names limits of the concept himself. Integration to a "single version of the truth" has "long been recognized as an ideal that is unachievable in practice". The four characteristics, he writes, "are neither complete nor fully congruent", and every implementation trades them off against business needs and technology. Dixon argues that aggregated structures lose the lowest level of detail, and the Databricks authors claim that warehouses struggle with "data staleness, reliability, total cost of ownership, data lock-in, and limited use-case support". Both authors propose an alternative, the data lake and the lakehouse.

Platform limits also shape the marketing case. Google states that standard Google Analytics 4 properties "have a daily BigQuery Export limit of 1 million events", and that exports above the limits of the free BigQuery sandbox incur charges.

How to apply it, step by step

  • Write down the questions the warehouse has to answer, for example cost and net revenue per campaign.
  • List the sources and who owns each one: shop, CRM, Google Ads, Google Analytics.
  • Decide between ETL and ELT. With a cloud platform that has its own transfer service, loading first is the shorter path.
  • Link GA4 to BigQuery and set up the Google Ads transfer.
  • Choose the keys that join the sources, such as order number and campaign ID.
  • Model facts and dimensions: orders and ad cost as facts, date, product and campaign as dimensions.
  • Set a retention rule for every column with personal data.
  • Build the report on the warehouse and check a sample against the source system.

Best practices

  • Write the definition of each KPI down once and use it in every report.
  • Load only the fields that serve a named question.
  • Keep a load log with date, source and row count, so that gaps can be found.

Common mistakes

  • Using the warehouse as the system that takes orders. It analyzes, the shop transacts.
  • Loading everything "for later", which conflicts with the purpose limitation in the GDPR.
  • Calling the same figure by one name in two reports with two definitions behind it.
  • Ignoring the export limit of 1 million events per day for standard GA4 properties.
  • Reading a warehouse report as the original: it shows the data as loaded and transformed.

How this entry was made

This entry was written in December 2026 with the help of AI. The history comes from Barry Devlin's retrospective in the Business Intelligence Journal (2018) and from the abstract of his 1988 article with Paul Murphy on his company's website. Inmon's 1992 book is not freely available, so his definition is quoted as Devlin reports it. Product descriptions are the providers' own statements. The worked example is ours and uses round numbers. All sources were accessed on 3 December 2026.

Manuel Riveiro Rodriguez CEO & Digital Strategist

A technical audit covers this and everything else in one pass.

Request an audit

Frequently asked

What is a data warehouse and what is it used for?

A data warehouse is a central database for analysis. It collects data from several source systems, makes it consistent and keeps it over time, so that reports and comparisons can run on one basis. AWS describes it as a central repository of information that can be analyzed to make more informed decisions.

What is the difference between a data lake and a data warehouse?

A warehouse holds data that has been cleansed and structured for analysis. A data lake, in James Dixon's picture from 2010, holds data in a more natural state, and users examine it or take samples. A lakehouse, according to Databricks, combines the benefits of both.

What is a data mart?

A data mart holds the part of a company's data that belongs to one business unit, such as sales or marketing. AWS describes it as a small and selected part of the data stored in a larger storage system.

Is a data warehouse OLAP or OLTP?

A warehouse works on the analytical side, OLAP. The primary purpose of OLAP is to analyze aggregated data, while OLTP processes database transactions, such as the orders of a shop.

How much does a data warehouse cost?

The cost depends on the provider and the way you use it. For BigQuery, Google names compute and storage as the two main components, and in the on-demand model the charge follows the data scanned by queries. Prices change, so the pricing page of the provider is the source for any figure.

Sources

  1. B. A. Devlin and P. T. Murphy, "An architecture for a business and information system", IBM Systems Journal 27(1), 1988, pp. 60-80, DOI 10.1147/sj.271.0060, abstract on the website of 9sight Consulting.
  2. Barry Devlin, "Thirty Years of Data Warehousing", Business Intelligence Journal 23(1), 2018.
  3. Kimball Group, "Dimensional Modeling Techniques".
  4. James Dixon, "Pentaho, Hadoop, and Data Lakes", 14.10.2010.
  5. Michael Armbrust, Ali Ghodsi, Reynold Xin and Matei Zaharia, "Lakehouse: A New Generation of Open Platforms that Unify Data Warehousing and Advanced Analytics", CIDR 2021.
  6. Databricks, "What is a data lakehouse?".
  7. AWS, "What is a Data Warehouse?".
  8. AWS, "What is ETL?".
  9. AWS, "What is a Data Mart?".
  10. AWS, "OLTP vs OLAP".
  11. Google Cloud, "BigQuery overview".
  12. Google Cloud, "Load Google Ads data into BigQuery".
  13. Google Cloud, "Build ELT pipeline for marketing analytics data".
  14. Google Cloud, "Analyze data with Data Studio".
  15. Google Cloud, "Welcome to Data Studio".
  16. Google Cloud, BigQuery pricing, section "Overview of BigQuery pricing".
  17. Amazon Web Services, "What is Amazon Redshift?".
  18. Microsoft, "What is Azure Synapse Analytics?".
  19. Databricks, "Data warehousing on Databricks".
  20. Microsoft, "What Is Fabric Data Warehouse?".
  21. Snowflake, "Snowflake key concepts and architecture".
  22. Regulation (EU) 2016/679 of the European Parliament and of the Council of 27 April 2016 (General Data Protection Regulation), Article 5.
  23. Google, "BigQuery Export", Analytics Help.
  24. UK Parliament, "Data Protection Act 2018", which also links the UK GDPR on legislation.gov.uk.