vinyl: add per-index mem and run iterator stat
Replace box.info.vinyl().performance.iterator.{run,mem} global counters with the following per index counters: memory iterator lookup # number of lookups in the memory tree get # number of statements returned by mem iterator rows bytes disk iterator lookup # number of lookups in the page index get # number of statements returned by run iterator rows bytes bloom # number of times bloom filter hit # allowed to avoid a disk read miss # failed to prevent a disk read read # number of statements actually read from disk rows bytes bytes_compressed pages Needed for #1662
Showing
- src/box/vinyl.c 43 additions, 19 deletionssrc/box/vinyl.c
- src/box/vy_mem.c 6 additions, 4 deletionssrc/box/vy_mem.c
- src/box/vy_mem.h 2 additions, 2 deletionssrc/box/vy_mem.h
- src/box/vy_run.c 15 additions, 6 deletionssrc/box/vy_run.c
- src/box/vy_run.h 2 additions, 2 deletionssrc/box/vy_run.h
- src/box/vy_stat.h 37 additions, 0 deletionssrc/box/vy_stat.h
- test/vinyl/bloom.result 5 additions, 5 deletionstest/vinyl/bloom.result
- test/vinyl/bloom.test.lua 6 additions, 5 deletionstest/vinyl/bloom.test.lua
- test/vinyl/cache.result 31 additions, 40 deletionstest/vinyl/cache.result
- test/vinyl/cache.test.lua 31 additions, 40 deletionstest/vinyl/cache.test.lua
Loading
Please register or sign in to comment