Skip to content

Struct MDBX_envinfo

ClassList > MDBX_envinfo

Information about the environment. More...

  • #include <mdbx.h>

Classes

Type Name
struct MDBX_envinfo.mi_bootid
A mostly unique ID that is regenerated on each boot.
struct MDBX_envinfo.mi_dxbid
struct MDBX_envinfo.mi_geo
struct MDBX_envinfo.mi_pgop_stat

Public Attributes

Type Name
uint32_t mi_autosync_period_seconds16dot16
uint64_t mi_autosync_threshold
struct MDBX_envinfo::@342146252050021261065114073132157115020040333167 mi_bootid
The boot ID, see the description above.
uint64_t mi_dxb_fallocated
uint64_t mi_dxb_fsize
uint32_t mi_dxb_pagesize
struct MDBX_envinfo::@313233063041175055210146045044117052314015366245 mi_dxbid
A GUID of the database DXB file.
struct MDBX_envinfo::@053313317020175217005206177104027075246035051125 mi_geo
Geometry of the datafile.
uint64_t mi_last_pgno
uint64_t mi_latter_reader_txnid
uint64_t mi_mapsize
uint32_t mi_maxreaders
uint64_t mi_meta_sign
Signatures of the meta pages.
uint64_t mi_meta_txnid
Transaction IDs held by the meta pages.
uint32_t mi_mode
uint32_t mi_numreaders
struct MDBX_envinfo::@124310376302027012077165200060047303365100233312 mi_pgop_stat
Statistics of page operations, see the description above.
uint64_t mi_recent_txnid
uint64_t mi_self_latter_reader_txnid
uint32_t mi_since_reader_check_seconds16dot16
uint32_t mi_since_sync_seconds16dot16
uint32_t mi_sys_ioblk
uint32_t mi_sys_pagesize
uint32_t mi_sys_upcblk
uint64_t mi_unsync_volume

Detailed Description

See also: mdbx_env_info_ex()

Public Attributes Documentation

variable mi_autosync_period_seconds16dot16

uint32_t MDBX_envinfo::mi_autosync_period_seconds16dot16;

Current auto-sync period in 1/65536 of second, see mdbx_env_set_syncperiod().


variable mi_autosync_threshold

uint64_t MDBX_envinfo::mi_autosync_threshold;

Current auto-sync threshold, see mdbx_env_set_syncbytes().


variable mi_bootid

The boot ID, see the description above.

struct MDBX_envinfo::@342146252050021261065114073132157115020040333167 MDBX_envinfo::mi_bootid;

variable mi_dxb_fallocated

uint64_t MDBX_envinfo::mi_dxb_fallocated;

Space allocated for the database file in a filesystem


variable mi_dxb_fsize

uint64_t MDBX_envinfo::mi_dxb_fsize;

Current database file size


variable mi_dxb_pagesize

uint32_t MDBX_envinfo::mi_dxb_pagesize;

Database pagesize


variable mi_dxbid

A GUID of the database DXB file.

struct MDBX_envinfo::@313233063041175055210146045044117052314015366245 MDBX_envinfo::mi_dxbid;

variable mi_geo

Geometry of the datafile.

struct MDBX_envinfo::@053313317020175217005206177104027075246035051125 MDBX_envinfo::mi_geo;

variable mi_last_pgno

uint64_t MDBX_envinfo::mi_last_pgno;

Number of the last used page


variable mi_latter_reader_txnid

uint64_t MDBX_envinfo::mi_latter_reader_txnid;

ID of the last reader transaction


variable mi_mapsize

uint64_t MDBX_envinfo::mi_mapsize;

Size of the database memory map


variable mi_maxreaders

uint32_t MDBX_envinfo::mi_maxreaders;

Total reader slots in the environment


variable mi_meta_sign

Signatures of the meta pages.

uint64_t MDBX_envinfo::mi_meta_sign[3];

variable mi_meta_txnid

Transaction IDs held by the meta pages.

uint64_t MDBX_envinfo::mi_meta_txnid[3];

variable mi_mode

uint32_t MDBX_envinfo::mi_mode;

Current environment mode. The same as mdbx_env_get_flags() returns.


variable mi_numreaders

uint32_t MDBX_envinfo::mi_numreaders;

Max reader slots used in the environment


variable mi_pgop_stat

Statistics of page operations, see the description above.

struct MDBX_envinfo::@124310376302027012077165200060047303365100233312 MDBX_envinfo::mi_pgop_stat;

variable mi_recent_txnid

uint64_t MDBX_envinfo::mi_recent_txnid;

ID of the last committed transaction


variable mi_self_latter_reader_txnid

uint64_t MDBX_envinfo::mi_self_latter_reader_txnid;

ID of the last reader transaction of this/current process


variable mi_since_reader_check_seconds16dot16

uint32_t MDBX_envinfo::mi_since_reader_check_seconds16dot16;

Time since the last readers check in 1/65536 of second, see mdbx_reader_check().


variable mi_since_sync_seconds16dot16

uint32_t MDBX_envinfo::mi_since_sync_seconds16dot16;

Time since entering to a "dirty" out-of-sync state in units of 1/65536 of second. In other words, this is the time since the last non-steady commit or zero if it was steady.


variable mi_sys_ioblk

uint32_t MDBX_envinfo::mi_sys_ioblk;

Filesystem I/O block size


variable mi_sys_pagesize

uint32_t MDBX_envinfo::mi_sys_pagesize;

System pagesize


variable mi_sys_upcblk

uint32_t MDBX_envinfo::mi_sys_upcblk;

System "Unified Page Cache" block size


variable mi_unsync_volume

uint64_t MDBX_envinfo::mi_unsync_volume;

Bytes not explicitly synchronized to disk



The documentation for this class was generated from the following file mdbx.h