You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@kudu.apache.org by "lizhong0815@qq.com" <li...@qq.com> on 2017/05/31 03:09:47 UTC

How can I look up the total disk space occupied by the kudu table

How can I see the total disk space occupied by the kudu table
    
I did not find the entry by checking the size of the kudu-web, Can only find the size of each tablet, no total size. What should I do?

Thanks

lizhong0815@qq.com

Re: How can I look up the total disk space occupied by the kudu table

Posted by William Berkeley <wd...@cloudera.com>.
Since a Kudu table is distributed across tablet servers, the total size of
the table is the sum of the sizes of its tablets. /metrics has an entry for
each tablet, which will list which table it came from and the on-disk size
of the tablet, so you can roll up all these numbers to compute the total
size of the table. Kudu does not do this for you, but metrics software
should be able to.

Also, keep in mind that the on-disk size metric for tablets doesn't capture
the whole size of the tablet. See KUDU-1755
<https://issues.apache.org/jira/browse/KUDU-1755> and KUDU-2001
<https://issues.apache.org/jira/browse/KUDU-2001>.

-Will

On Tue, May 30, 2017 at 8:09 PM, lizhong0815@qq.com <li...@qq.com>
wrote:

> How can I see the total disk space occupied by the kudu table
>
> I did not find the entry by checking the size of the kudu-web,
> Can only find the size of each tablet, no total size. What should I do?
>
> Thanks
> ------------------------------
> lizhong0815@qq.com
>