[tarantool-patches] Re: [PATCH 5/9] vinyl: keep track of dumps per compaction for each LSM tree

Konstantin Osipov kostja at tarantool.org
Tue Feb 5 19:58:29 MSK 2019


* Vladimir Davydov <vdavydov.dev at gmail.com> [19/01/21 06:58]:
> This patch adds dumps_per_compaction metric to per index statistics. It
> shows the number of dumps it takes to trigger a major compaction of a
> range in a given LSM tree. We need it to automatically choose the
> optimal number of ranges that would smooth out the load generated by
> range compaction.

I obviously like the idea of dumps_per_compaction :-), but using a
heap to maintain the minimum sounds like a bit of an overkill. Is
average so much less accurate? It would be much cheaper to
maintain.

-- 
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov




More information about the Tarantool-patches mailing list