mdbx-chk: count and report %-filling histogram of tree(s).

This commit is contained in:
Леонид Юрьев (Leonid Yuriev)
2025-07-29 14:50:47 +03:00
parent 0cc52a3cc3
commit 933565b1b2
2 changed files with 20 additions and 0 deletions

4
mdbx.h
View File

@@ -6552,6 +6552,10 @@ typedef struct MDBX_chk_table {
struct MDBX_chk_histogram val_len;
/// Number of multi-values (aka duplicates) histogram
struct MDBX_chk_histogram multival;
/// Histogram of branch and leaf pages filling in percents
struct MDBX_chk_histogram tree_filling;
/// Histogram of nested tree(s) branch and leaf pages filling in percents
struct MDBX_chk_histogram nested_tree_filling;
} histogram;
} MDBX_chk_table_t;