Skip to content
This repository was archived by the owner on Jul 1, 2026. It is now read-only.
This repository was archived by the owner on Jul 1, 2026. It is now read-only.

Feature Request - Expose an option to set SQLITE_FCNTL_CHUNK_SIZE #980

Description

@trevershick

Our C code uses this option to set a 'larger than default' chunk size to help with fragmentation. However, our Node code is unable to take advantage of this feature.

There is already a db.configure('busyTimeout', 1000) feature it would be great if we could db.configure('chunkSize', 1024*1024).

see https://sqlite.org/c3ref/c_fcntl_chunk_size.html
ref (about fragmentation https://stackoverflow.com/questions/13393866/sqlite-wal-performance-improvement)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions