Constant lmdb_rs::core::EnvCreateFixedMap
[−]
pub const EnvCreateFixedMap: EnvCreateFlags=
EnvCreateFlags{bits: ffi::MDB_FIXEDMAP,}
Use a fixed address for the mmap region. This flag must be specified when creating the environment, and is stored persistently in the environment. If successful, the memory map will always reside at the same virtual address and pointers used to reference data items in the database will be constant across multiple invocations. This option may not always work, depending on how the operating system has allocated memory to shared libraries and other uses. The feature is highly experimental.