vinyl: remove meaningless global stat counters
- Remove tx and cursor latencies as they are useless - they actually account how long a tx/cursor was open, not latencies. - Remove vy_stat->get_latency as it doesn't account latency of select, besides we now have per index read latency. - Remove vy_stat->dumped_statements and dump_total as these statistics are reported per index as well. - VY_STAT_TX_OPS is currently unused (always 0). Let's use it for accounting the total number of statements committed in tx instead of vy_stat->write_count.
Showing
- src/box/vinyl.c 9 additions, 104 deletionssrc/box/vinyl.c
- src/box/vy_run.c 1 addition, 4 deletionssrc/box/vy_run.c
- src/box/vy_run.h 1 addition, 2 deletionssrc/box/vy_run.h
- test/vinyl/recovery_quota.result 13 additions, 10 deletionstest/vinyl/recovery_quota.result
- test/vinyl/recovery_quota.test.lua 11 additions, 10 deletionstest/vinyl/recovery_quota.test.lua
- test/vinyl/update_optimize.result 22 additions, 16 deletionstest/vinyl/update_optimize.result
- test/vinyl/update_optimize.test.lua 18 additions, 16 deletionstest/vinyl/update_optimize.test.lua
Loading
Please register or sign in to comment