Skip to content

Change Journal Mode in SQLite Database #2518

@markmckinnon

Description

@markmckinnon

Can the journal mode that the current SQLite database uses (DELETE which is default) be change to WAL journaling. This will increase the performance in entering information into the database dramatically. In one of the modules I ran with the default journaling mode, the module ran in 1451 seconds. When I ran the same module in WAL mode it ran in 40 seconds which is 36 times faster. When the SQLite database is created all that would need to be run is the following statement "PRAGMA journal_mode=wal;".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions