libmdbx  0.11.6.39 (2022-04-13T11:05:50+03:00)
One of the fastest compact embeddable key-value ACID database without WAL.
MDBX_stat Struct Reference

Statistics for a database in the environment. More...

#include <mdbx.h>

Public Attributes

uint32_t ms_psize
 
uint32_t ms_depth
 
uint64_t ms_branch_pages
 
uint64_t ms_leaf_pages
 
uint64_t ms_overflow_pages
 
uint64_t ms_entries
 
uint64_t ms_mod_txnid
 

Detailed Description

Statistics for a database in the environment.

See also
mdbx_env_stat_ex()
mdbx_dbi_stat()

Member Data Documentation

◆ ms_branch_pages

uint64_t MDBX_stat::ms_branch_pages

Number of internal (non-leaf) pages

◆ ms_depth

uint32_t MDBX_stat::ms_depth

Depth (height) of the B-tree

◆ ms_entries

uint64_t MDBX_stat::ms_entries

Number of data items

◆ ms_leaf_pages

uint64_t MDBX_stat::ms_leaf_pages

Number of leaf pages

◆ ms_mod_txnid

uint64_t MDBX_stat::ms_mod_txnid

Transaction ID of committed last modification

◆ ms_overflow_pages

uint64_t MDBX_stat::ms_overflow_pages

Number of overflow pages

◆ ms_psize

uint32_t MDBX_stat::ms_psize

Size of a database page. This is the same for all databases.


The documentation for this struct was generated from the following file: