---
title: "Turso v0.4.0"
description: "Turso v0.4.0 overhauls its experimental MVCC mode, which lifts SQLite's single-writer limit, adding index support, checkpointing and recovery."
url: "https://swe.quest/articles/turso-v0-4-0-191cca637e457c1d"
canonical: "https://turso.tech/blog/turso-0.4.0"
source: "Turso"
published: "2026-01-05"
difficulty: "medium"
kind: "Release"
reading_minutes: 3
tags: ["sqlite","storage-engines","query-engines","local-first","concurrency"]
---

# Turso v0.4.0

A post on [Turso](https://swe.quest/sources/turso.md), published 2026-01-05, 3 min read, Release. Original: [https://turso.tech/blog/turso-0.4.0](https://turso.tech/blog/turso-0.4.0)

## Summary

Turso v0.4.0 overhauls its experimental MVCC mode, which lifts SQLite's single-writer limit, adding index support, checkpointing and recovery. MVCC is now enabled with \`PRAGMA journal\_mode = 'experimental\_mvcc'\`, persisted in the file header, and makes the file unreadable by stock SQLite until you switch back to WAL. Partial sync fetches pages on demand, with bootstrap queries and prefetching (persistent mode is Linux-only because it needs sparse files), and sync now ships in the Python and Go SDKs. The release also adds page cache spilling for large queries, ANALYZE support for better join ordering, and a disk-spilling hash join for non-indexed columns in place of SQLite's ephemeral B-tree indexes.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [SQLite](https://swe.quest/tags/sqlite.md) (Data & databases)
- [Storage engines](https://swe.quest/tags/storage-engines.md) (Data & databases)
- [Query engines](https://swe.quest/tags/query-engines.md) (Data & databases)
- [Local-first & sync](https://swe.quest/tags/local-first.md) (Architecture & design)
- [Concurrency](https://swe.quest/tags/concurrency.md) (Compilers & runtimes)

## Prerequisites

- SQLite basics ([easy posts on SQLite](https://swe.quest/tags/sqlite.md?difficulty=easy))
- MVCC
- WAL journaling

## Keywords

Turso, SQLite, MVCC, partial sync, hash join, ANALYZE, aiosqlite

## Related posts

- [Turso v0.5.0](https://swe.quest/articles/turso-v0-5-0-1bc59038f4941e8d.md): Turso · 2026-03-04 · Hard · 6 min read · SQLite, Storage engines, Query engines, Consistency models, Search
  Turso v0.5.0 promotes MVCC-based concurrent writes (BEGIN CONCURRENT, adapted from Hekaton) to beta.
- [Turso v0.6.0](https://swe.quest/articles/turso-v0-6-0-5eb94c2c93fd0b4b.md): Turso · 2026-05-12 · Medium · 12 min read · SQLite, Databases, SQL, Storage engines
  Turso 0.6 is the first release supporting all major SQLite features, adding experimental multi-process WAL access (OFD locks on Linux, fcntl elsewhere, IOCP on Windows) and VACUUM/VACUUM INTO.
- [Turso v0.7.0](https://swe.quest/articles/turso-v0-7-0-8d3ff93b34352c14.md): Turso · 2026-07-13 · Hard · 10 min read · SQLite, Storage engines, Consistency models, Memory management, Rust
  Turso 0.7 drops the beta label and focuses on performance and robustness for embedded, multi-tenant use: the core no longer blocks on I/O, yields CPU via a new StepResult::Yield, moves to fallible allocation so OOM surfaces as an error, and treats the page cache as a soft limit like SQLite.
- [Beyond the Single-Writer Limitation with Turso's Concurrent Writes](https://swe.quest/articles/beyond-the-single-writer-limitation-with-turso-s-concurrent-writes-cb123f350ef5318c.md): Turso · 2025-10-06 · Hard · 12 min read · SQLite, Consistency models, Storage engines, Concurrency, Performance engineering
  Turso implements SQLite-compatible BEGIN CONCURRENT using Hekaton-style MVCC, which removes SQLite's single-writer bottleneck and the SQLITE\_BUSY errors that come with it.
- [Turso 0.8: Concurrent writes without SQLite's single-writer bottleneck](https://swe.quest/articles/turso-0-8-concurrent-writes-without-sqlite-s-single-writer-bottleneck-12eb79dda642476c.md): Turso · 2026-09-29 · Medium · 6 min read · SQLite, Concurrency, Performance engineering, Storage engines, Query engines
  Turso 0.8 targets SQLite's single-writer bottleneck with BEGIN CONCURRENT, an MVCC mode where transactions start independently and commit in groups.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
