Struct MDBX_commit_latency
ClassList > MDBX_commit_latency
Latency of commit stages in 1/65536 of seconds units. More...
#include <mdbx.h>
Public Attributes
| Type | Name |
|---|---|
| uint32_t | audit Duration of internal audit if enabled. |
| uint32_t | ending Duration of transaction ending (releasing resources). |
| uint32_t | gc_cputime User-mode CPU time spent on GC update. |
| struct MDBX_commit_latency::@274360015122246141051153005256146146260262100061 | gc_prof Information for GC profiling. |
| uint32_t | gc_wallclock Duration of GC update by wall clock. |
| uint32_t | preparation Duration of preparation (commit child transactions, update table's records and cursors destroying). |
| uint32_t | sync Duration of syncing written data to the disk/storage, i.e. the duration of a fdatasync() or amsync() syscall during commit. |
| uint32_t | whole The total duration of a commit. |
| uint32_t | write Duration of writing dirty/modified data pages to a filesystem, i.e. the summary duration of a write() syscalls during commit. |
Detailed Description
Warning:
This structure may be changed in future releases.
See also: mdbx_txn_commit_ex()
Public Attributes Documentation
variable audit
Duration of internal audit if enabled.
uint32_t MDBX_commit_latency::audit;
variable ending
Duration of transaction ending (releasing resources).
uint32_t MDBX_commit_latency::ending;
variable gc_cputime
User-mode CPU time spent on GC update.
uint32_t MDBX_commit_latency::gc_cputime;
variable gc_prof
Information for GC profiling.
struct MDBX_commit_latency::@274360015122246141051153005256146146260262100061 MDBX_commit_latency::gc_prof;
Note:
This data is shared for all processes working with a given database and stored in LCK-file.
Statistic is accumulated when all transactions are committed, but only in libmdbx builds with the MDBX_ENABLE_PROFGC option enabled. The collected statistics are returned to any process when using mdbx_txn_commit_ex() or mdbx_txn_checkpoint(), and at the same time they are reset to zero when top-level transactions (not nested) are committed.
variable gc_wallclock
Duration of GC update by wall clock.
uint32_t MDBX_commit_latency::gc_wallclock;
variable preparation
Duration of preparation (commit child transactions, update table's records and cursors destroying).
uint32_t MDBX_commit_latency::preparation;
variable sync
Duration of syncing written data to the disk/storage, i.e. the duration of a fdatasync() or amsync() syscall during commit.
uint32_t MDBX_commit_latency::sync;
variable whole
The total duration of a commit.
uint32_t MDBX_commit_latency::whole;
variable write
Duration of writing dirty/modified data pages to a filesystem, i.e. the summary duration of a write() syscalls during commit.
uint32_t MDBX_commit_latency::write;
The documentation for this class was generated from the following file docs/mdbx.h