vinyl: add per-index cache statistics
This patch adds the cache section to index.info with the following counters in it: cache rows # number of tuples in the cache bytes # cache memory size lookup # lookups in the cache get # reads from the cache rows bytes put # write to the cache rows bytes invalidate # overwrites in the cache rows bytes evict # evictions due to memory quota rows bytes Needed for #1662
Showing
- src/box/vinyl.c 11 additions, 4 deletionssrc/box/vinyl.c
- src/box/vy_cache.c 23 additions, 11 deletionssrc/box/vy_cache.c
- src/box/vy_cache.h 4 additions, 4 deletionssrc/box/vy_cache.h
- src/box/vy_mem.c 1 addition, 2 deletionssrc/box/vy_mem.c
- src/box/vy_run.c 1 addition, 2 deletionssrc/box/vy_run.c
- src/box/vy_stat.h 40 additions, 0 deletionssrc/box/vy_stat.h
Loading
Please register or sign in to comment