Pillar 01 • Copy-on-Write Horizons

Git-Style Zero-Copy Database Branching

Fork, test, and merge database state in less than 1 millisecond with zero physical disk cloning.

The Problem: Monolithic Mutation

Traditional databases (PostgreSQL, MySQL, Neo4j, Qdrant) are monolithic and globally mutable. Testing speculative schema migrations, running parallel integration tests, or allowing autonomous AI agents to execute tool calls requires either cloning multi-gigabyte database dumps or risking data corruption.

The UniDB Solution: Instant Horizon Forking

Utilizing UniDB's Bitemporal Epoch Horizons and Dual-Slot Superblocks, developers and autonomous AI swarms can create isolated, copy-on-write database branches in < 1ms with zero physical disk cloning.

# 1. Create an isolated branch for an AI agent
unidb branch create agent-sandbox-42 --from main

# 2. Switch horizon
unidb checkout agent-sandbox-42

# 3. Inspect mutations between branches
unidb branch diff agent-sandbox-42 main

# 4. Fast-forward merge into main
unidb branch merge agent-sandbox-42 --into main