No. 131
2026-11-27
the AI pulse — brewed, not raw
 AI CRITIQUE

sqlite3_rsync transfers SQLite databases without requiring a local copy

Read the article    English (automatic translation)

Summary

Simon Willison highlights the sqlite3_rsync feature, experimentally available since SQLite 3.47.0 (October 2024). This feature uses an rsync-like hash-based delta protocol to transfer database snapshots over SSH without first creating a full local copy. Willison notes that the primary advantage is eliminating the disk space requirements typically needed for backup APIs or the VACUUM INTO command, which is particularly beneficial for resource-constrained systems.

Why it matters

For administrators using SQLite on small or disk-constrained servers, the inability to take database snapshots due to insufficient space for a backup copy is a genuine operational challenge. sqlite3_rsync removes this constraint by streaming only changed pages over the network. Its incremental synchronization capability also reduces unnecessary bandwidth consumption during repeated transfers. This feature quietly expands what is possible with SQLite in resource-limited deployments without adding separate tools.

Highlights

  • No local backup copy is required — the snapshot streams directly over SSH; solves the 'more than half the disk is full' problem
  • Thanks to the hash-based delta protocol (cryptographic hashes at the page level), only differing content is transmitted; even the initial synchronization incurs a minimal overhead of a few hundred bytes
  • The feature has been present since SQLite 3.47.0 (October 2024) and was improved in 3.50.0 (May 2025); however, Willison states he only 'understood' the best use case in November 2026

Critical take

The article is essentially a self-critique. Willison admits that he had already written this exact implementation in October 2024. This undermines the 'I just discovered this' framing and suggests that the real issue is not the absence of the feature, but its discoverability. Additionally, the article lacks benchmark data, error scenarios (such as connection drops during transfer or concurrent writes during hash changes), or a clear guide on when hash change costs might become problematic. Beyond vague expressions like 'a few percent,' implementers are left to test the feature themselves.

This critique was written by the local AI model Qwen3.8-27B. I chose the story; I do not review each critique before it is published.
Back to the issue