Hbase 如何获得mapr db表的大小?

Hbase 如何获得mapr db表的大小?,hbase,mapr,Hbase,Mapr,我按照以下步骤创建mapr db表: $ pwd /mapr/cluster1/user/project $ls bin src $ maprcli volume create -name project-tables-vol -path /user/project/tables \ -quota 100G -topology /data/rack1 $ ls bin src tables $ hbase shell HBase Shell; enter 'help

我按照以下步骤创建mapr db表:

$ pwd
/mapr/cluster1/user/project

$ls
bin   src

$ maprcli volume create -name project-tables-vol -path /user/project/tables \
    -quota 100G -topology /data/rack1 

$ ls
bin   src   tables

$ hbase shell
HBase Shell; enter 'help<RETURN>' for list of supported commands.
Type "exit<RETURN>" to leave the HBase Shell
hbase(main):001:0> create '/user/project/tables/datastore', 'colfamily1'
0 row(s) in 0.5180 seconds
hbase(main):002:0> exit

$ ls -l tables
total 1
lrwxr-xr-x 1 mapr mapr 2 Oct 25 15:20 datastore -> mapr::table::2252.32.16498
$pwd
/mapr/cluster1/用户/项目
$ls
垃圾箱
$maprcli卷创建-名称项目表卷-路径/用户/项目/表\
-配额100G-拓扑/数据/机架1
$ls
bin src表
$hbase外壳
HBase外壳;输入“帮助”以获取支持的命令列表。
键入“exit”以离开HBase外壳
hbase(main):001:0>创建“/user/project/tables/datastore”,“colfamily1”
0.5180秒内0行
hbase(主):002:0>退出
$ls-l张桌子
总数1
lrwxr-xr-x 1 mapr mapr 2 Oct 25 15:20数据存储->mapr::table::2252.32.16498
我知道表“datastore”是指向内部maprdb实现的链接。但link总是显示大小512字节,而与该表中的数据量无关


如何获取此表中数据的字节大小?

您应该使用
maprli table info
命令:

maprci table info-path/mapr/my.cluster.com/user/project/tables/datastore-long

您可以在此处找到有关此命令的文档:

谢谢你的帮助。我有一个后续问题。当我运行这个命令时,我得到了多个列。虽然我混淆了“totallogicalsize”和“totalphysicalsize”两列。你们能突出这两者的区别吗?