doris冷热分层存储问题

Viewed 37

image.png
冷备到远程后 RemoteUsedCapacity还是会占用本地的磁盘存储空间
AvailCapacity = TotalCapacity - DataUsedCapacity - RemoteUsedCapacity

1 Answers

这里不是这么算的。

TotalCapacity :当前 BE 总的磁盘空间 = AvailCapacity + TrashUsedCapacity + DataUsedCapacity + 其他非用户数据文件占用空间。

AvailCapacity:当前 BE 可用的磁盘空间。

RemoteUsedCapacity:当前 BE 在使用了冷热分层功能后,上传到远端存储的数据占用空间

你可以找个冷备的分区表,show tablets from tableName partition(pxxx); 看这个分区的tablet 的local datasize。