GBase 8a查看每个节点的编号 nodeid

GBase 8a数据库集群为每个节点都定义了一个唯一编号nodeid,该编号在ipv4网络中,是通过IP直接计算得出的,而在ipv6网络中,是用户在安装或扩容时,通过demo.options配置文件里coordinatorHostNodeID参数人为指定的。GBase提供了show nodes功能,查看每个节点的nodeid。如果数据库环境已经关闭,可以通过集群配置文件找到。

GBase 8a 加载LOAD数据无法入库错误 skipped records,The number of data columns is less than the number of columns defined

GBase 8a 在加载LOAD时,如果发现数据和目标表不匹配,会将错误数据和原因,写入到日志里。 其中The number of data columns is less than the number of columns defined 错误是因为文件列数少于表的指定列数。数据按照分隔符切分的字段数量和表或指定的字段数量不匹配导致。