SQLite PRAGMA

PRAGMA page_count

Return the total number of pages in the database file.

PRAGMA schema.page_count;

On the sample database

What PRAGMA page_count returns on the sample database, in SQLite 3.54.1 as built for the browser by sql.js:

page_count
143

What the SQLite documentation says

Return the total number of pages in the database file.

From sqlite.org's pragma documentation for SQLite 3.54.1, in the public domain.

← optimize · page_size →