Skip to content

Allow user to select auto commit mode in BeginTxn(), LMDB::Env->new, or on $DB #26

@akotlar

Description

@akotlar

Would be useful to have a flag to set the default auto commit mode to commit instead of abort.

I could see this being done in several places, such as BeginTxn(), LMDB::Env->new, or as a property on $DB.

This saves the overhead of having to set the autocommit mode every time a new transaction is created, which in our case happens billions of times per database.

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