From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 1763D262B0 for ; Thu, 17 Jan 2019 06:35:31 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NdpQ7Ibd3QcG for ; Thu, 17 Jan 2019 06:35:31 -0500 (EST) Received: from smtp14.mail.ru (smtp14.mail.ru [94.100.181.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id BD74821101 for ; Thu, 17 Jan 2019 06:35:30 -0500 (EST) Received: from [185.6.245.178] (port=53414 helo=atlas.local) by smtp14.mail.ru with esmtpa (envelope-from ) id 1gk5xJ-0006E9-4b for tarantool-patches@freelists.org; Thu, 17 Jan 2019 14:35:29 +0300 Date: Thu, 17 Jan 2019 14:35:28 +0300 From: Konstantin Osipov Subject: [tarantool-patches] Re: [PATCH 12/12] vinyl: add last level size to statistics Message-ID: <20190117113528.GI28204@chai> References: <35758e4f6ac6424f88735a362fe10754e31fbb87.1547558871.git.vdavydov.dev@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <35758e4f6ac6424f88735a362fe10754e31fbb87.1547558871.git.vdavydov.dev@gmail.com> Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: tarantool-patches@freelists.org * Vladimir Davydov [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