SQLite SQLITE_FULL: database or disk is full (Including /tmp)

Disk or `/tmp` directory filled during `VACUUM` or large `ORDER BY` temp b-tree.

Runs locally in browser Free · No login Independently Verified 2026-11-25 v4.1.0
Identifier: SQLite SQLITE_FULL Platform: SQLite
Common Root Causes:
  • Disk or `/tmp` directory filled during `VACUUM` or large `ORDER BY` temp b-tree.

Interactive Diagnostic Checklist

Verified Solutions:
  1. Free space on both DB volume and `/tmp`, or set `SQLITE_TMPDIR` to a larger partition.
Safe Diagnostic Command:
df -h . /tmp
Warning: Verify configuration changes in staging or with dry-run flags (e.g. nginx -t) before reloading production services.

Technical Explanation

Disk or `/tmp` directory filled during `VACUUM` or large `ORDER BY` temp b-tree. Recommended diagnostic: `df -h . /tmp`. Remediation: Free space on both DB volume and `/tmp`, or set `SQLITE_TMPDIR` to a larger partition.

Worked Examples

  • Run `df -h . /tmp` to verify root cause before applying the remediation.

Limitations & Assumptions

  • Always verify configuration changes in staging or with dry-run flags (e.g. `nginx -t`) before reloading production services.

Source References & Verification

Resource ID: err-sqlite-full-disk-or-temp · Independently verified: 2026-11-25

Related Resources