LMDB  1.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
Environment Flags
LMDB API

Macros

#define MDB_FIXEDMAP   0x01
 
#define MDB_ENCRYPT   0x2000U
 
#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
 
#define MDB_PREVSNAPSHOT   0x2000000
 
#define MDB_REMAP_CHUNKS   0x4000000
 

Detailed Description

Macro Definition Documentation

#define MDB_FIXEDMAP   0x01

mmap at a fixed address (experimental)

#define MDB_ENCRYPT   0x2000U

encrypted DB - read-only flag, set by mdb_env_set_encrypt()

#define MDB_NOSUBDIR   0x4000

no environment directory

#define MDB_NOSYNC   0x10000

don't fsync after commit

#define MDB_RDONLY   0x20000

read only

#define MDB_NOMETASYNC   0x40000

don't fsync metapage after commit

#define MDB_WRITEMAP   0x80000

use writable mmap

#define MDB_MAPASYNC   0x100000

use asynchronous msync when MDB_WRITEMAP is used

#define MDB_NOTLS   0x200000

tie reader locktable slots to MDB_txn objects instead of to threads

#define MDB_NOLOCK   0x400000

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

#define MDB_NORDAHEAD   0x800000

don't do readahead (no effect on Windows)

#define MDB_NOMEMINIT   0x1000000

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

#define MDB_PREVSNAPSHOT   0x2000000

use the previous snapshot rather than the latest one

#define MDB_REMAP_CHUNKS   0x4000000

don't use a single mmap, remap individual chunks (needs MDB_RPAGE_CACHE)