
What is a data warehouse and how do you set one up?
A data warehouse is not a goal in itself. It is a means to take better decisions, faster.
The data warehouse in short
- A data warehouse (DWH) is an integrated database in which you can find, combine and analyze relevant, structured data from different sources, arranged by subject.
- Data in a data warehouse is never changed; you only add (correction) records. That keeps management information reliable and builds up history.
- The end point of every modeling school (Kimball, Inmon, Data Vault) is the star schema: fact tables with dimension tables that users can query without joining tables themselves.
- Do not start with a complete enterprise data warehouse. Start small, build iteratively and let the architecture grow with the maturity of BI in the organization.
- Never compromise on five principles: symmetry, mandatory delivery of data, privacy by design, non-volatility and cloud-first.
What is a data warehouse?
With data warehousing you build a solid, future-proof data infrastructure that makes simple and complex data analyses, flexible reporting, data mining and interactive KPI dashboards possible. A data warehouse (DWH) combines data from different sources and applies a specific data model, with facts and dimension tables, so that users get answers to questions very quickly. Whether it is an ad hoc analysis, a new report or KPI dashboard, or a machine learning model: data warehouses deliver the right data and insights at lightning speed. A concise definition:
A data warehouse is an integrated database in which you can find, combine and analyze relevant, structured data from different sources, arranged by subject.
You may not change data in a data warehouse; you may only add (correction) records. This essential principle is one of the things that keep the production of management information reliable.

The figure shows in outline why a data warehouse is so important: users can make all kinds of cross-connections across departments and systems, at the push of a button.
Answering complex questions at speed
In a data warehouse you mix all your business data and relevant external data. You clean, combine, align and summarize the data. That lets data analysts and decision makers get answers to numerous more complex questions very quickly, for example:
- Which customers do you earn the most from, why is that, and what does the customer journey look like?
- Where are the largest work stocks and the longest lead times?
- In which postcode areas do potential customers for our new product live?
- Which expense claims are suspicious and how do you make the right selection?
- Which department has the highest absenteeism and what is the cause?
- Which customers have payment arrears above the norm?
What is a logical data warehouse?
Data in data warehouses is not always physically stored. There is also such a thing as a logical data warehouse. You model the data according to data warehousing principles, but retrieve it directly from the source through the logical model, neatly arranged with data virtualization software. The disadvantage is that you cannot build up history and that your source systems can fall over under more complex analyses or large reports.

In practice it is often unfeasible to run all reports and dashboards through a fully logical data warehouse. Not only can the source systems fall over, in some cases the figures cannot be calculated accurately enough. That is why the hybrid model is popular: what can go through a logical data warehouse does, and what cannot is stored in the physical one.
Physical versus logical data warehouse
The two forms side by side.
Physical data warehouse
Logical data warehouse
Storage
Data is copied and stored
Data stays in the source
History
Is built up
Not available
Load on sources
Only during loading
With every query
Timeliness
Depends on refresh rate
Real time
The value of a data warehouse grows with the maturity of BI
When you start with business intelligence and analytics, it is not wise to set up a large-scale data warehouse right away. Better decisions are not the result of a well-built data warehouse, but of decision makers and analysts who work in a data-driven way and are data literate. Think of a data warehouse as a Ferrari: then you also need a Max Verstappen. As you grow in BI maturity, you make more complex analyses from different angles (marketing, finance, operations), you need a more robust data infrastructure, and the added value of a data warehouse grows.

How do you set up a modern data warehouse?
Setting up a structured, modern data warehouse is a complex task with many design dilemmas. One of the dominant ones is storage space versus speed. An index on a table means extra storage, but also a much faster response time. Because storage hardly costs money anymore and speed is still underestimated, the choice is quickly made. In a data warehouse architecture you make sure the user experiences formidable speed in 80% of the queries, because that makes learning from data much easier.
Design a data warehouse with facts and dimensions
The structure of the data in your sources is unsuitable for (heavy) analyses: you have to join too many tables and plough through too many records to get an answer. In the data warehouse you therefore transform the structure of your sources, through an ETL process, into a dimensional structure with facts and dimensions. This structure is called a star schema, with which the user can select data easily without having to join all kinds of tables. That all happens automatically under the hood.
The steps

