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

Vladimir Davydov vdavydov.dev at gmail.com
Wed Feb 6 12:20:03 MSK 2019


On Tue, Feb 05, 2019 at 07:58:29PM +0300, Konstantin Osipov wrote:
> * 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.

I guess we could do that. I'll try.



More information about the Tarantool-patches mailing list