[tarantool-patches] Re: [PATCH 12/12] vinyl: add last level size to statistics

Konstantin Osipov kostja at tarantool.org
Thu Jan 17 14:35:28 MSK 2019


* Vladimir Davydov <vdavydov.dev at gmail.com> [19/01/15 17:20]:
> In order to estimate space amplification of a vinyl database, we need to
> know the size of data stored at the last LSM tree level. So this patch
> adds such a counter both per index and globablly.
> 
> Per-index it is reported under disk.last_level, in rows, bytes, bytes
> after compression, and pages, just like any other disk counter.
> 
> Globablly it is repoted in bytes only under disk.data_compacted. Note,
> to be consistent with disk.data, it doesn't include the last level of
> secondary indexes.

All patches in these series are OK to push, all the work in review
could be done on top of the current patch set.



-- 
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