NCBI C++ ToolKit
|
Search Toolkit Book for MDB_env
The database environment. More...
Public Attributes | |
int | me_fd |
The main data file. More... | |
int | me_lfd |
The lock file. More... | |
int | me_mfd |
For writing and syncing the meta pages. More... | |
uint32_t | me_flags |
Environment Flags More... | |
unsigned int | me_psize |
DB page size, inited from me_os_psize. More... | |
unsigned int | me_os_psize |
OS page size, from GET_PAGESIZE. More... | |
unsigned int | me_maxreaders |
size of the reader table More... | |
volatile int | me_close_readers |
Max MDB_txninfo. More... | |
MDB_dbi | me_numdbs |
number of DBs opened More... | |
MDB_dbi | me_maxdbs |
size of the DB table More... | |
pid_t | me_pid |
process ID of this env More... | |
char * | me_path |
path to the DB files More... | |
char * | me_map |
the memory map of the data file More... | |
MDB_txninfo * | me_txns |
the memory map of the lock file or NULL More... | |
MDB_meta * | me_metas [2] |
pointers to the two meta pages More... | |
void * | me_pbuf |
scratch area for DUPSORT put() More... | |
MDB_txn * | me_txn |
current write transaction More... | |
MDB_txn * | me_txn0 |
prealloc'd write transaction More... | |
size_t | me_mapsize |
size of the data memory map More... | |
off_t | me_size |
current file size More... | |
pgno_t | me_maxpg |
me_mapsize / me_psize More... | |
MDB_dbx * | me_dbxs |
array of static DB info More... | |
uint16_t * | me_dbflags |
array of flags from MDB_db.md_flags More... | |
unsigned int * | me_dbiseqs |
array of dbi sequence numbers More... | |
pthread_key_t | me_txkey |
thread-key for readers More... | |
txnid_t | me_pgoldest |
ID of oldest reader last time we looked. More... | |
MDB_pgstate | me_pgstate |
state of old pages from freeDB More... | |
MDB_page * | me_dpages |
list of malloc'd blocks for re-use More... | |
MDB_IDL | me_free_pgs |
IDL of pages that became unused in a write txn. More... | |
MDB_ID2L | me_dirty_list |
ID2L of pages written during a write txn. More... | |
int | me_maxfree_1pg |
Max number of freelist items that can fit in a single overflow page. More... | |
unsigned int | me_nodemax |
Max size of a node on a page. More... | |
int | me_live_reader |
have liveness lock in reader table More... | |
void * | me_userctx |
User-settable context. More... | |
MDB_assert_func * | me_assert_func |
Callback for assertion failures. More... | |
MDB_assert_func* MDB_env::me_assert_func |
volatile int MDB_env::me_close_readers |
Max MDB_txninfo.
mti_numreaders of interest to mdb_env_close()
uint16_t* MDB_env::me_dbflags |
array of flags from MDB_db.md_flags
unsigned int* MDB_env::me_dbiseqs |
MDB_ID2L MDB_env::me_dirty_list |
MDB_page* MDB_env::me_dpages |
int MDB_env::me_fd |
uint32_t MDB_env::me_flags |
MDB_IDL MDB_env::me_free_pgs |
int MDB_env::me_lfd |
int MDB_env::me_live_reader |
MDB_dbi MDB_env::me_maxdbs |
size of the DB table
Definition at line 1278 of file mdb.c.
Referenced by mdb_dbi_open(), and mdb_env_create().
int MDB_env::me_maxfree_1pg |
unsigned int MDB_env::me_maxreaders |
MDB_meta* MDB_env::me_metas[2] |
int MDB_env::me_mfd |
For writing and syncing the meta pages.
Definition at line 1262 of file mdb.c.
Referenced by mdb_env_create().
unsigned int MDB_env::me_nodemax |
MDB_dbi MDB_env::me_numdbs |
unsigned int MDB_env::me_os_psize |
OS page size, from GET_PAGESIZE.
Definition at line 1273 of file mdb.c.
Referenced by mdb_env_create().
txnid_t MDB_env::me_pgoldest |
MDB_pgstate MDB_env::me_pgstate |
pid_t MDB_env::me_pid |
unsigned int MDB_env::me_psize |
DB page size, inited from me_os_psize.
Definition at line 1272 of file mdb.c.
Referenced by mdb_env_cwalk(), mdb_node_add(), mdb_page_new(), mdb_page_spill(), and mdb_page_touch().
MDB_txninfo* MDB_env::me_txns |
the memory map of the lock file or NULL
Definition at line 1282 of file mdb.c.
Referenced by mdb_find_oldest().