
本文介绍在GBase 8a数据库集群扩容或缩容操作时,删除老的数据分布策略refreshnodedatamap drop时报错,Can not drop nodedatamap ,Some table are using it. 的处理方案,将使用中的表手工重分布后可以解决。
目录导航
报错样例

原因
有表还在用指定的ID, 可以通过如下SQL查询到
select * from gbase.table_distribution where data_distribution_id=XXXX
更多信息,请参考
解决方案
参考如上文章的内容,手工进行重分布使用中的表即可。
rebalance table 库名.表名
其中库名和表名,来自于前面查看使用老的Id的SQL命令的DBName和TbName