Struct mdbx::env::reader_info
ClassList > mdbx > env > reader_info
Reader information.
#include <mdbx.h++>
Public Attributes
| Type | Name |
|---|---|
| size_t | bytes_retained |
| size_t | bytes_used |
| mdbx_pid_t | pid The reader process ID. |
| int | slot The reader lock table slot number. |
| mdbx_tid_t | thread The reader thread ID. |
| uint64_t | transaction_id |
| uint64_t | transaction_lag |
Public Attributes Documentation
variable bytes_retained
size_t mdbx::env::reader_info::bytes_retained;
The total size of the database pages that were retired by committed write transactions after the reader's MVCC-snapshot, i.e. the space which would be freed after the Reader releases the MVCC-snapshot for reuse by completion read transaction.
variable bytes_used
size_t mdbx::env::reader_info::bytes_used;
The number of last used page in the MVCC-snapshot which being read, i.e. database file can't be shrunk beyond this.
variable pid
The reader process ID.
mdbx_pid_t mdbx::env::reader_info::pid;
variable slot
The reader lock table slot number.
int mdbx::env::reader_info::slot;
variable thread
The reader thread ID.
mdbx_tid_t mdbx::env::reader_info::thread;
variable transaction_id
uint64_t mdbx::env::reader_info::transaction_id;
The ID of the transaction being read, i.e. the MVCC-snapshot number.
variable transaction_lag
uint64_t mdbx::env::reader_info::transaction_lag;
The lag from a recent MVCC-snapshot, i.e. the number of committed write transactions since the current read transaction started.
The documentation for this class was generated from the following file docs/mdbx.h++