vinyl: add dump count to global scheduler statistics
This patch adds scheduler.dump_count to box.stat.vinyl(), which shows the number of memory level dumps that have happened since the instance startup or box.stat.reset(). It's useful for estimating an average size of a single memory dump, which in turn can be used for calculating LSM tree fanout.
Showing
- src/box/vinyl.c 1 addition, 0 deletionssrc/box/vinyl.c
- src/box/vy_scheduler.c 2 additions, 0 deletionssrc/box/vy_scheduler.c
- src/box/vy_stat.h 2 additions, 0 deletionssrc/box/vy_stat.h
- test/vinyl/stat.result 77 additions, 2 deletionstest/vinyl/stat.result
- test/vinyl/stat.test.lua 27 additions, 0 deletionstest/vinyl/stat.test.lua
Loading
Please register or sign in to comment