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_commit_latency Struct Reference

Latency of commit stages in 1/65536 of seconds units. More...

#include <mdbx.h>

Public Attributes

uint32_t preparation
 Duration of preparation (commit child transactions, update sub-databases records and cursors destroying). More...
 
uint32_t gc
 Duration of GC/freeDB handling & updation. More...
 
uint32_t audit
 Duration of internal audit if enabled. More...
 
uint32_t write
 Duration of writing dirty/modified data pages to a filesystem, i.e. the summary duration of a write() syscalls during commit. More...
 
uint32_t sync
 Duration of syncing written data to the disk/storage, i.e. the duration of a fdatasync() or a msync() syscall during commit. More...
 
uint32_t ending
 Duration of transaction ending (releasing resources). More...
 
uint32_t whole
 The total duration of a commit. More...
 

Detailed Description

Latency of commit stages in 1/65536 of seconds units.

Warning
This structure may be changed in future releases.
See also
mdbx_txn_commit_ex()

Member Data Documentation

◆ audit

uint32_t MDBX_commit_latency::audit

Duration of internal audit if enabled.

◆ ending

uint32_t MDBX_commit_latency::ending

Duration of transaction ending (releasing resources).

◆ gc

uint32_t MDBX_commit_latency::gc

Duration of GC/freeDB handling & updation.

◆ preparation

uint32_t MDBX_commit_latency::preparation

Duration of preparation (commit child transactions, update sub-databases records and cursors destroying).

◆ sync

uint32_t MDBX_commit_latency::sync

Duration of syncing written data to the disk/storage, i.e. the duration of a fdatasync() or a msync() syscall during commit.

◆ whole

uint32_t MDBX_commit_latency::whole

The total duration of a commit.

◆ write

uint32_t MDBX_commit_latency::write

Duration of writing dirty/modified data pages to a filesystem, i.e. the summary duration of a write() syscalls during commit.


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