mdb_put - Online Linux Manual PageSection : 3
Updated : Sat Feb 4 2023
Source : LMDB

NAMEmdb_put − Write Flags

SYNOPSIS

ModulesCopy Flags

Macros#define MDB_NOOVERWRITE 0x10
#define MDB_NODUPDATA 0x20
#define MDB_CURRENT 0x40
#define MDB_RESERVE 0x10000
#define MDB_APPEND 0x20000
#define MDB_APPENDDUP 0x40000
#define MDB_MULTIPLE 0x80000

Variablessize_t MDB_val::mv_size
void * MDB_val::mv_data
unsigned int MDB_stat::ms_psize
unsigned int MDB_stat::ms_depth
size_t MDB_stat::ms_branch_pages
size_t MDB_stat::ms_leaf_pages
size_t MDB_stat::ms_overflow_pages
size_t MDB_stat::ms_entries
void * MDB_envinfo::me_mapaddr
size_t MDB_envinfo::me_mapsize
size_t MDB_envinfo::me_last_pgno
size_t MDB_envinfo::me_last_txnid
unsigned int MDB_envinfo::me_maxreaders
unsigned int MDB_envinfo::me_numreaders

Detailed DescriptionLMDB Command Line Tools The following describes the command line tools that are available for LMDB​. • mdb_copy - environment copy tool • mdb_dump - environment export tool • mdb_load - environment import tool • mdb_stat - environment status tool

Macro Definition Documentation

#define MDB_NOOVERWRITE 0x10For put: Don't write if the key already exists​.

#define MDB_NODUPDATA 0x20Only for MDB_DUPSORT

 For put: don't write if the key and data pair already exist​.

 For mdb_cursor_del: remove all duplicate data items​.

#define MDB_CURRENT 0x40For mdb_cursor_put: overwrite the current key/data pair

#define MDB_RESERVE 0x10000For put: Just reserve space for data, don't copy it​. Return a pointer to the reserved space​.

#define MDB_APPEND 0x20000Data is being appended, don't split full pages​.

#define MDB_APPENDDUP 0x40000Duplicate data is being appended, don't split full pages​.

#define MDB_MULTIPLE 0x80000Store multiple data items in one call​. Only for MDB_DUPFIXED​.

Variable Documentation

size_t MDB_val::mv_sizesize of the data item

void* MDB_val::mv_dataaddress of the data item

unsigned int MDB_stat::ms_psizeSize of a database page​. This is currently the same for all databases​.

unsigned int MDB_stat::ms_depthDepth (height) of the B-tree

size_t MDB_stat::ms_branch_pagesNumber of internal (non-leaf) pages

size_t MDB_stat::ms_leaf_pagesNumber of leaf pages

size_t MDB_stat::ms_overflow_pagesNumber of overflow pages

size_t MDB_stat::ms_entriesNumber of data items

void* MDB_envinfo::me_mapaddrAddress of map, if fixed

size_t MDB_envinfo::me_mapsizeSize of the data memory map

size_t MDB_envinfo::me_last_pgnoID of the last used page

size_t MDB_envinfo::me_last_txnidID of the last committed transaction

unsigned int MDB_envinfo::me_maxreadersmax reader slots in the environment

unsigned int MDB_envinfo::me_numreadersmax reader slots used in the environment

AuthorGenerated automatically by Doxygen for LMDB from the source code​.
0
Johanes Gumabo
Data Size   :   16,702 byte
man-mdb_put.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 198,457
Visitor ID   :     :  
Visitor IP   :   18.191.72.220   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.