- Business case: map the desired analyses, reports and dashboards (the most important queries), estimate costs and benefits and list the main advantages. Also look at the data literacy of the future users and the maturity of BI, because that determines how heavy the data warehouse has to be.
- Architecture and data model: after approval by the stakeholders, including the board, the architect draws the architecture and designs the data model.
- Software selection: make a considered choice for the database management system, a data warehouse automation tool and/or an ETL tool.
- Build: the developer builds the required ETL, the star schemas and the data marts.
Data warehouse governance
Because you bring together a great deal of internal and external data, you need a good governance structure. A governance model applies many principles from the well-known DAMA-DMBOK2 framework. It helps in drawing up policy, procedures and standards for data sources, security, definitions and access, and in assessing the consequences for business processes. Two concepts are central:
- Master data management (MDM): this discipline brings essential master data into focus and ensures that it is entered once and stored in one central place. Centrally managing a universal set of master data is crucial for correct and efficient operations.
- Metadata: turns the underlying data into really usable information. Metadata tells what the data is, where it comes from, how it was produced and what its quality is. Certainly when data is stored in a fragmented way, metadata is indispensable.
Master data management versus data warehouse is comparing apples and oranges: precisely with a good data warehouse you can give shape to MDM, because that is where a lot of data comes together and you can determine which data is the master. But you can also buy separate MDM software.
Put an end to the Excel addiction
Numerous best practices show that investing in data warehousing makes an organization more intelligent. Yet using Excel as a “data warehouse” is still common.

The risks are evident. It is error-prone and labor-intensive, and everyone can use their own version of the truth. Meetings are then spent entirely on interpreting and checking the data instead of on analysis and improvement actions. Not to mention the precious time highly educated employees lose collecting and correcting data over and over again. Excel really stands in the way of effective use of information, sound analysis and good steering.
Alternatives to a data warehouse
- Data warehouse appliance: a combination of hardware, software and storage that processes data very quickly, including an in-memory database. Little maintenance and good performance, but such a “data washing machine” limits your agility: it is largely pre-programmed.
- Data virtualization software: decouples data sources from applications and reports and offers users a virtual data layer over different sources that can be accessed in real time. This increases speed and flexibility of delivery, but you have to define such a logical data warehouse well first, and the question is whether your IT landscape is suitable for it.
The 15 basic principles of data warehousing
- Symmetry: the architecture mirrors the business processes. This provides an overarching picture and one version of the truth.
- Mandatory use and mandatory delivery: the data warehouse is a unique, independent and generic business function. Delivering data to it is mandatory, even if a team does not use it yet.
- Granularity: the data is delivered in as much detail as possible, with exactly the same granularity as in the source systems. This increases testability and makes detailed analyses possible.
- Data quality: the data warehouse monitors data quality, but the responsibility lies with the process owners.
- Privacy by design: personal data can never be stored or used improperly or without a proper legal basis, or appear in recognizable form.
- Different flavors: the data warehouse supports reports, data discovery, ad hoc analyses, downloads, self-service BI, interactive dashboards, algorithm development and performance management.
- Synchronization: the refresh rate matches the regularity and frequency of the events in the business processes.
- Streaming first: where possible, you always update the data warehouse or data lake in (near) real time.
- Non-volatile: data once included may never be changed, even if it is wrong. You may add data that corrects the error.
- Maintainability and extensibility: the logic and calculations in the indicators, measures and dimensions are laid down in one place as far as possible.
- Complexity under the hood: indicators and dimensions can be selected directly by users. This prevents every employee from having to compose their own indicators.
- Flexibility and completeness: the load process takes along as much meaningful surrounding data as possible. If one attribute from a table is needed, you take all attributes of that table.
- Independence of specific BI tools: the architecture is as independent as possible of the software used or still to be purchased.
- One data warehouse: there is one data warehouse; big data sources are accessed through the data lake.
- Cloud-first: all components of ETL and the data warehouse run in the cloud, unless there are compelling reasons not to.
In the initial phase you will have to compromise, otherwise the data warehouse becomes far too expensive or users drop out because it takes too long. But on five principles you should make no concessions: symmetry, mandatory delivery of data, privacy by design, non-volatility and cloud-first.
With a very fast data warehouse the learning processes of teams and employees can accelerate by at least a factor of 10. Process improvements and innovations become visible to the right people sooner, and the organization gains in agility.
Data warehouse software
You need at least a database to store the data in. Sometimes it contains built-in tools for loading, but in many cases you will look for ETL tools or data warehouse automation software. SAP has its own data warehouse, SAP Business Warehouse (BW): if you use SAP for all processes, you do not have to set up a new data warehouse and the development costs are considerably lower. If you use many other systems besides SAP, the business case is not easily made, because data from other systems cannot simply be loaded quickly and well. Oracle supplies a data warehouse that you can buy and use separately, the Oracle Autonomous Data Warehouse.
A complete data warehouse architecture
Building a mature and complete data warehouse can take many years and involves large investments for which you develop a solid business case. Ahold, for example, took no less than seven years to build one enterprise data warehouse that everyone in the company can use.
A data warehouse is not a goal in itself, but a means to take better decisions and to improve and accelerate decision-making at all levels of your organization.

An architecture does not have to be built for eternity. You work situationally, without losing sight of the long-term perspective:
- When you start with BI and analytics, you simply make a copy of your source system, put it on another server, refresh it every night and develop reports and dashboards on it. The costs are minimal and you quickly gain a lot of insight.
- In the next phase you develop a mini data warehouse with a few crucial facilities: capturing the data, transforming it into facts and dimensions and aggregating the most important facts. You work iteratively so that users discover the added value.
- In the last phases of BI maturity you consider how to build a complete enterprise data warehouse in which all required internal and external sources are made accessible. Again no big bang: the team builds the architecture iteratively, in close cooperation with expert users.
Do not let anyone tell you that you can start straight away with a complete enterprise data warehouse. Far too many risks are attached to that, and with BI you often get only one chance to score. Once more: do not build a Ferrari if you do not have a Max Verstappen in your team.
Faster value with a decision-first data warehouse
If you take seriously that a data warehouse is a means to better decisions, you reverse the order. You do not start by making all sources accessible, but with the decision you want to improve and the signals you need for it, as established in business modeling. Around that you build a lightweight but robust foundation that moves along with your questions. For mid-sized companies we developed our own solution for this: diamondDWH.
- First decisions supported within weeks instead of months: you prove the value on a small scale, with clear go/no-go moments, before you invest on a large scale.
- Up to 75% less technical consultancy, because generating star schemas, building up history and ETL are largely automated.
- Privacy by design, automatic history and data quality monitoring built in, in line with principles 4, 5 and 9.
- Cloud-agnostic (Azure, AWS, Google Cloud) and both real time and batch, as principles 8 and 15 prescribe.
- Predictable costs through a monthly subscription and a low management burden, under SLA if desired.
Data warehousing and data modeling
The various schools of data modeling are all right on certain points, but none is the ideal architecture in all situations:
- The Ralph Kimball school: the enterprise data warehouse and the data marts are modeled with fact and dimension tables. A fact table with several dimension tables forms a star schema.
- The Bill Inmon school: the third normal form (3NF) is leading for the enterprise data warehouse. The data marts are given shape with a star schema.
- The Data Vault school: you store the data in a Data Vault with a very flexible data model, after which you transform it and store it in a Business Vault, the equivalent of an enterprise data warehouse. The data marts are modeled as a star schema.
The most important similarity is that the data mart is always modeled as a star schema:

That is logical, because the data analyst or report builder simply wants to see the simplest possible representation of the data and does not want to be obliged to join all kinds of tables, as shown here:

