Use SQLITE_FCNTL_CHUNK_SIZE to ensure that database growth isn't fragmented on disk #97

Open
opened 2020-08-06 16:54:51 +00:00 by gburd · 0 comments
gburd commented 2020-08-06 16:54:51 +00:00 (Migrated from github.com)

See ref. Specifying larger values will reduce filesystem fragmentation at the cost of erring on the side of larger database files.

We use this in Firefox.

[See ref](https://sqlite.org/c3ref/c_fcntl_chunk_size.html). Specifying larger values will reduce filesystem fragmentation at the cost of erring on the side of larger database files. We use this [in Firefox](https://bugzilla.mozilla.org/show_bug.cgi?id=581606).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: greg/mentat#97
No description provided.