我正在尝试计算hbase中单个行的大小。我还没有找到一种方法来在线或通过任何hbase实用工具来完成它,我已经使用了 hbase hfile -mbsf 找出一个hfile的平均行大小和其他统计数据,但我对一行的大小很好奇。有人找到办法了吗?
hbase hfile -mbsf
gdrx4gfi1#
Result.getTotalSizeOfCells(Result result) ```long size = Result.getTotalSizeOfCells(Result result)
Result.getTotalSizeOfCells(Result result)
yiytaume2#
对我来说计算单个记录的大小很好http://prafull-blog.blogspot.com/2012/06/how-to-calculate-record-size-of-hbase.html
2条答案
按热度按时间gdrx4gfi1#
Result.getTotalSizeOfCells(Result result)
```long size = Result.getTotalSizeOfCells(Result result)
yiytaume2#
对我来说计算单个记录的大小很好
http://prafull-blog.blogspot.com/2012/06/how-to-calculate-record-size-of-hbase.html