MDB_NOMETASYNC top-level constant

int const MDB_NOMETASYNC

Don't sync meta pages when committing transaction.

When used:

  • Provides middle ground between sync and async commits
  • Still flushes file system buffers
  • Better performance than full sync

Common usage scenarios:

  • Production systems needing balance of safety/speed
  • When full MDB_NOSYNC is too risky
  • High-performance requirements with some safety

Example:

    await db.init(path,
        flags: LMDBFlagSet()..add(MDB_NOMETASYNC));

Comparison:

Implementation

const MDB_NOMETASYNC = bindings.MDB_NOMETASYNC;