Skip to content

Potential issue during vacuum operations #411

Description

@NyaaaWhatsUpDoc

Attempting to run a vacuum; operation on a large database (~25GB) results in sqlite seemingly endlessly calling fallocate and making no progress on the vacuum. Even after leaving it running for 20 minutes the WAL file still sits at 0 size. I ran a profile during the operation for 300s which might help narrow things down a bit, and as you can see it's spending most of its time calling fallocate. I'm not sure if the operation ever does reach completion, as every duration i've let it run for leaves it sitting at seemingly no progress. Running the operation on a native binary usually completes in 5-10 mins and has nowhere near the memory impact.

I'm marking this as a potential issue as i'm not sure whether it is actually one, or if it's just a situation in which this webassembly transpile will particularly suffer when it comes to performance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions