Search on this blog

Search on this blog

Data warehouse for an SME, what it is for and how to get started

Sales are in the ERP, customers in the CRM, expenses in the accounting software and the rest in Excel files. Every month, someone spends hours pulling it all together to produce a report that is already out of date. A data warehouse solves this problem. Long reserved for large companies, it has become accessible to SMEs thanks to the cloud. This guide explains what a data warehouse is, how it works, what drives its cost and how an SME can get started without a big project.

What is a data warehouse?

A data warehouse is a central relational database, designed for analysis. It brings together data from several data sources, organizes it in a common data model and keeps historical data. Dashboards and analyses connect to it, instead of querying each application separately.

Three ideas set it apart. It is central, all the data in one place. It is historical, it keeps what source applications overwrite or purge. And it is designed for reading, that is, to answer quickly questions that scan large volumes of data.

Data warehouse, database or data lake?

SystemWhat it is forWhat it contains
Operational databaseRunning an application, recording transactionsThe current state, for a single application
Data warehouseAnalyzing and decidingStructured, cleaned data from every source, with history
Data lakeStoring a lot, at low cost, before knowing what to do with itRaw data in every format, structured and unstructured
Operational data storeGiving operations an integrated, current viewRecent data from several systems, little history

Application databases are built for transactions. Asking them to produce heavy reports slows them down, and they often have neither the history nor the data from other systems. The data lake keeps everything, but without organization it quickly becomes hard to use. The modern data warehouse often combines the two. It stores raw data as it arrives, then transforms it into tables ready for analysis.

The three types of data

An SME's data comes in three kinds. Structured data, stored in rows and columns as in an ERP. Semi-structured data, such as the JSON files that APIs return. And unstructured data, such as documents, emails and images. A modern data warehouse handles the first two very well. Documents most often stay in separate data storage or in a data lake.

How a modern data warehouse works

  1. The sources. ERP, CRM, accounting, e-commerce, files. Each one is connected by a connector, ready-made or a custom API connector. Even an old system can be connected, as shown byAS400 data extraction.
  2. Data pipelines. They are used to extract data at regular intervals and load it into the warehouse. This is called ETL or, more and more, ELT, where data is loaded first and transformed afterwards in the warehouse.
  3. The raw zone. Data arrives as is. Nothing is lost, and everything can always be recomputed.
  4. The model. Data is transformed into clear tables, such as sales, customers and products, with indicators defined once.
  5. Usage. Power BI or Astrato dashboards, analyses and artificial intelligence projects read the model.

Cloud data warehouses such as Snowflake separate storage from compute. Storage costs little, and compute power only runs when it is used, then goes to sleep. This is what makes data warehousing affordable for an SME, whereas on-premises data warehouses required servers, licences and a team to maintain them.

Is a data warehouse useful for an SME?

Not always. A company with a single software package whose built-in reports are enough does not need one. It becomes useful when several of these signs appear.

  • Data lives in several systems that do not talk to each other.
  • The monthly report takes hours of copying and pasting into Excel.
  • Two people give two different numbers for the same question.
  • History disappears, because the source application purges or overwrites old data.
  • Reports slow down the ERP or the CRM.
  • Management wants up-to-date dashboards or an artificial intelligence project.

The benefits of a data warehouse for an SME

  • A single source of truth. Indicators are defined once and all users read the same numbers.
  • Time recovered. Data arrives on its own, every day or every hour.
  • History preserved. You can compare years, even when the source application keeps nothing.
  • Performance. Reports are fast and no longer slow down operational systems.
  • Data quality. Data quality problems become visible and are fixed in one place.
  • Governance and security. Access is managed in one place, with masking of sensitive data, which helps with data governance, data protection and Quebec's Law 25.
  • A foundation for AI. An artificial intelligence model is only as good as the reliable, consolidated data that feeds it.

What drives the cost of a data warehouse

The cost of a cloud data warehouse follows usage. It depends on five elements.

  • Compute. The time the warehouse is working, to load data and to answer reports.
  • Storage. The volume of data kept, history included.
  • Connectors and the integration tool. Depending on the number of sources and their difficulty.
  • The dashboard tool. User licences.
  • Implementation. The work to connect the sources, build the model and validate the numbers.

A tip. Estimate the running cost from a real load, on a normal day and on a busy day, rather than from a theoretical average. That is the measurement that avoids surprises on the bill.

How to set up a data warehouse in an SME

  1. Start from a business question. A reliable sales dashboard, margin by product, stock tracking. Not "all the data".
  2. Take inventory of the sources. Which applications hold the data you need, and how to access it.
  3. Choose the platform. Snowflake, BigQuery, Redshift or Microsoft Fabric. The right choice depends on your ecosystem, your volumes and your skills.
  4. Connect the first sources. Only those the first question needs.
  5. Build the model and validate the numbers with the people who know them, before publishing anything.
  6. Deliver the first dashboard and get it used.
  7. Set up access and governance from the start, not after the fact.
  8. Expand, one source and one question at a time.

Do you need an in-house data team?

Not at first. An SME can have its warehouse built by a specialized firm, then keep it running with one in-house person who knows the data. What matters is that everything is documented and that what is built stays yours, so you depend on no one. For dashboards, see also Power BI consultant or data firm.

The Codex approach

Codex designs and builds the data foundations of small and mid-sized businesses in Quebec, from the source application to the dashboard. Custom API connectors, Matillionpipelines, Snowflake data warehouses and Power BI or Astrato dashboards. We work with your teams and in your systems, in verifiable batches, and everything we build is documented. Let's talk about your project.

Frequently asked questions

What is a data warehouse?

It is the English term for "entrepôt de données". A central database, designed for analysis, that brings together data from several sources and keeps its history.

What is the best way to store data for analysis?

For structured data coming from several applications, a cloud data warehouse. For large volumes of raw files whose use is not yet defined, a data lake. Many companies combine the two.

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

The warehouse contains organized data ready for analysis. The lake contains raw data in every format, structured and unstructured, organized later.

How much does a data warehouse cost for an SME?

In the cloud, running costs follow usage, compute and storage. The rest depends on the number of sources, tool licences and implementation work. The best approach is to measure on a real load.

Can a data warehouse be real-time?

For most SME uses, an update every hour or every night is enough. When real-time data is needed, some sources can be loaded continuously.

Where is the data hosted?

Cloud warehouses are deployed in the region of your choice. Snowflake notably offers regions in Canada, which helps keep data close to you.