mdbx-tools: add support of page operations stat to mdbx_stat.

This commit is contained in:
Leonid Yuriev
2021-05-12 14:41:09 +03:00
parent 16d686bc42
commit c5268f1da7
3 changed files with 62 additions and 21 deletions

3
mdbx.h
View File

@@ -2284,7 +2284,8 @@ struct MDBX_envinfo {
/** Statistics of page operations.
* \details Overall statistics of page operations of all (running, completed
* and aborted) transactions in the current multi-process session (since the
* first process opened the database). */
* first process opened the database after everyone had previously closed it).
*/
struct {
uint64_t newly; /**< Quantity of a new pages added */
uint64_t cow; /**< Quantity of pages copied for update */