Loading...
Searching...
No Matches
Environment Flags
LMDB API

## Macros

#define | MDB_FIXEDMAP 0x01
#define | MDB_NOSUBDIR 0x4000
#define | MDB_NOSYNC 0x10000
#define | MDB_RDONLY 0x20000
#define | MDB_NOMETASYNC 0x40000
#define | MDB_WRITEMAP 0x80000
#define | MDB_MAPASYNC 0x100000
#define | MDB_NOTLS 0x200000
#define | MDB_NOLOCK 0x400000
#define | MDB_NORDAHEAD 0x800000
#define | MDB_NOMEMINIT 0x1000000

## Detailed Description

## Macro Definition Documentation

## MDB_FIXEDMAP

#define MDB_FIXEDMAP 0x01

mmap at a fixed address (experimental)

## MDB_NOSUBDIR

#define MDB_NOSUBDIR 0x4000

no environment directory

## MDB_NOSYNC

#define MDB_NOSYNC 0x10000

don't fsync after commit

## MDB_RDONLY

#define MDB_RDONLY 0x20000

read only

## MDB_NOMETASYNC

#define MDB_NOMETASYNC 0x40000

don't fsync metapage after commit

## MDB_WRITEMAP

#define MDB_WRITEMAP 0x80000

use writable mmap

## MDB_MAPASYNC

#define MDB_MAPASYNC 0x100000

use asynchronous msync when MDB_WRITEMAP is used

## MDB_NOTLS

#define MDB_NOTLS 0x200000

tie reader locktable slots to MDB_txn objects instead of to threads

## MDB_NOLOCK

#define MDB_NOLOCK 0x400000

don't do any locking, caller must manage their own locks

## MDB_NORDAHEAD

#define MDB_NORDAHEAD 0x800000

don't do readahead (no effect on Windows)

## MDB_NOMEMINIT

#define MDB_NOMEMINIT 0x1000000

don't initialize malloc'd memory before writing to datafile