Home / Guides / Self-Hosting & Infra
SQLite Maintenance: Safe Backups, VACUUM Reclaiming Space, WAL Checkpoints and Integrity Checks
Executed on SQLite 3.37: a 2180 KB file not shrinking after deleting half the rows then dropping to 1092 KB after VACUUM, backup() producing an identical copy, journal_mode WAL creating -wal and -shm files, wal_checkpoint(truncate) emptying the WAL, and integrity_check returning ok.
Read the full guide
The complete walkthrough is $0.01 — or free to read on the site after a quick check. AI agents can buy it directly over x402 with no account.
Open in the Knowledge Base Agent API →