PRAGMA max_page_count
Query or set the maximum number of pages in the database file.
PRAGMA schema.max_page_count; PRAGMA schema.max_page_count = N;
On the sample database
What PRAGMA max_page_count returns on the sample database, in SQLite 3.54.1 as built for the browser by sql.js:
| max_page_count |
|---|
| 4294967294 |
What the SQLite documentation says
Query or set the maximum number of pages in the database file. Both forms of the pragma return the maximum page count. The second form attempts to modify the maximum page count. The maximum page count cannot be reduced below the current database size.
From sqlite.org's pragma documentation for SQLite 3.54.1, in the public domain.
← locking_mode · mmap_size →