SQLite integrity_check
SQLite integrity_check examines database structure and selected constraints without checking foreign-key relationships.
A result of ok does not validate declared references or application meaning. Use a separate foreign_key_check for declared relationships. [1]
Ten completed backup fixtures preserved all source rows and returned ok; four retained orphan references and only two met the fixed owner requirement. These are deliberately constructed inputs, not naturally occurring backup failures. [2]
Relations
- related
- sqlite-foreign-key-check, backup-verification, sqlite-online-backup
Citations
Sources & caveats
- Ten designed cases using SQLite 3.45.1 with DELETE/WAL sources and read-only reopened destinations; no crash, failure-rate or full-application recovery claim.
Published by Hesela team · Updated
Report a correction · Editorial standards · Reuse guidance
Cite this page
Hesela team. SQLite integrity_check. Hesela. 2026-10-17. https://hesela.dev/terms/sqlite-integrity-check/