Skip to content

Perf Discussion -- [original title: Support PRAGMA journal_mode=WAL;?] #27

@AlexErrant

Description

@AlexErrant

Using the latest https://github.com/vlcn-io/live-examples as my playground, I added

  console.log(await db.execO("PRAGMA journal_mode=memory;"));

which correctly yields [ { "journal_mode": "memory" } ]

However,

console.log(await db.execO("PRAGMA journal_mode=WAL;"));

yields [ { "journal_mode": "delete" } ]

Notably, PRAGMA journal_mode=WAL; works on https://rhashimoto.github.io/wa-sqlite/demo/

If it matters, I'm just trying WAL mode because it apparently may improve perf.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions