Skip to content

The database for our time

To simplify development, reporting and compliance for immutable systems.

SQL that remembers everything,

with corrections and flexible schema,

for fine-grained reporting and time travel:

Installation

Run XTDB using Docker and connect via a PostgreSQL wire-compatible connection.

Get Started

# latest release, 100% open source (MPL-2.0 license)

docker run -p 5432:5432 ghcr.io/xtdb/xtdb

# connect via Postgres tooling and drivers, e.g.

psql -h localhost xtdb -c "SELECT 42"

β€œWhy did we make that decision?”

Data Reports Decisions Audit

Effective auditability drives trust and learning, supported by:

  • Immutable records and observations
  • Handling of errors and delays
  • Decisions aligned with full context
  • Easy reflection on past states

Immutability is not enough.
You need time travel.

The status quo

Most systems model the world as it currently is. The history of changes is hard to access and meaningfully query β€” even basic analysis becomes unreliable when everything is shifting.

Immutability helps, but...

Data lakes and table formats give you immutability, which helps. But snapshots are coarse and few systems attempt to solve the harder aspects of time travel.

The hard truth

If you can't query the past, you will struggle to meet the requirements of the future.

"What was the state of the business as-of 5pm on Friday given the backdated additions and corrections as-of 9am this morning?"

XTDB's bitemporal design provides a robust foundation for auditable reporting, and therefore auditable decision making. This is valued across every level of an organization:

Boards
demand accountability throughout IT infrastructure
SOX Β· COSO Β· J-SOX
Legal teams
demand protection against liability
GDPR Β· eDiscovery Β· CCPA
Engineering teams
demand debuggability and explainability
EU AI Act Β· SOC 2 Β· ISO 27001
Business teams
demand access to historical workflows and state
MiFID II Β· Dodd-Frank
Operations teams
demand remediation capabilities
DORA Β· PCI DSS
Customers
demand data lineage with corrections
GDPR Art. 16 Β· CDR
Regulators
demand process oversight and timely reporting
Basel III Β· Solvency II Β· SOX Β§404

People can only trust systems that they can easily inspect.

When XTDB Helps

Change Data Capture

For existing applications

Symptoms
  • βœ— Ad hoc reconciliation processes that lack central transparency
  • βœ— Historical records accepted as "at best an approximation"
  • βœ— Bespoke time-travel logic: soft deletes, timestamp columns, snapshot tables, custom schema versioning
Solution
  • β€Ί Universal history tracking β€” reduces requirements burden on individual applications
  • β€Ί Native Debezium ingestion for Change Data Integration β€” as-of queries across many CDC sources
  • β€Ί Decision auditability layer for durable orchestration workflows and agentic workflows
New Development

Build new applications

Pains
  • βœ— Complexity and fragility of ad hoc temporal columns
  • βœ— Cost of building, testing, and maintaining custom history logic
  • βœ— Bitemporal semantics not enforced universally β€” analytics requires deep schema knowledge
  • βœ— Audit and corrections hard to budget for up front, but requirements loom large
Solution
  • β€Ί Transactional database with automatic bitemporal versioning on every write
  • β€Ί Postgres-compatible APIs β€” works with existing clients and tools
  • β€Ί Open source and open standards: SQL:2011, Apache Arrow, ADBC

Who XTDB Helps

Energy / Utilities

Virtual Power Plant orchestration

A state-owned energy retailer built a Virtual Power Plant platform to orchestrate thousands of customer-owned solar panels and batteries. Bitemporal history was the only model that could handle late telemetry, retroactive corrections, and the regulatory mandate to reconstruct exactly what the system knew at the moment of every dispatch decision.

Read more
Financial Services

KYC compliance at platform scale

A composable platform for regulated financial services needed its KYC component to satisfy both operational and compliance requirements simultaneously β€” and do it without bespoke history logic.

Read more

How XTDB solves
Decision Auditability

DB1 UI SaaS Batch DB2

Business data as evolving time series.

XTDB records a full 'bitemporal' history of data, observable across time:

  • Some data is always 'on time'
  • Other data often arrives late
  • Mistakes must be corrected
  • Data evolves and 'versions' are retained
When it happened When it was recorded in the system Price = 15 08:00 AM 08:00 AM Price = 12 10:00 AM 03:30 PM Price = 10 12:00 PM 02:00 PM

An architecture for decision intelligence.

Log-Structured Merge (LSM) Diagram

Transactional data with perfect memory:

  • History without headaches - avoid custom versioning, 'soft deletes', and brittle data pipelines
  • Object store LSM-Tree design with bitemporal historical partitioning for durability, scalability, and cost-effective retention
  • Postgres-compatible SERIALIZABLE SQL transactions with optimistic concurrency
  • Fine-grained interval versioning with Apache Arrow for temporal analytics and scale-out compute

Available now through cloud marketplaces.

Deploy XTDB directly from your cloud provider β€” and also on-prem.

Request a demo

Schedule a free demo with our solution engineers to learn how XTDB can help address your complex domain and architecture requirements.