AI, Software Development

Data warehouse for AI: build one that actually serves models

By James KillickAugust 28, 2026

TL;DR: A data warehouse for AI is one you can trace and reproduce. Keep the warehouse as the offline record for training and analytics. Add a feature store only when live inference needs answers in milliseconds. Build lineage and point-in-time snapshots in from day one, because retrofitting them is the expensive version.

Your warehouse was built to draw charts. Now you want it to feed models. Those are not the same job, and the gap is where most AI data projects stall.

Here is the short version. Keep the warehouse as your offline record for training and analytics. Add a feature store only when live inference needs an answer in under 10 milliseconds. Build lineage and snapshots in from the start. Do that and every model you ship afterwards gets cheaper.

What makes an AI warehouse different from a BI one

A BI warehouse answers a question on a dashboard. Someone runs a query, waits a few seconds, reads a chart. That is the whole job.

An AI warehouse does that, plus three more things. It feeds training pipelines. It serves features to live models. And it holds messy event data that never fit a tidy table in the first place.

That changes three things at once:

  • Latency. In places you go from minutes to milliseconds.
  • Concurrency. Dozens of experiments and pipelines hit the same tables together.
  • Shape. Data arrives as JSON, embeddings and event streams, not neat rows.

The fix is a layered design. A raw zone that keeps data exactly as it arrived. A standard zone that cleans and types it. A curated zone built for features and training. Versioning sits under all three, because a model trained on last week's data has to be reproducible against last week's data, not today's.

Not every older platform copes. A 2025 benchmark of AI-style queries found real gaps between platforms on JSON ingestion, concurrent load and cost control. The warehouse that ran your quarterly reports fine can still choke on a hundred feature jobs at once.

The five things to demand before you sign anything

  • Streaming and batch together. Retraining usually needs a full history batch and a live feed. Not one or the other.
  • Native JSON and nested data. RAG and LLM pipelines run on it. Flattening everything first adds work you will pay for every sprint.
  • Lineage and data contracts. You should trace any feature back to its source without a meeting. Contracts catch a schema change before it breaks a model.
  • Point-in-time snapshots. Training data has to stop being a moving target.
  • Cost and concurrency controls. Autoscaling plus workload isolation stops one runaway experiment blowing out the month.

Set query quotas and workload tags on day one. Not after the first surprise invoice. This is the same discipline we cover in data governance for AI, and it is far easier to plan than to retrofit.

How the pieces fit together

Seven steps, start to finish:

  1. Ingest. Connectors and streams pull from your operational systems and APIs into a landing area.
  2. Raw zone. Data lands exactly as it arrived. Good for audit and reprocessing.
  3. Transform. Scheduled or event-triggered jobs clean, type and standardise it.
  4. Curated and feature zones. Business logic and feature work produce tables built for models, with versioning included.
  5. Offline store. Training pulls from here, usually as columnar files for fast batch reads.
  6. Online store. A low-latency store serves features to live models in milliseconds.
  7. Serving and retrieval. Inference endpoints, vector stores and notebooks all draw from this stack.

RAG pipelines usually sit off to the side, querying the curated zone or a vector store rather than raw data. If you are building one, our guide to building a RAG pipeline walks the same ground. The integration points are what stop this becoming five systems someone reconciles by hand. That layering question is the same one we cover in AI platform architecture.

Do you need a feature store too?

This is where projects go sideways. A warehouse and a feature store solve different problems. Treating them as the same thing gets expensive.

Warehouses answer in seconds. Feature stores serve features in single-digit milliseconds. That gap is about speed, not storage, and it is the reason teams run both.

Here is the call:

  • Warehouse only is fine for batch scoring, periodic retraining and analytics. A few seconds does not hurt anyone.
  • You need a feature store when you serve predictions live. Fraud scoring at checkout. Personalisation on page load.
  • The usual pattern is warehouse as the offline store, plus a fast online store for serving.

Teams who stretch a warehouse into a feature store hit the same wall every time. Streaming features, online serving and backfill logic pile up engineering debt that a purpose-built platform already handles. Point-in-time correctness during backfill is where most of it lands, because getting that wrong quietly biases your training data and nobody spots it for months.

When is it actually worth the money?

Not every team needs to rebuild this quarter. Five signals say the spend pays back:

  • You have models in production, not prototypes. Live traffic finds every freshness gap a notebook never will.
  • You retrain weekly or more. Manual pipelines punish you fast at that pace.
  • Volume or variety has outgrown the setup. Several source systems, nested payloads, or terabyte tables.
  • Concurrency is climbing. Multiple teams hitting the same tables is when contention and cost spikes start.
  • You now need traceability. If you cannot explain a decision by tracing the data behind it, that is a governance gap.

Two or more apply? The case makes itself. None apply? Iterate on what you have and ask again in six months.

The migration checklist

  1. Pick the use cases first. Map which models need what data. Do not migrate everything at once.
  2. Decide the offline and online split early. Before anyone writes pipeline code.
  3. Plan backfill and point-in-time correctness upfront. Fixing this after models have trained on bad snapshots costs far more.
  4. Automate validation on ingestion. Catch a schema change before it reaches a training run, not after a model quietly goes bad.
  5. Phase the rollout with cost guardrails on. Quotas and tags from day one.
  6. Instrument monitoring and a rollback path. You need to spot a broken pipeline and revert without taking models down.

Three traps to watch. Teams who use the warehouse as a feature store and inherit the debt. Teams who skip governance because they will add it later. Teams who assume cloud costs sort themselves out.

Governance is what makes it auditable

Governance here is not a compliance box. It is the difference between a model you can explain and one you are guessing about.

Metadata-driven design generates lineage and documentation from the data models themselves, rather than from a wiki page that went stale the week it was written. That matters more for AI than BI, because schemas move faster and an untraced error costs more. A quietly corrupted feature can degrade a model for weeks before anyone sees the pattern.

Four controls worth building in early:

  • Role-based access and masking at the data layer, not trusted to app code.
  • Quality checks on ingestion, catching drift before it reaches a training set.
  • Lineage tracking so "where did this feature come from" is a query, not a meeting.
  • Drift detection watching both data distributions and model inputs over time.

Across the group, owning your data and not just your model is the same argument from the strategy side. And if you are earlier than that, getting a CRM in order before AI is usually the honest first step. For the storage layer itself, what a vector database actually does is worth ten minutes.

What we see building these

We build AI platforms where the data layer decides everything downstream. Two patterns show up again and again.

The first is integration debt. On CARED, a national NDIS allied health platform on Azure, the hard part was never the apps. It was wiring four mobile apps and three web platforms into the healthcare and government systems they had to talk to, with NDIS data flowing in and compliant reports flowing out. Get that layer right and features are easy. Get it wrong and every feature is a fight.

The second is tenancy. On our white-label AI platform build, taking a working app to a multi-tenant product meant a new data model first. Auth and tenancy came after. That order was not optional.

Both say the same thing. The data layer is a roadmap decision, not an engineering afterthought.

The rule I use

Most teams bolt AI readiness on once a model is already in demand. That is backwards. The choices you make now decide how expensive every future model is to ship.

Frame it as cost avoidance, not an infrastructure upgrade. Every month without point-in-time correctness is debt compounding against your next retraining cycle. The blocker is rarely budget. It is the assumption that the current warehouse is good enough, right up until a model fails and nobody can trace why.

My rule: if you retrain more than once a month, fix the data layer before you fix the model.

Ready to build the data layer properly?

We scope this before any code gets written. If you are weighing up whether to migrate now or wait, that assessment is the first thing we run. Have a look at AI app development, or if it is a program you are turning into a platform, AI programs.

Worth a chat?

Frequently asked questions

What is a data warehouse for AI?

It is a warehouse built to feed models, not just dashboards. That means streaming and batch ingestion together, native handling of JSON and nested data, lineage you can trace, and point-in-time snapshots so a training run is reproducible later.

What is the difference between a feature store and a data warehouse?

Speed and purpose. A warehouse answers analytical queries in seconds and holds your offline record. A feature store serves features to live models in single-digit milliseconds. Most teams running real-time inference end up with both.

Do I need a feature store?

Only if you serve predictions live, like fraud scoring at checkout or personalisation on page load. For batch scoring and periodic retraining, the warehouse on its own is fine.

When should we invest in an AI-ready warehouse?

When two or more of these are true: you have models in production, you retrain weekly or more, data volume has outgrown the setup, concurrency is climbing, or you now need traceability for compliance.

What is the most common mistake?

Skipping point-in-time correctness. Training on a snapshot you cannot reproduce quietly biases the data, and it is very hard to detect afterwards. Plan backfill before you write any pipeline code.

About James Killick

10+ years building digital products · 200+ apps shipped since 2015

James is a co-founder of Devwiz and an AI product specialist. Since 2015 he has helped ship 200+ apps for founders, businesses and government, including work for NSW Government, Briometrix and Huskee. He builds AI-first platforms and writes about turning a proven program into software. He also hosts the Up in the AI podcast.

More articles by James · James's personal site · LinkedIn · AI Orchestrators

Tags: Data, Architecture, Cloud

Browse all Devwiz articles·See our case studies