Skip to content

Allow manual checkpointing #502

Closed
Closed

Description

@northeastprince

It'd be nice if there was a way to manually checkpoint the WAL file if you need everything in one file at a certain moment.

Activity

  1. flavorjones commented on Nov 19, 2024

    @flavorjones
    Member

    @northeastprince Thanks for asking about this. Can you share a bit more information about your use case? Adding a wrapper for sqlite3_wal_checkpoint_v2() wouldn't be hard, but I do want to know what it's being used before committing to adding it to the gem.

  2. flavorjones commented on Nov 20, 2024

    @flavorjones
    Member

    You may be able to use the pragma for this: https://www.sqlite.org/pragma.html#pragma_wal_checkpoint

  3. locked and limited conversation to collaborators on Jan 27, 2026
  4. converted this issue into a discussion #681 on Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions