strategic modelling
The Data Warehouse
The data warehouse is the accumulated record of the plans an operation has run, held in one place and kept queryable. Each plan is captured as the dataset it ran against and the optimised snapshot that came out, with its route-level detail and its KPIs. That record is what the strategic workbench summarises, pivots and compares over, and what the experimental AI agent reads when you ask it a question in plain language.
Last updated: 2026-06-21
Key Capabilities
- Every plan captured: each dataset and its optimised snapshot, retained with route-level detail and KPIs
- Queryable through the workbench (summaries, pivot, side-by-side comparison) without writing SQL
- Plain-language querying through the experimental AI agent: results as tables you can pivot or plot
- Read-only and scoped: a user reaches only the datasets their Optrak permissions already allow
- No direct database access, by design; a PostgreSQL dump can be supplied for your own systems
- In active development: machine learning over the record to predict travel, dwell, service and consumption
Strategic modelling needs something to measure against. That something is the data warehouse: every plan the operation has run, kept in one place and open to query. It does no analysis of its own - the workbench compares over it, the agent reads it, and a scenario comparison is only as credible as the record it is measured against - but nothing else in strategic modelling works without it.
What It Holds
The unit of capture is a plan. Each one is kept as the dataset it ran against and the optimised snapshot it produced, with:
- Route-level detail - trips, shipments, vehicles, sites, and the timings that tie them together, the same detail the dashboard renders as routes, maps and timelines.
- Snapshot KPIs - cost to serve, CO₂ to serve, vehicle utilisation, driver hours and feasibility, summarised per snapshot so plans compare at a glance.
Because it accumulates rather than overwrites, the warehouse becomes a record of how the operation has actually run over time - a representative month, a peak season, a year of work - not just the most recent plan. That is what makes historical replay a credible basis for a strategic decision, which scenario comparison sets out in full.
How You Reach It
You do not query the database directly. That boundary is deliberate: it keeps each customer’s data isolated and keeps the warehouse from becoming an uncontrolled way into the operation. There are two supported routes in, and a third option for taking the data away:
- The workbench. The strategic workbench reads the warehouse to give you multi-dataset summaries, ad-hoc pivot analysis, and side-by-side snapshot comparison, no SQL required.
- The agent. The experimental AI agent turns a plain-language question into a read-only, automatically scoped query and hands back a table you can pivot or plot. It can only read, and only the datasets your permissions already allow.
- A data dump. If you want the raw record on your own systems - for a bespoke analysis, a BI tool, an archive - a PostgreSQL dump can be supplied on request.
Access in every case follows your Optrak project and directory permissions. Opening the warehouse to more people through the workbench or the agent does not open more data to any one of them.
Worked Example: Finding the Uneconomic Tail
A commercial manager suspects a long tail of customers is being served at a loss but has never had the evidence. In the workbench she pivots the last quarter’s captured plans by customer, with cost to serve and drop count as measures - or she asks the agent for the same thing in a sentence. The result is a table she can sort: the handful of customers whose cost to serve runs well ahead of their drop volume, the rounds they sit on, and how often they forced an awkward routing. None of it needed a new data-collection exercise; it was already in the record of plans the operation had run. The number she leaves with is grounded in the same optimiser that plans the operation, not in a separate costing model.
What It Will Learn
The record is also the raw material for performance prediction, a machine-learning capability in active development. Mining the warehouse to estimate travel, dwell, service and energy-consumption times from an operation’s own history, rather than from generic defaults, will make both daily plans and strategic scenarios more accurate where it counts, at feasibility and cost.
Performance prediction is in active development and available soon. It draws on a live source of those actual times - Optrak’s real-time capability - and will feed the optimiser better numbers without replacing it. See AI in route optimisation for where it fits.
How This Compares
Plenty of planning suites expose reporting over yesterday’s plans. The distinction here is not the reporting; it is that the warehouse is the same record the operational optimiser produces, queried through the same engine that runs the operation - so the baseline a strategic decision is measured against carries operational fidelity rather than a separate, drifting abstraction.
Frequently Asked Questions
What is actually stored in the data warehouse?
The plans an operation runs. Each is kept as the dataset it ran against and the optimised snapshot that came out of it, with the route-level detail - trips, shipments, vehicles, sites, timings - and the KPIs that summarise it (cost, CO₂, utilisation, driver hours, feasibility). It accumulates across the operation, so over time it becomes a record of how the operation has actually run, not just the latest plan.
Can I query it directly?
Not directly against the database - that boundary is deliberate, for security and to keep each customer’s data isolated. You query it two supported ways: through the strategic workbench, which gives you summaries, pivots and side-by-side comparison without writing SQL; and through the experimental AI agent, which turns a plain-language question into a read-only, scoped query and returns a table you can pivot or plot. If you want the raw data on your own systems, a PostgreSQL dump can be supplied on request.
How is access controlled?
Access follows your Optrak project and directory permissions: a user, or the agent acting for them, reaches only the datasets they are already entitled to. Agent queries are read-only (SELECT) and automatically limited to the accessible datasets, so widening who can ask questions does not widen what any one person can see.
Does the data warehouse use machine learning today?
No. Today it is the queryable record - the foundation, not the prediction. The forward step, in active development, is to mine that record with machine learning to estimate travel, dwell, service and consumption times from an operation’s own history, so both daily plans and strategic scenarios run against learned inputs rather than generic defaults. That depends on a live source of actual times - Optrak’s real-time capability, also in active development. See AI in route optimisation for where it fits.
Why is this a strategic capability, not just reporting?
Because its value is as the credible baseline. A scenario comparison is only as trustworthy as the record it is measured against, and the data warehouse is that record - the same plans, the same data model, the same optimiser as live operations. It is what makes scenario comparison a comparison against reality rather than against a spreadsheet abstraction.
Related
Technical Summary
The data warehouse is a per-customer store of the datasets and optimised snapshots an operation produces, retained with route-level solution detail and snapshot KPIs. It is read by the dashboard’s data-access layer to drive the strategic workbench’s multi-dataset summaries, pivot analysis and side-by-side snapshot comparison, and by the experimental agent’s read-only query tools. Agent access goes through a SELECT-only path that must project a dataset identifier and is wrapped in an access-scoping clause, so results are bounded to the datasets the requesting user can already see, with a row cap on what comes back; there is no free-form write path and no direct external database connection. A PostgreSQL dump can be supplied for a customer who wants the data on their own systems. The machine-learning layer that would mine the record for performance prediction (travel, dwell, service and consumption estimates) is in active development and dependent on the real-time data source that supplies the actual times to learn from; it is not part of the shipped capability today.
See Optrak on Your Own Routes
Book a demo and we'll model your fleet, depots and constraints — and show the savings on real data.