Selecting the Database File Size
Prev | Chapter 3. Configuring the Berkeley DB SQL interface | Next

## Selecting the Database File Size

Berkeley DB sets an upper bound on how large your database file size is allowed to be. Any attempt to insert data into the database that grows this file beyond this upper bound results in a failure.

You can set the upper bound for your database file size using `PRAGMA max_page_count`. Issue this PRAGMA with no value to see what the current maximum database file is.

Prev | Up | Next
Configuring the Database Page Size | Home | Configuring the In-Memory Cache