PRAGMA quick_check
The pragma is like integrity_check except that it does not verify UNIQUE constraints and does not verify that index content matches table content.
PRAGMA schema.quick_check; PRAGMA schema.quick_check(N) PRAGMA schema.quick_check(TABLENAME)
On the sample database
What PRAGMA quick_check returns on the sample database, in SQLite 3.54.1 as built for the browser by sql.js:
| quick_check |
|---|
| ok |
What the SQLite documentation says
The pragma is like integrity_check except that it does not verify UNIQUE constraints and does not verify that index content matches table content. By skipping UNIQUE and index consistency checks, quick_check is able to run faster. PRAGMA quick_check runs in O(N) time whereas PRAGMA integrity_check requires O(NlogN) time where N is the total number of rows in the database. Otherwise the two pragmas are the same.
From sqlite.org's pragma documentation for SQLite 3.54.1, in the public domain.
← query_only · read_uncommitted →