Struct MDBX_commit_latency.gc_prof
ClassList > MDBX_commit_latency.gc_prof
Information for GC profiling. More...
Public Attributes
| Type | Name |
|---|---|
| uint32_t | coalescences The number of iterations of merging GC items. |
| uint32_t | flushes The number of forced commits to disk to avoid the database growth when working outside of MDBX_UTTERLY_NOSYNC mode. |
| uint32_t | kicks The number of accesses to the Handle-Slow-Readers mechanism to avoid void the database growth. |
| uint32_t | max_reader_lag The maximum observed difference between the latest and oldest read MVCC-snapshots. |
| uint32_t | max_retained_pages The maximum noticed number of pages withheld from reclaimed due to reading old MVCC-snapshots. |
| struct MDBX_commit_latency::@274360015122246141051153005256146146260262100061::@356002253160210263237166262112145265103236024070 | pnl_merge_self |
| struct MDBX_commit_latency::@274360015122246141051153005256146146260262100061::@356002253160210263237166262112145265103236024070 | pnl_merge_work Metrics of the amount of work and cost of merging lists of pages. |
| uint32_t | self_counter The GC's slow path execution count is for the purposes of maintaining and updating the GC itself. |
| uint32_t | self_majflt The number of page faults within the GC when allocating and preparing pages for the GC itself. |
| uint32_t | self_rsteps The number of search iterations inside the GC when allocating pages for the purposes of maintaining and updating the GC itself. |
| uint32_t | self_rtime_monotonic The time "by the wall clock" spent reading and searching inside the GC for the purposes of maintaining and updating the GC itself. |
| uint32_t | self_xpages The number of page sequences allocation requests for the GC itself. |
| uint32_t | self_xtime_cpu The CPU time in user mode spent preparing pages taken from the GC for the purposes of maintaining and updating the GC itself, including swapping from disk. |
| uint32_t | wipes The number of previous reliable/stable committed points erased when working in MDBX_UTTERLY_NOSYNC mode. |
| uint32_t | wloops The number of GC update iterations is greater than 1 if there were repeats/restarts. |
| uint32_t | work_counter Number of slow/deep path GC search for the sake of placement user's data. |
| uint32_t | work_majflt The number of page faults inside the GC when allocating and preparing pages for user's data. |
| uint32_t | work_rsteps The number of search iterations inside GC when allocating pages for the sake of user's data. |
| uint32_t | work_rtime_monotonic The time "by the wall clock" spent reading and searching inside the GC for the user's data. |
| uint32_t | work_xpages The number of requests to allocate page sequences for the sake of user's data. |
| uint32_t | work_xtime_cpu The CPU time in user mode spent for preparing pages taken from the GC for user data, including paging ones from disk. |
Detailed Description
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.
Public Attributes Documentation
variable coalescences
The number of iterations of merging GC items.
variable flushes
The number of forced commits to disk to avoid the database growth when working outside of MDBX_UTTERLY_NOSYNC mode.
variable kicks
The number of accesses to the Handle-Slow-Readers mechanism to avoid void the database growth.
See also: MDBX_hsr_func
variable max_reader_lag
The maximum observed difference between the latest and oldest read MVCC-snapshots.
variable max_retained_pages
The maximum noticed number of pages withheld from reclaimed due to reading old MVCC-snapshots.
variable pnl_merge_self
variable pnl_merge_work
Metrics of the amount of work and cost of merging lists of pages.
variable self_counter
The GC's slow path execution count is for the purposes of maintaining and updating the GC itself.
variable self_majflt
The number of page faults within the GC when allocating and preparing pages for the GC itself.
variable self_rsteps
The number of search iterations inside the GC when allocating pages for the purposes of maintaining and updating the GC itself.
variable self_rtime_monotonic
The time "by the wall clock" spent reading and searching inside the GC for the purposes of maintaining and updating the GC itself.
variable self_xpages
The number of page sequences allocation requests for the GC itself.
variable self_xtime_cpu
The CPU time in user mode spent preparing pages taken from the GC for the purposes of maintaining and updating the GC itself, including swapping from disk.
variable wipes
The number of previous reliable/stable committed points erased when working in MDBX_UTTERLY_NOSYNC mode.
variable wloops
The number of GC update iterations is greater than 1 if there were repeats/restarts.
variable work_counter
Number of slow/deep path GC search for the sake of placement user's data.
variable work_majflt
The number of page faults inside the GC when allocating and preparing pages for user's data.
variable work_rsteps
The number of search iterations inside GC when allocating pages for the sake of user's data.
variable work_rtime_monotonic
The time "by the wall clock" spent reading and searching inside the GC for the user's data.
variable work_xpages
The number of requests to allocate page sequences for the sake of user's data.
variable work_xtime_cpu
The CPU time in user mode spent for preparing pages taken from the GC for user data, including paging ones from disk.
The documentation for this class was generated from the following file docs/mdbx.h