However you look at it, the star schema is the end point you work towards. For organizations where data analytics is still in its infancy, the choice of modeling school is not that exciting: you want a return as quickly as possible and choose the simplest, most transparent method, Kimball. At higher maturity levels, arguments other than a quick return can weigh more heavily.
The Data Vault versus data warehouse discussion
Sometimes the Data Vault and the data warehouse are played off against each other. That is undesirable and unnecessary, because the actual advantages and disadvantages of the Data Vault method should speak for themselves. Yet organizations are regularly tempted on improper grounds to regard a Data Vault (plus Business Vault) as a fully fledged data warehouse, while its complexity is downplayed. Be on your guard when a Data Vault comes into view.
The data lake versus the data warehouse
In a data warehouse you bring structured data together that fits into tables with rows and columns. In a data lake you store unstructured data (the big data), such as sound clips, documents, photos, videos, sensor data and e-mails. They are two completely different storage places for different kinds of data, so there is no need for a “data lake versus data warehouse” discussion. In a big data warehouse a conductor brings the two kinds of data together when and where necessary.
Talk to the author
Dick PouwDiamond Decisions
Discuss your question with Dick
Tell us which decision needs to improve. In a no-obligation conversation we show you where your data delivers the most.
Schedule an introduction →Step 3 of our approach
Diamond Data Analytics
A data warehouse that starts with your most important decisions and is ready for conversational AI: a working prototype within 24 hours.
Explore Data Analytics →Frequently asked questions
01
What is a data warehouse?
A data warehouse is an integrated database in which you can find, combine and analyze relevant, structured data from different sources, arranged by subject. The data is never changed, only supplemented, so that history is built up and management information stays reliable.
02
What is the difference between a data warehouse and a data lake?
A data warehouse holds structured data that fits into tables with rows and columns, modeled for fast analysis. A data lake holds unstructured data such as documents, images, video and sensor data. They complement each other.
03
What is a star schema?
A star schema is a dimensional data model in which a fact table, with measures such as revenue or quantities, is surrounded by dimension tables such as customer, product and time. Users can select data without joining tables themselves.
04
Kimball, Inmon or Data Vault: which do you choose?
All three end in data marts with a star schema. If analytics is still in its infancy and you want a quick return, Kimball is the simplest and most transparent choice. At higher maturity levels other arguments, such as flexibility and auditability, can weigh more heavily.
05
When do you not need a data warehouse?
If you are just starting with BI and have one or two source systems, a nightly copy of the source system on a separate server is often enough to build the first reports and dashboards. A data warehouse becomes valuable when you combine several sources, need history and want to make more complex analyses.
06
Is Excel a good alternative to a data warehouse?
No. Excel is error-prone and labor-intensive, and everyone can use their own version of the truth. In the long run that costs more than setting up a good data warehouse once.
07
How does a small or mid-sized company start with a data warehouse?
Start with one decision you want to improve and the two or three sources you need for it. Build a small data warehouse for that, prove the value within weeks and expand iteratively. Automation of star schemas, history and ETL keeps the costs and the dependence on specialists low.
Further reading
- Extract, transform, load (ETL): filling the data warehouse.
- BI architecture: the place of the data warehouse in the whole.
- Data quality: six criteria and the PDCA cycle.
- Key performance indicators: determining the KPIs for your organization and data warehouse.
Sources and books
- Kimball, R. & Ross, M. (2013): The Data Warehouse Toolkit: The Definitive Guide to Dimensional Modeling, 3rd edition. Wiley.
- Inmon, W.H.: Building the Data Warehouse. Wiley.
- Verhagen, K. & Van der Linden, P.: Data als succesfactor: Business Intelligence en datawarehousing.
- Van Beek, D.: De intelligente, datagedreven organisatie.
- DAMA International: DAMA-DMBOK, Data Management Body of Knowledge, 2nd edition.
About the author
About Diamond Decisions
Diamond Decisions helps organizations become better by enabling better decisions. We don’t start with data, dashboards or AI, but with the decision that needs to improve, and work back from there to KPIs, data and technology. We do that in four steps: inspiration and alignment, business modeling, analytics and data platform and data-driven decision makers. That way BI and AI don’t remain an IT project, but deliver value every day.

